Chapter 10: DDD – The Domain Layer
The previous chapter was an overall view of Domain-Driven Design (DDD), where you learned about the fundamental layers, building blocks, and principles of DDD. You also gained an understanding of the structure of the ABP solution and its relation to DDD.
This chapter completely focuses on the implementation details of the domain layer with a lot of code examples and best practice suggestions. Here are the topics we will cover in this chapter:
- Exploring the example domain
- Designing aggregates and entities
- Implementing domain services
- Implementing repositories
- Building specifications
- Publishing domain events