انتقل إلى المحتوى
أمين أبوزيد
درس مخطط لهMID-060-L02

اللغة الموحّدة (Ubiquitous Language)

  • الدرس 2 من 7
  • Mid-level
في هذا الدرس 4 موضوعات

هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.

نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.

في هذا الدرس

use one shared vocabulary in talk and code.

الموضوعات المخطط لها

  • The ubiquitous language is the vocabulary agreed with domain experts, used in meetings, docs, and class names.
  • If the expert says "place an order" and the code says createRecord, translation errors follow.
  • Build it with glossary sessions and by asking "what do you call this?".
  • The same word can mean different things in different contexts (see MID-025).
  • When the language changes, refactor the code names.
تفاصيل المخطط المبدئي

عرض عملي

a glossary table: Order, Place, Cancel, Reserve stock, with a column for the class or method name.

اختبر فهمك

What do you do when the business renames a concept?

أظهر الإجابة

Rename it in the code too.

التطبيق

طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.

المختبر والتمارين الاختبار

تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.

اكتب للبحث في المستويات والمراحل والوحدات والدروس.