Skip Navigation

User banner
Domain-Driven Design

Members
0
Posts
24
Created
3 yr. ago

"Domain-Driven Design is an approach to software development that centers the development on programming a domain model that has a rich understanding of the processes and rules of a domain. The name comes from a 2003 book by Eric Evans that describes the approach through a catalog of patterns. Since then a community of practitioners have further developed the ideas, spawning various other books and training courses. The approach is particularly suited to complex domains, where a lot of often-messy logic needs to be organized." -- Martin Fowler (link)

Rules

  1. Follow programming.dev rules
  2. Be excellent to each other, no hostility towards users for any reason
  3. No spam of tools/companies/advertisements. It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.

🌉 bridged from !ddd@programming.dev by Tidepool

Eliminate the Complexities of Event driven Architecture!

youtube.com

The distributed nature of modern applications and their architectures brings a great level of complexity to engineering teams. Though API contracts, asynchronous communication patterns, and event-driven architecture offer assistance, not all enterprise teams fully utilise them. While adopting cloud and modern technologies, teams are often hurried to produce outcomes without spending time in upfront thinking. This leads to building tangled applications and distributed monoliths. For those organisations, it is hard to recover from such costly mistakes. In this talk, Sheen will explain how enterprises should decompose by starting at the organisational level, applying Domain-Driven Design, and distilling to a level where teams can operate within a boundary, ownership, and autonomy. He will provide organisational, team, and design patterns and practices to make the best use of event-driven architecture by understanding the types of events, event structure, and design choices to keep the domain model pure by guarding against corruption and complexity.

www.youtube.com

Domain-Driven Design: Tackling Complexity in the Heart of Software by Eric Evans

cross-posted from: https://programming.dev/post/719255

Back Cover Text 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.

Domain-Driven Design resources

This list is WIP.

Articles

These are short articles describing what DDD is. They are generally good points to start with and are easy to refer to when one needs a quick recap. • What is Domain-Driven Design (DDD) by Mathias Verraes • Domain Driven Design by Martin Fowler

Videos

• What is DDD by Eric Evans (DDD Europe 2019) Evans explains some of the most important concepts related to DDD while taking a critical look at how we traditionally think about models. Suggests asking "hich model would be more useful to solve this problem" instead of relying on our understanding of objects "in real world". He also emphasizes the importance of communication with domain experts an use of ubiquitous language.

Books

• Domain-Driven Design: Tackling Complexity in the Heart of Software a.k.a. "The Blue Book" (Eric Evans, 2003) • Implementing Domain-Driven Design (Vaughn Vernon, 2013) • Domain-Driven Design Reference (Eric Evans) [PDF]

Conferences

Most DDD conferences publish the talks on their YouTube channels after a few months. These are good places to learn about new topics and follow the community at large. • KanDDDinsky: https://www.youtube.com/@KanDDDinsky • DDD Europe: https://www.youtube.com/@ddd_eu • Explore DDD: https://www.youtube.com/exploreddd • Virtual DDD: https://virtualddd.com

Online courses

Pluralsight (requires subscription)

• Domain-Driven Design in Practice by Vladimir Khorikov • Domain-Driven Design Fundamentals by Steve Smith and Julie Lerman

Curated lists

• Awesome DDD: A curated list of Domain-Driven Design (DDD), Command Query Responsibility Segregation (CQRS), Event Sourcing, and Event Storming resources.

What is DDD - Eric Evans (DDD Europe 2019)

youtube.com

In this conference talk, Evans explains some of the most important concepts related to Domain-Driven Design while taking a critical look at how we traditionally think about models. Suggests asking “which model would be more useful to solve this problem” instead of relying on our understanding of objects “in real world”. He also emphasizes the importance of communication with domain experts an use of ubiquitous language.

www.youtube.com

Discussion: worst experience with domain-driven design?

Anyone preaches the virtues and advantages of domain-driven design, its positive impact on maintainability and adding features, and how it improves developer experience. However, as all things in life, all roses have their thorns.

Has anyone had any negative experience caused directly or indirectly by domain-driven design? This might be a botched migration, problems during the requirements gathering stage, domain models ending up being too rigid/too permissive for an application, etc.

PDF

Domain-Driven Design Reference by Eric Evans

This reference gives a quick and authoritative summary of the key concepts of DDD. It is not meant as a learning introduction to the subject. Eric Evans' original book and a handful of others explain DDD in depth from different perspectives. On the other hand, we often need to scan a topic quickly or get the gist of a particular pattern. That is the purpose of this reference. It is complementary to the more discursive books.

domainlanguage.com