2701
GB
What is 'domain-driven design' (DDD) and what does a 'bounded context' specifically prevent?
IN
'डोमेन-संचालित डिज़ाइन' (डीडीडी) क्या है और 'सीमाबद्ध संदर्भ' विशेष रूप से क्या रोकता है?
A
Bounded context limits the number of developers who can work on a project simultaneously
बंधा हुआ संदर्भ उन डेवलपर्स की संख्या को सीमित करता है जो किसी प्रोजेक्ट पर एक साथ काम कर सकते हैं
B
DDD models software around business domains and their terminology; a bounded context defines the scope within which a domain model and its terminology (ubiquitous language) are consistent — it prevents the 'model conflation' problem where the same term (e.g., 'Customer') means different things in different parts of the system, causing confusion and design errors
डीडीडी व्यावसायिक डोमेन और उनकी शब्दावली के आसपास सॉफ्टवेयर मॉडल करता है; एक सीमित संदर्भ उस दायरे को परिभाषित करता है जिसके भीतर एक डोमेन मॉडल और उसकी शब्दावली (सर्वव्यापी भाषा) सुसंगत होती है - यह 'मॉडल कन्फ़्लेशन' समस्या को रोकता है जहां एक ही शब्द (उदाहरण के लिए, 'ग्राहक') का अर्थ सिस्टम के विभिन्न हिस्सों में अलग-अलग चीजें हैं, जिससे भ्रम और डिजाइन त्रुटियां होती हैं।
C
Bounded context requires all microservices to share the exact same data model
बंधे हुए संदर्भ के लिए सभी माइक्रोसर्विसेज को बिल्कुल समान डेटा मॉडल साझा करने की आवश्यकता होती है
D
DDD is only applicable to financial software systems, not other domains
डीडीडी केवल वित्तीय सॉफ्टवेयर सिस्टम पर लागू है, अन्य डोमेन पर नहीं
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
In a retail system, 'Customer' in the Sales context means someone with purchase history and loyalty points; 'Customer' in the Support context means someone with ticket history and SLA tier; 'Customer' in Billing means someone with payment methods and invoices. Trying to build one unified 'Customer' class for all three creates an unwieldy God object. Bounded contexts allow each subsystem its own 'Customer' model, integrated through translation at context boundaries rather than forcing artificial unification.
व्याख्या (हिन्दी)
खुदरा प्रणाली में, बिक्री के संदर्भ में 'ग्राहक' का मतलब खरीद इतिहास और वफादारी अंक वाला कोई व्यक्ति है; समर्थन संदर्भ में 'ग्राहक' का अर्थ टिकट इतिहास और एसएलए स्तर वाला कोई व्यक्ति है; बिलिंग में 'ग्राहक' का अर्थ भुगतान विधियों और चालान वाला कोई व्यक्ति है। तीनों के लिए एक एकीकृत 'ग्राहक' वर्ग बनाने का प्रयास एक बोझिल ईश्वर वस्तु बनाता है। बंधे हुए संदर्भ प्रत्येक उपप्रणाली को अपने स्वयं के 'ग्राहक' मॉडल की अनुमति देते हैं, जो कृत्रिम एकीकरण को मजबूर करने के बजाय संदर्भ सीमाओं पर अनुवाद के माध्यम से एकीकृत होता है।