الأنماط كمفاضلات وليست ترقيات
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
treat every advanced pattern as a purchase with a price, not a level-up.
الموضوعات المخطط لها
- Each pattern solves one named problem and adds cost elsewhere (code, operations, hiring, debugging).
- Ask first: what problem do we have today, and what is the simplest thing that solves it?
- Fashion is a bad reason; a measured pain is a good reason.
- Write the rejected options down in an ADR so the next team sees the reasoning.
تفاصيل المخطط المبدئي
عرض عملي
a decision table with columns problem, pattern, cost added, simpler alternative, evidence needed. Example row: slow dashboards, CQRS read model, second store plus sync lag, a database index or view.
اختبر فهمك
Name two costs a pattern adds besides code.
أظهر الإجابة
Operational burden (running, monitoring, rebuilding) and team learning curve; also eventual consistency.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.