现代.net项目架构-ABP框架
vs 2017 dbp
- Presentation Layer: Provides an interface to the user. Uses the Application Layer to achieve user interactions.
- Application Layer: Mediates between the Presentation and Domain Layers. Orchestrates business objects to perform specific application tasks.
- Domain Layer: Includes business objects and their rules. This is heart of the application.
- Infrastructure Layer: Provides generic technical capabilities that support higher layers mostly using 3rd-party libraries.
表现层:提供界面给用户,通过应用层与用户交互
应用层:表现层和领域层之间的媒介,将业务对象具体实现为一个个的功能
领域层:包含业务实体以及业务规则.这是整个应用的核心
基础设施层:包含一组提供给上层(表现层~领域层)使用的公用功能以及一些第三方库.