Summary
The DDD topics we covered in this chapter are paramount in our effort to develop hexagonal applications, as it’s through the use of DDD techniques that we’ll be able to shape a decoupled, consistent, and business-oriented domain hexagon that will be the foundation for the application and framework hexagons.
It’s always essential to understand the basics. By looking closer into the main DDD concepts, we found the basic techniques to aid us in developing the domain hexagon. We covered how to make pure and relevant entities and how to assign an identity to them. With value objects, we understood how important they are in conveying meaning and enhancing the descriptiveness of a problem domain. Aggregates showed us how to group related entities and value objects to describe whole operations in our problem domain. Also, we saw how aggregates are instrumental in assuring consistency with transactions.
Following aggregates, we learned that domain services...