756 B
756 B
Bundle Deep Dive
Ubiquitous Language
Understand business terms, list them. Propose adaptation if ambiguity.
Domain Core
Identify what carries business meaning. Need key entities. What is domain/ application/infra (logic from legacy code is not DDD)
Mainly in src/.../[Entity, Model, Repository, Controller]/ paths
Invariants / Concistency
Understand what's always be true, list them as rule.
Cross-context Dependencies
Map coupling in contexts of bundles.
DDD Slicing
Define migration-safe target model.
- Aggregates (target)
- Value Objects (first candidates)
- Domain services to extract
- Repository interfaces (domain-facing)
- Domain events (optional first)
Reading Order
Fast onboarding for understanding bundle