Wrap-Up

We’ve reviewed several architectural styles and architecture patterns that can be used with DDD. This is not an exhaustive list because there are just too many possibilities, which emphasizes the versatility of DDD. For example, we haven’t considered how to apply DDD when Map-Reduce is at play. That’s a topic for a future discussion.

• We’ve discussed the traditional Layers Architecture and how it can be improved on by using the Dependency Inversion Principle.

• You’ve learned about the strengths of the possibly timeless Hexagonal Architecture, which provides an overarching style for application architectures.

• We’ve emphasized how DDD should be used in an SOA environment, with REST, and using a Data Fabric or a Grid-Based Distributed ...

Get Implementing Domain-Driven Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.