Domain-Driven Design (DDD) è un approccio alla progettazione del software che si concentra sulla modellazione del software per corrispondere strettamente al business domain — enfatizzando la collaborazione con esperti di dominio, un linguaggio condiviso e modelli e confini di dominio ben definiti. È prezioso per domini aziendali complessi.
Idee fondamentali del DDD
DDD centers the design on the BUSINESS DOMAIN (the real-world problem):
✓ UBIQUITOUS LANGUAGE → a shared, precise vocabulary between developers and domain
EXPERTS, used consistently in code AND conversation (reduces miscommunication)
✓ MODEL the domain → rich domain models reflecting real business concepts/rules (not
just data structures) — the model captures the business logic
✓ collaborate with domain EXPERTS → deeply understand the domain to model it well
