عرض عملي: مخططات C4 لـ Shop Platform كشيفرة
في هذا الدرس 3 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
model Shop levels 1-3 in one text file. Prepares MID-063-LAB1.
تفاصيل المخطط المبدئي
خطوة بخطوة
- Create
workspace.dslin Structurizr (or Mermaid/PlantUML); define the customer and the payment provider. - Add containers: web app, API gateway, orders, inventory, payments, Postgres, Kafka.
- Add relationships with labels and technologies.
- Planned mistake: unlabeled arrows and no legend; a viewer cannot tell sync from async. Fix: label each arrow and add a legend and title.
- Add a component view of
ordersand render all views. - Commit the file and render in CI so the diagram never drifts.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.