其他分享
首页 > 其他分享> > 2.2 DDD Layers & Clean Architecture DDD分层和简洁架构

2.2 DDD Layers & Clean Architecture DDD分层和简洁架构

作者:互联网

DDD Layers & Clean Architecture DDD分层和简洁架构

There are four fundamental layers of a Domain Driven Based Solution;

一个基于领域驱动的解决方案有四层,如下图所示:

 

Business Logic places into two layers, the Domain layer and the Application Layer, while they contain different kinds of business logic;

业务逻辑分为两层,即领域层和应用层,然而它们包含不同种类的业务逻辑。

The same layering can be shown as the diagram below and known as the Clean Architecture, or sometimes the Onion Architecture:

同样的分层被称为简洁架构,有时被称为洋葱架构,如下图所示:

 

In the Clean Architecture, each layer only depends on the layer directly inside it. The most independent layer is shown in the most inner circle and it is the Domain Layer.

在简洁架构中,每一层仅直接依赖于其内部的层。最独立的一层显示在最内圈,它就是领域层。

标签:Layers,Domain,Layer,layer,Architecture,Clean,DDD
来源: https://www.cnblogs.com/tjubuntu/p/15409899.html