Exposing the not-so-secret practices of the cult of DDD
summary
Explains practical DDD techniques with concrete C# examples: uses C# records for immutable value objects that self‑validate and simplify APIs, shows a Swedish personal‑number value object, and uses typed IDs to prevent parameter mixups. Demonstrates that Entity Framework supports value objects and Entity Framework shadow properties to hide DB keys, treats aggregate roots as transaction boundaries, recommends a anti‑corruption layer to translate between models, and advocates the outbox pattern for reliable events plus domain events and optional CQRS for clear read/write separation.
AI-written summary · about
chapters (12)
- 0:00Introduction to DDD
- 4:33Ubiquitous language
- 9:22Tactical DDD patterns
- 14:11Domain modeling with OOP
- 19:17Implementing value objects
- 24:01Repository patterns
- 31:02Entities and database mapping
- 37:00Architectural patterns
- 43:04Strategic design
- 49:25Anti-corruption layers
- 52:53Domain events and consistency
- 1:00:19CQRS 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?
54mImplementing Domain Driven Design
38mIntroDDDuction
01h 06mTDD & DDD from the Ground Up (Live Coding)
45mLearning to Love DDD - a Tale of Two Products
01h 01mDomain-Driven Refactoring
