通过让开发人员自然地分离业务逻辑和表现层,开发和业务逻辑相关的单元测试将会变得更加容易。
By encouraging developers to naturally separate the business and presentation logic, it should be easier to develop unit tests against the business logic.
一个基于SOA的EMR能够轻易地支持很多用户界面窗体,因为核心数据和业务逻辑功能与表现层是松耦合的。
An SOA-based EMR can readily support many forms of user interface because the core data and business logic functions are loosely coupled from the presentation.
然而,只是简单的将二者分离开无法实现有效的功能,还需要加入一个间接层以连接并协调表现层与业务逻辑层。
However, keeping the two isolated does not serve any useful purpose. It also suggests adding a layer of indirection to join and mediate between presentation and business logic layers.
应用推荐