Backbone.js - JavaScript MVC
backbone.js from DocumentCloud is a small (2KB, packed) open-source library which allows you to apply the MVC (Model-View-Controller) principle to your JavaScript applications. 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 your existing application over a RESTful JSON interface.
With Backbone, you represent your data as Models, which can be created, validated, destroyed, and saved to the server. Whenever a UI action causes an attribute of a model to change, the model triggers a “change” event; all the Views that display the model’s data are notified of the event, causing them to re-render.
The project is hosted on GitHub, and the annotated source code is available, as well as an online test suite, and example application.
Requirements:-
Demo: http://documentcloud.github.com/backbone/examples/todos/index.html
License: Other License
1 Comment
Martin Drapeau
01.04.2011
We’re using Backbone to develop our next generation UI at http://www.planbox.com. If like us, you are building an application in the browser where performance is crucial, Backbone is the way to go.
There are no trackbacks to display at this time.