
We earn a commission if you buy through these links. Learn more
Domain-Driven Design
by Eric Evans
Guide by the Books of the Day editors · Updated · How we write our guides
Eric Evans' 2003 book gave software teams a vocabulary for tying code to the real business problem, and its ideas still shape how serious systems are built.
What Creators Say About Domain-Driven Design
2 creators reviewed Domain-Driven Design on YouTube between 2020 and 2023, with 314.8K views between them. Their opinions are their own; we picked these reviews, we didn't write them.
What It's About
Domain-Driven Design is Eric Evans's attempt to name and organize a set of practices he developed while building complex business software. Its core claim is that the hardest part of most projects is not the technology but understanding the business well enough to model it, and that the software should be built around that model rather than around databases or screens. Evans offers a shared vocabulary for this work, including the ubiquitous language that developers and domain experts use together, and a set of building blocks such as entities, value objects, aggregates, and repositories.
The book is long, abstract, and deliberately slow. Much of it concerns knowledge crunching: talking with experts, testing models, and refining terms until the code and the conversation match. Examples lean on transport and logistics, and the code samples are in Java, but the reasoning is meant to transfer to any language. Reading it feels less like learning a framework and more like sitting in on a long argument about how to think about complexity.
The later sections on strategic design, which cover how large systems split into bounded contexts and how those contexts relate, are where many readers find the most lasting value. Expect to reread chapters and to put the book down to test its ideas against a real project.
Read this if you…
- want a rigorous way to talk with business experts about software design
- are building or maintaining a large system whose business rules keep getting tangled
- already write object-oriented code and want to think about it at a higher level
Skip it if you…
- want a quick, practical tutorial with working code for a specific framework
- are working on a small application where the business logic is thin and mostly data entry
Key Ideas
- 1
Ubiquitous language shared by experts and developers
Evans argues for a single set of terms used in conversation, documents, and code. This prevents the slow drift where developers and businesspeople mean different things by the same word. When the language changes in discussion, the code should change with it, so the model stays honest.
- 2
The model should drive the code
The design is meant to be a model that is both a faithful picture of the business and a working part of the software. Evans treats model and implementation as one thing kept in sync, not a diagram drawn once at the start and then forgotten as the code evolves.
- 3
Building blocks for expressing domain logic
Entities defined by identity, value objects defined only by their attributes, aggregates that guard consistency, and repositories and factories that manage access and creation. These patterns are tools for keeping business rules in the domain layer where they are visible and easy to change.
- 4
Bounded contexts and strategic design
Large systems rarely share one coherent model. Evans suggests teams accept that a term can mean different things in different parts of a system, mark those boundaries explicitly, and map how the contexts relate, including protecting one model from another's influence with a translation layer.
- 5
Finding the core domain through distillation
Not every part of a system deserves the same investment. Evans suggests identifying the core domain, the part that gives the business its edge, and concentrating the best design effort there while handling generic supporting areas more cheaply or with off-the-shelf solutions.
Limitations
The book is dated in places. Written before microservices, event sourcing, and modern functional programming became common, it says little about distributed systems or asynchronous messaging, and its Java examples read as verbose today. Many readers find the prose repetitive and the pace slow, and the abstract vocabulary can feel like ceremony without concrete implementation guidance. Later works, including Evans's own reference summary and Vaughn Vernon's more hands-on Implementing Domain-Driven Design, address some of these gaps.
Questions Readers Ask
- Do I need to be a programmer to read it?
- Not strictly, but the book assumes you work on or around software. Much of the material concerns object design and code structure, and the examples are in Java. Product managers, analysts, and other non-developers can still take away the core ideas about shared language and business modeling, though they will likely skim the implementation material.
- How does it compare to Implementing Domain-Driven Design?
- Vaughn Vernon's book is more practical and more current, with extended examples and attention to architectural styles that Evans did not cover. Evans's book is the original source and is better for understanding the reasoning and vocabulary. Many teams read Evans first for principles, then Vernon for applied guidance.
- Published
- 2003
- ISBN
- 9780321125217
- Difficulty
- advanced
- Category
- Tech
Book details and cover from Google Books.
Ready to read Domain-Driven Design?
Get your copy on Amazon, or listen to it on Audible. We earn a commission if you buy through these links.