Web front-end MVC framework

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.