5. What is Backbone
Model View Collection framework
Has dependency on JQuery (>=1.7.0) and underscore
(>=1.5.0)
Annotated Source
http://backbonejs.org/docs/backbone.html
6. Why Backbone
Model and View separation
Simple framework
Maximum flexibility and scalability
Provides simple interface to define and extend Model,
View and Collections
Very high adoption
Active community
8. Backbone Model
- store data
- emmit events on attibute change
- toJSON() give data state of the model
- set('attributeName', attributeValue);
- get('attributeName')
- set({attributeName:attributeValue});