UIP Application BlockTo help you:
LAbstract all navigation and workflows from your user interfaceCode
LIt can be applied to different types of applications.ProgramUsing the same Programming Model
LDelete all status management from the user interface
LContinuously takes snapshots of the status through the process
The above items will be discussed in detail below:
Abstract all navigation and workflow code from your user interface
A workflow of an application is a business process, not a user interface process. All its control should be placed outside the presentation layer. Code abstraction can also help you easily maintain and expand existing applications.
UIP Application BlockAbstract The workflow code from the presentation layer to the Process Layer on the user interface. As the navigation in the workflow, it is not hard-coded.UIElement. If the process or your application changes, you only need to rewrite the process, notUIElement.
Use a programming model
You can createWinformApplication, and then createWebApplication. You may have developedWebApplication, but soon it will becomeWindowsApplication. If you use the same programming model for different types of applications, you can easily switch between them.
UseUIP Application BlockYou can make sure that all the navigation and workflow Code are inUI. This allows you to add a newViewAnd reuse existing applications.
Delete all status management from the user interface
In many applications, the status is stored inUILayer. This indicates that complex code is required to store, access, and operate the status. In addition, the status depends onUIDifferent types of applications have different transmission modes.
UIP Application BlockSlaveUIAbstract The State and store it in a general State object. You can useBlockClass. That is to say, any useViewAll can be usedUIPStatus, regardless of where it is stored or how it is accessed. IfViewThe status management code is not affected when the type is changed.
Continuously takes snapshots of the status through the process
In many applications, it is very difficult to store the status of a job at any time. Most applications use transactions to encapsulate jobs or subjobs, but only allow a complete transaction or success or failure. This means that if a system is suddenly closed or the user leaves the website, it is very difficult to return to the time when it leaves.
UIP Application BlockContains the status persistence mechanism, allowing code persistenceUIPStatus. This allows your applications to be maintained within the specified time.UIPStatus. Besides storing it in memory, it can also be stored in the database.