|
It adds models, views, controllers, events, history and collections to JavaScript's capabilities.
Packed, comes at under 2KB.
Backbone supplies structure to JavaScript-heavy applications by providing models key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to existing applications over a RESTful JSON interface.
Requirements:
· JavaScript enabled on client side
What's New in This Release: [ read full changelog ]
· When using add on a collection, passing {merge: true} will now cause duplicate models to have their attributes merged in to the existing models, instead of being ignored.
· Added update (which also available as an option to fetch) for "smart" updating of sets of models.
· HTTP PATCH support in save by passing {patch: true}.
· The Backbone object now extends Events so that you can use it as a global event bus, if you like.
· Added a "request" event to Backbone.sync, which triggers whenever a request begins to be made to the server. The natural complement to the "sync" event.
· Router URLs now support optional parts via parentheses, without having to use a regex.
· Backbone events now supports once, similar to Node's once, or jQuery's one.
Via: Backbone.js 0.9.9
0 Comment:
Post a Comment