
Domain-Driven Design: The Parts We Skip or Get Wrong
Plenty of developers say “aggregate root” or “bounded context” in design meetings while being a little vague about what they mean. The words from Eric Evans’ Domain-Driven Design (the blue book, published in 2003) spread much further than the ideas behind them.[1] You can have folders named Aggregates, ValueObjects, and Repositories and still have a model that nobody in the business would recognize. The usual cause is adopting the tactical patterns (entities, value objects, repositories) and leaving the strategic design (language, boundaries, and where to spend effort) on the shelf. The tactical patterns look like code, so they’re easy to pick up. The strategic ones require talking to people, and they decide whether the tactical ones are drawn in the right places. I’ll give bounded contexts and aggregates the most attention, using C# and a fictional online retailer. ...