让服务接口和服务实现彼此分开,明确你的实现选择,尤其是实例化的模式。
Keep service interface and service implementation apart from each other and be very explicit about your implementation choices, especially the instancing model.
当应用程序的 UI 逻辑和业务逻辑拆分开时,SOA 支持通常可以在业务逻辑的消息接口上应用,而完全忽略 UI 代码。
Where an application is split between UI logic and business logic, SOA enablement can often be applied at the business logic’s message interface, bypassing the UI code entirely.
当然,将组件和接口的定义(本质上是类型的定义)与系统的定义(连接的实例)分开,是一个很好的想法,因次,我们如下定义了一个系统。
Of course it is a good idea to keep component and interface definition (essentially: type definitions) separate from system definitions (connected instances), so here we define a system.
应用推荐