Mvc:
Model layers, view layers (views), control layer (Controller)
Model
: The data model, which is used to package data related to the business logic of the application or to process the data, and the models can access the data directly.
View: Views are used for purposeful display of data, there is generally no procedural logic in the view, and in order to implement the latest functionality on the view, the view needs to access the data model it monitors.
Controller: Controllers regulate the connection between the model and the view, which controls the process of the application, processes the events, and responds, not only to the user's behavior but also to changes in the data model. By capturing user events, the model layer is notified of the corresponding update processing, and the updates and changes to the model layer are notified to the view, making the views change accordingly. So the controller guarantees the consistency of the view and the model.
The representative framework is: AngularJS, Backbonejs (currently using more of its view layer ~), ember.js, Javascript MVC, knockout.js, etc.
Backbone. JS can flexibly solve the problem of hierarchy separation in application, and support persistent layer and rest synchronization service, models, views, event-driven, template and location, etc. It allows the View to update automatically after the model has been modified. And many large companies use it to build applications and have very good community support.
(Backbone. JS related ~)
Angular JS is a JS framework created by Google that expands the HTML vocabulary in your application to use HTML to declare dynamic content in a WEB application. MVC that supports rapid testing, URL management, and separation.
Web front-end MVC framework