Exposing the not-so-secret practices of the cult of DDD
summary
Practical DDD tactics that can be applied today: using value objects as C# records with immutability, value equality and constructor validation to collapse multiple fields into one safer API (example: PersonalDetails and Color records), hiding DB integers in private fields because Entity Framework private field mapping supports it, mapping external models behind an anti‑corruption layer to avoid leaking remote schemas, using aggregate roots as consistency boundaries and the outbox pattern to guarantee events are published reliably — these changes simplify code and reduce bugs in real projects.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 1:04DDD books and disclaimer
- 2:13DDD for consultants
- 3:44Ubiquitous language
- 5:45Modeling the domain
- 8:03Technical and strategic patterns
- 9:56Purpose of software
- 12:46Encapsulating logic
- 17:05Value objects in C#
- 21:25Value objects with functionality
- 25:58Using value objects for safety
- 27:40Intention-revealing interfaces
- 31:19Entities and identity
- 36:01Architecture models
- 38:40Ports and adapters
- 43:29Domain decomposition
- 47:00Bounded contexts
- 50:55Communication and mapping
- 53:11Anti-corruption layers
- 54:52Consistency and events
- 58:15The outbox pattern
- 1:00:28CQRS and conclusion
related talks
01h 03mExposing the not-so-secret practices of the cult of DDD
01h 03mExposing the not-so-secret practices of the cult of DDD
01h 05mGetting to DDD: Pragmatic or Principled?
38mIntroDDDuction
54mImplementing Domain Driven Design
45mLearning to Love DDD - a Tale of Two Products
01h 06mTDD & DDD from the Ground Up (Live Coding)
01h 01mDomain-Driven Refactoring
