Summary
The DDD topics we covered in this chapter are paramount in our effort to develop hexagonal applications because 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 from our problem domain. Also, we saw how aggregates are instrumental in assuring consistency with transactions.
Followed by aggregates, we learned that domain services...