摘要:Web Application Development Tutorial Web应用程序开发教程 About This Tutorial 关于本教程 In this tutorial series, you will build an ABP based web application named
阅读全文
摘要:Reference Books 引用书籍 If you are more interested in the Domain Driven Design and building large-scale enterprise systems, the following books are recom
阅读全文
摘要:Examples 示例 This section contains some Application Service and Domain Service examples to discuss how to decide to place business logic inside these s
阅读全文
摘要:Multiple Application Layers 多种应用层 DDD helps to deal with complexity when your system is large. Especially, if there are multiple applications are bein
阅读全文
摘要:Domain Logic & Application Logic 领域逻辑&应用逻辑 As mentioned before, Business Logic in the Domain Driven Design is split into two parts (layers): Domain Lo
阅读全文
摘要:Updating / Manipulating An Entity 更新/使用实体 Once an entity is created, it is updated/manipulated by the use cases until it is deleted from the system. T
阅读全文
摘要:Example Use Cases 用例案例 This section will demonstrate some example use cases and discuss alternative scenarios. 本节将展示一些用例案例,并讨论替代方案。 Entity Creation 创建
阅读全文
摘要:Data transfer Objects 数据传输对象 A DTO is a simple object that is used to transfer state (data) between the Application and Presentation Layers. So,Applic
阅读全文
摘要:Application Services 应用服务 An Application Service is a stateless service that implements use cases of the application. An application service typically
阅读全文
摘要:Domain Services 领域服务 Domain Services implement domain logic which; 领域服务实现了领域逻辑,其中: Depends on services and repositories. 取决于服务和存储库。 Needs to work with
阅读全文
摘要:Specifications 基本原则 A specification is a named, reusable, combinable and testable class to filter the Domain Objects based on the business rules. 一个规范
阅读全文
摘要:Repositories 存储层 A Repository is a collection-like interface that is used by the Domain and Application Layers to access to the data persistence syste
阅读全文
摘要:Aggregates 聚合体 As said before, an Aggregate is a cluster of objects (entities and value objects) bound together by an Aggregate Root object. This sect
阅读全文
摘要:4.1 The Example Domain 领域示例代码 The examples will use some concepts those are used by GitHub, like Issue, Repository, Label and User, you are already fa
阅读全文
摘要:四、Implementation: The Building Blocks 实现:构件 This is the essential part of this guide. We will introduce and explain some explicit rules with examples.
阅读全文
摘要:3.4 Common Principles 常用原则 Before going into details, let's see some overall DDD principles; 在讨论细节之前,让我们看看DDD的一些总体原则。 3.4.1 Database Provider / ORM In
阅读全文
摘要:3.3 Execution Flow of a DDD Based Application 基于DDD的应用程序执行流程 The figure below shows a typical request flow for a web application that has been develop
阅读全文
摘要:3.2 Dependencies of the Projects in the Solution 解决方案中项目间的依赖项 The diagram below shows the essential dependencies (project references) between the proj
阅读全文
摘要:##三、Implementation: The Big Picture 实现:蓝图 ###3.1 Layering of a .NET Solution .Net解决方案的分层 The picture below shows a Visual Studio Solution created usin
阅读全文
摘要:Core Building Blocks 核心构件 DDD mostly focuses on the Domain & Application Layers and ignores the Presentation and Infrastructure. They are seen as deta
阅读全文