In Flexberry Platform implementing a user interface, and integration of parts of the interface and business logic to a running system is based on two concepts:
- The allocation does not depend on» «physical nature of the user interface.
Provide a custom interface, you have to remember that it consists of two parts-depending on the type of input/output user interface, the so-called UI
-dependent, e.g., common table on the basis of WinForms
or client-server interface the browser — Web-based server ASP.NET
.
In this concept it is important to understand the logic implemented in UI
-independent parts should not use a specific UI
-dependent user interface. Thus, it should ensure the functioning of the custom logic under various types of user interfaces.
- Flexible integration of parts of the interface (and business logic) by means of scenarios.
The point of this is not to prescribe the forms of interaction, and calls business services» «hard-code in the same forms, and have separately described the scenario of interaction, interpretiruya when the system is running (for details, see p. Writer «Axioms»).