Domain-Driven Design (DDD) ialah pendekatan kepada reka bentuk perisian yang memberi tumpuan kepada memodelkan perisian agar sepadan rapat dengan domain perniagaan — menekankan kerjasama dengan pakar domain, bahasa yang dikongsi, dan model domain serta sempadan yang ditakrifkan dengan baik. Ia berharga untuk domain perniagaan yang kompleks.
Idea teras 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
