应用层和业务逻辑层有什么区别? [英] What's the difference between application layer and business logic layer?
问题描述
应用层和业务逻辑层有什么区别?我有点理解业务层提供特定于业务的服务,应用层耦合业务服务并向最终用户提供服务(Web 服务、UI 等).我说得对吗?
What's the difference between application layer and business logic layer? I kind of understand that business layer provides business specific services and application layer couples business services and provides services to the end user (Web Service, UI, etc). Am I right?
推荐答案
这听起来很正确.
业务层以技术边界中立的方式实现领域模型.换句话说,它不依赖于任何特定的 UI 或服务接口相关技术,例如 Web 库或窗口 API.您应该能够从任何类型的应用程序(网络、富客户端、网络服务等)使用业务层.
The business layer implements the Domain Model in a boundary-technology-neutral way. In other words, it doesn't depend on any particular UI or service interface-related technology, such as web libraries or windowing APIs. You should be able to consume the business layer from any type of application - web, rich client, web service, etc.
应用层弥补了业务层和边界技术之间的差距.
The application layer bridges the gap between the business layer and the boundary technology.
这篇关于应用层和业务逻辑层有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!