ドメイン駆動設計(DDD)は、ソフトウェアをビジネスドメインに密接に合わせるようにモデル化することに焦点を当てたソフトウェア設計アプローチです。ドメインエキスパートとの協力、共有言語、明確に定義されたドメインモデルとドメイン境界を強調します。複雑なビジネスドメインに価値があります。
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
