The eeplat PAAs platform uses hmvc to organize user interfaces. The user interface can be divided into multiple parts, and each part can be divided into multiple sub-parts. You can continue to divide them ...... the eeplat PAAs platform abstracts these parts of the interface to form a metadata model, these are panel meta-models, table meta-models, table element meta-models, menu meta-models, tree meta-models, and external resource definitions. A panel is a UI container that can contain panels, tables, menus, trees, and resources. As the Panel can be nested, it can form a complex interface layout. When the UI model is displayed, You need to define the controller. The controller is the core concept of the UI part of the eeplat PAAs platform. The eeplat PAAs provides the Controller registry and provides common controllers by default, you can also provide custom controllers. Custom controllers and default controllers are equivalent to replaceable. The interface display on the eeplat PAAs platform is controlled and output by various controllers. In the traditional MVC mode, an interface corresponds to a controller, and the interface and controller are coarse-grained. This is also the root cause why the traditional MVC mode cannot be more detailed and deeper in terms of multiplexing. Because the hmvc model is used in this project, the interface layer can be flexibly reused from coarse granularity to fine granularity, that is to say, the large Interface Area and the most fine-grained interface elements can all be well reused. For example, a query page contains the following models and controllers: 1. query the total Panel (corresponding to the scrolling panel controller) and query condition panel model (corresponding to the panel controller ), query Result panel model (corresponding to the panel controller); 2. query condition table model (corresponding to the query condition controller) and query result table model (corresponding to the query result Controller); 3, multiple table element models (many table element controllers, such as the input box, drop-down box, date selection, and date display ). By default, the eeplat PAAs platform provides more than 100 controllers and supports custom extensions. It allows you to personalize the interface by creating new controllers through a template (freemarker) online.
For example:
|
|