GUIDE · SECTION · PRACTICE AND OPERATIONS
Practice and operations, where it hurts and where it breaks.
This section tests the theory against real projects. Testing covers unit, integration, asynchronous, and architecture tests. Migrating from CRUD describes a gradual transition with the Strangler Fig Pattern. DDD and microservices addresses when a Bounded Context should become its own service and when to stay with a modular monolith. Where it hurts, anti-patterns and when not to use DDD collect the notes that usually come up only in code review.
Tests · migration · services · traps
the reality behind the diagrams · 6 ch.
17
18
19
20
21
22
Testing DDD
Unit · integration · async Messenger · architecture tests
Migrating from CRUD to DDD
Strangler Fig Pattern – a gradual transition
DDD and Microservices
BC as a service boundary · modular monolith · distributed monolith
DDD in Practice – Where It Hurts
20 real problems: Doctrine, ACL, strangler fig…
Anti-Patterns and Common Mistakes
Anemic model, God Aggregate, primitive obsession…
When Not to Use DDD
7 situations where DDD does more harm than good