The Framework Design of the presentation layer is to make a good separation between the presentation layer and the business logic layer.
I. MVC
Currently, the most advanced Web application frameworks are based on the MVC design pattern.
Ii. design the presentation layer using XML to unify the appearance of web from and Windows form
Iii. UIP
UIP provides an extension framework to simplify user interfaces and business logic.CodeThe separation method can be used to write complex user interface navigation and workflow processing, and it can be reused in different scenarios and expanded with the increase of applications.
Function: it is used to coordinate all parts of the user interface, so that it can be used with background activities, as well as status and view management.
Iv. Dynamic generation of design ideas at the presentation layer
XML-based interface management technology allows you to flexibly configure interfaces, dynamically generate interfaces, and customize interfaces.
[Idea: Create a module for the presentation layer, and then save the data as XML. during runtime, read the data information from the database, and then read the surface layer information from XML]