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.