流行的 Presentation Model (请参阅 参考资料) 提倡将应用程序的状态与业务逻辑分开放入模型层中,而模型层是从视图的 GUI 控件中分离出来的。
The popular Presentation Model (see Resources) advocates separating out the state and business logic of an application into a model layer that is separate from the GUI controls in the view.
此外,展示层可以透过服务(例如,服务)与中介层内的资料存取逻辑进行通讯。
Additionally, the presentation layer might communicate with the data access logic in the middle tier through a service such as a service.
这么做可以对资料存取和资料实体层进行逻辑划分。
This enables logical separation of the data access and data entity tiers.
应用推荐