MVP (SC), MVP (PV), PM,MVVM and MVC performance mode architecture comparison

Source: Internet
Author: User
Tags comparison

In an article on CodeProject, several common modes of expression (presentation patterns) are described and compared. The original address is http://www.codeproject.com/KB/aspnet/ArchitectureComparison.aspx

Presentation mode (presentation patterns) background

The biggest problem associated with the user interface (UI) is a large number of messy code, mainly caused by these two factors, first of all, the user interface contains responsible logic for maintaining interface-related objects, followed by the maintenance of application state. Performance mode (presentation patterns) is around how to remove the complexity of the user interface, so that the interface more concise and manageable, the following figure is the type and classification of common performance patterns:

3 major problems with the user interface: state, Logic (Logic), Sync (synchronization)

State: Status is one of the most concerned issues with the user interface. The state is the current snapshot of the user interface data, and in a Web application, may be a variable at the session level, which in Windows applications may be just the interface-level data. The more states the user interface contains, the more complex the user interface.

Logic (Logic): The user interface often contains interface logic, such as maintaining text boxes, combo boxes, or any other interface elements, the more the user interface, the more complex the user interface.

Sync (Synchronization): The user interface typically needs to collaborate with business components, so the user interface needs to synchronize data between interface elements and business objects, and the more complex the user interface is, if there are more synchronization tasks involved.

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.