Domain-Driven Design (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
What is the difference between Strategic DDD and Tactical DDD?
junior LevelCode Exampledomain-driven-designBasic
In Simple Words:
- Strategic DDD (The Big Picture - High-Level Architecture): Focuses on decomposing a large complex enterprise into clear subsystems:
- Ubiquitous Language, Bounded Contexts, Subdomains (Core, Supporting, Generic), and Context Maps.
- Determines microservice boundaries and team ownership.
- Tactical DDD (The Implementation Details - Code-Level Modeling): Focuses on how to structure object-oriented code inside a single Bounded Context:
- Entities, Value Objects, Aggregates, Aggregate Roots, Domain Events, and Repositories.
text
Strategic vs Tactical DDD:
┌────────────────────────────────────────────────────────┐
│ STRATEGIC DDD: Architecture & Organization Boundaries │
│ • Bounded Contexts • Subdomains • Context Mapping │
└──────────────────────────┬─────────────────────────────┘
│ Contains
┌──────────────────────────▼─────────────────────────────┐
│ TACTICAL DDD: Building Blocks Inside One Bounded Context│
│ • Entities • Value Objects • Aggregates • Domain Events │
└────────────────────────────────────────────────────────┘