After a busy period of time, and have free time to learn new things, since the last study of backbone, has been not allowed to get started, today there is time to warm so once, with a little progress in this record,
Before beginning, I had to mention that my friend gave me the "watercress musician" app, so I have a great understanding of the single page citation, thank him here.
This chapter mainly talk about the MVC in backbone, first from the big direction to backbone,
1, it is a heavyweight front-end development framework;
2, its basic idea comes from the MVC, therefore, it can let us like writes the Java code the same organization JS code;
3, its main use is single-page applications, such as the Watercress's Alpha City (http://alphatown.com/)
Backbone itself relies heavily on jquery or Zepto, with a slight reliance on underscore.
In the MVC in the M (model) We refer to the data layer, this layer is mainly on the operation of data, including initialization data, additions and deletions, etc., backbone provides us with a lot of API, for our reference
Backbone of the temperature of the new 1-MVC