Egor Urvanov

โดเมนทางธุรกิจ

สถาปัตยกรรมและความน่าเชื่อถือ · domain

โดเมนทางธุรกิจ (business domain) คือส่วนของโลกจริงที่โปรแกรมถูกเขียนขึ้นมารองรับ มีแนวคิดและกฎของตัวเอง เช่น การจองห้องประชุม. ใน DDD โดเมนถูกแบ่งเป็น subdomain และโมเดลของแต่ละส่วนอยู่ในโค้ดภายใน bounded context ของตัวเอง พร้อมภาษากลาง (ubiquitous language) ของตัวเอง.

business domain: meeting roomsbookingaggregate “Booking”paymentaggregate “Invoice”notificationsaggregate “Message”subdomain = its own bounded context and language● model, people, systems, data  ● agent and harness  ● risk, stop, boundaryA business domain splits into subdomains, each with its own bounded context

คำถามที่พบบ่อย

โดเมนทางธุรกิจคืออะไร

ส่วนของโลกจริงที่โปรแกรมถูกเขียนขึ้นมารองรับ มีแนวคิดและกฎของตัวเอง เช่น การจองห้องประชุม.

โดเมนถูกแบ่งอย่างไรใน DDD

แบ่งเป็น subdomain และโมเดลของแต่ละส่วนอยู่ใน bounded context ของตัวเองในโค้ด.

แหล่งที่มา: Martin Fowler: Domain-Driven Design

คำศัพท์ที่เกี่ยวข้อง

อภิธานศัพท์ทั้งหมด

© 2026 Egor Urvanov