"Eric Evans has written a fantastic book on how you can make the design of your software match your mental model of the problem domain you are addressing. "His book is very compatible with XP. It is not about drawing pictures of a domain; it is about how you think of it, the language you use to talk about it, and how you organize your software to reflect your improving understanding of it. Eric thinks that learning about your problem domain is as likely to happen at the end of your project as at the beginning, and so refactoring is a big part of his technique. "The book is a fun read. Eric has lots of interesting stories, and he has a way with words. I see this book as essential reading for software developers--it is a future classic." --Ralph Johnson, author of Design Patterns "If you don't think you …
"Eric Evans has written a fantastic book on how you can make the design of your software match your mental model of the problem domain you are addressing. "His book is very compatible with XP. It is not about drawing pictures of a domain; it is about how you think of it, the language you use to talk about it, and how you organize your software to reflect your improving understanding of it. Eric thinks that learning about your problem domain is as likely to happen at the end of your project as at the beginning, and so refactoring is a big part of his technique. "The book is a fun read. Eric has lots of interesting stories, and he has a way with words. I see this book as essential reading for software developers--it is a future classic." --Ralph Johnson, author of Design Patterns "If you don't think you are getting value from your investment in object-oriented programming, this book will tell you what you've forgotten to do. "Eric Evans convincingly argues for the importance of domain modeling as the central focus of development and provides a solid framework and set of techniques for accomplishing it. This is timeless wisdom, and will hold up long after the methodologies du jour have gone out of fashion." --Dave Collins, author of Designing Object-Oriented User Interfaces "Eric weaves real-world experience modeling--and building--business applications into a practical, useful book. Written from the perspective of a trusted practitioner, Eric's descriptions of ubiquitous language, the benefits of sharing models with users, object life-cycle management, logical and physical application structuring, and the process and results of deep refactoring are major contributions to our field." --Luke Hohmann, author of Beyond Software Architecture "This book belongs on the shelf of every thoughtful software developer." --Kent Beck "What Eric has managed to capture is a part of the design process that experienced object designers have always used, but that we have been singularly unsuccessful as a group in conveying to the rest of the industry. We've given away bits and pieces of this knowledge...but we've never organized and systematized the principles of building domain logic. This book is important." --Kyle Brown, author of Enterprise Java(TM) Programming with IBM(R) WebSphere(R) The software development community widely acknowledges that domain modeling is central to software design. Through domain models, software developers are able to express rich functionality and translate it into a software implementation that truly serves the needs of its users. But despite its obvious importance, there are few practical resources that explain how to incorporate effective domain modeling into the software development process. Domain-Driven Design fills that need. This is not a book about specific technologies. It offers readers a systematic approach to domain-driven design, presenting an extensive set of design best practices, experience-based techniques, and fundamental principles that facilitate the development of software projects facing complex domains. Intertwining design and development practice, this book incorporates numerous examples based on actual projects to illustrate the application of domain-driven design to real-world software development. Readers learn how to use a domain model to make a complex development effort more focused and dynamic. A core of best practices and standard patterns provides a common language for the development team. A shift in emphasis--refactoring not just the code but the model underlying the code--in combination with the frequent iterations of Agile development leads to deeper insight into domains and enhanced communication between domain expert and programmer. Domain-Driven Design then builds on this foundation, and addresses modeling and design for complex systems and larger organizations.Specific topics covered include:
Getting all team members to speak the same language Connecting model and implementation more deeply Sharpening key distinctions in a model Managing the lifecycle of a domain object Writing domain code that is safe to combine in elaborate ways Making complex code obvious and predictable Formulating a domain vision statement Distilling the core of a complex domain Digging out implicit concepts needed in the model Applying analysis patterns Relating design patterns to the model Maintaining model integrity in a large system Dealing with coexisting models on the same project Organizing systems with large-scale structures Recognizing and responding to modeling breakthroughs With this book in hand, object-oriented developers, system analysts, and designers will have the guidance they need to organize and focus their work, create rich and useful domain models, and leverage those models into quality, long-lasting software implementations.
The main reason I love this book is because it is so exceptionally well written. It makes you want to believe that rigorously focusing on the "domain" and its "ubiquitous language" will solve all your problems.
The book is divided into four parts.
Part I introduces the overall concepts of Domain-Driven Design, including the development of the "ubiquitous language"
Part II focuses on model design within an isolated ("bounded") context. It distinguishes entities, value objects, services, and modules, as well as aggregates, factories, and repositories to manage domain objects.
Part III emphasizes the incremental process of discovering the proper domain model, through a series of refactorings
Part IV steps out of the bounded context, and considers the case where interaction needs to take place between multiple of such bounded contexts, calling for, e.g., anti-corruption layers or common kernels.
The book is from 2003, and at places somewhat dated. But it …
The main reason I love this book is because it is so exceptionally well written. It makes you want to believe that rigorously focusing on the "domain" and its "ubiquitous language" will solve all your problems.
The book is divided into four parts.
Part I introduces the overall concepts of Domain-Driven Design, including the development of the "ubiquitous language"
Part II focuses on model design within an isolated ("bounded") context. It distinguishes entities, value objects, services, and modules, as well as aggregates, factories, and repositories to manage domain objects.
Part III emphasizes the incremental process of discovering the proper domain model, through a series of refactorings
Part IV steps out of the bounded context, and considers the case where interaction needs to take place between multiple of such bounded contexts, calling for, e.g., anti-corruption layers or common kernels.
The book is from 2003, and at places somewhat dated. But it has had such a tremendous influence, and it is so well written, that anyone seriously interested in software design must study this book.
The book presents a very interesting approach to modeling complex domains, especially with established terms.
The code should look as a sentence said by a domain expert. That’s the core idea. The rest is a lengthy guide to listening to domain experts and mapping their sayings to the code.
Pros: Brilliant idea, totally worth knowing I could finally understand most of the content on Fowler’s blog
Cons: It’s very hard to follow the author. If I haven’t seen DDD in practice, the book wouldn’t make sense to me at all. It has no warnings about the wrong application of this approach. See Anemic Domain Model as an example.