General concepts of MVC,MVP and MVVM.

Source: Internet
Author: User

MVC is View (V), Controller (C), model (M). Work Flow:

1,view transfer instructions to Controller,

2,controller after the business logic is completed, the Model change is required

Variable state

3,model sends the new data to the View, the user gets the anti-

Fed

Backbone is an excellent framework for front-end MVC patterns

The MVP is to change the controller in MVC to presenter (moderator's meaning) according to its meaning, P's main function is as a communication intermediary of V and M.

The MVVM pattern renamed Presenter to ViewModel, which is basically exactly the same as the MVP model. Both Angular and Ember use this pattern.

General concepts of MVC,MVP and MVVM.

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.