Structuring Large Projects with Strategic DDD
summary
Proposes reorganizing large codebases with a three‑level strategic DDD hierarchy (system → bounded context → subdomain) that enforces a strict top‑to‑bottom dependency direction to cut navigation cognitive load; claims this tame complexity seen when projects grow to 40–90 modules. Demonstrates the layout in IntelliJ, visualizes dependencies with Structure101, shows how Clockwork implements it, and suggests ArcUnit tests to enforce rules; reports the pattern is practical and reduces day‑to‑day lookup time while remaining optional.
AI-written summary · about
chapters (20)
- 0:00Introduction to strategic DDD
- 1:05Problem with flat project structure
- 3:58Why flat structures fail
- 5:23Strategic DDD pillars explained
- 10:01Strategic structure overview
- 11:48System and module hierarchy
- 13:36Bounded context level details
- 14:16Subdomain level breakdown
- 16:24Domain model constraints
- 18:31System level libraries
- 20:19Naming and dependency alignment
- 21:24Demo visualizing dependencies
- 27:51Demo navigating in IDE
- 32:07Demo alternative perspectives
- 36:20Feature request for IDEs
- 37:24Simplifying the structure
- 38:52Enforcing rules with tests
- 39:56Clockwork project showcase
- 41:41When to use strategic structure
- 42:44Benefits and closing
