The Glamour and Misery of the Domain
summary
Examines domain model design for complex enterprise applications, contrasting the rich (data+behavior in domain objects) and anemic (data-only domain objects with behaviors in services) patterns as described by Fowler and Evans. Compares pros and cons of each approach, discusses why anemic models are common in real codebases, and explores practical implementation details for domain models in both object-oriented and functional styles.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:57What is domain model
- 10:01Invariants and validation
- 18:52Aggregates and issues
- 29:03Large aggregates problems
- 35:50Rich model use cases
- 47:34Model selection
- 51:10Q&A
related talks
48mDomain Pattern – How the Domain Influences the Architecture
48mObject modeling: Theory vs Practice. Round 1
55mBack to the Basics. Modeling Our Domain
55mDomain-Driven Design: back to the roots
17mFunctional Domain Modeling with Gleam
59mDomain-Driven Design - Where Rubber Meets the Road
43mArchitecture antipatterns and how to beat them 1/2
38mWhat I talk about when I talk about Domain Driven design
