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

مخططات التسلسل

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

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

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

في هذا الدرس

show how a request or saga flows over time.

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

  • Participants across the top, time flowing down, arrows as messages.
  • Use them for one scenario: the happy path, then a key failure path.
  • Show sync calls and async events differently, and name the event.
  • Keep to about 6-8 participants; split the diagram if larger.
  • Source as text (Mermaid or PlantUML) so it is diffable.
تفاصيل المخطط المبدئي

عرض عملي

text
sequenceDiagram
  Orders->>Inventory: ReserveStock
  Inventory-->>Orders: StockReserved
  Orders->>Payments: ChargeCard
  Payments--)Orders: PaymentFailed
  Orders->>Inventory: ReleaseStock

اختبر فهمك

Which scenario should you draw besides the happy path?

أظهر الإجابة

A significant failure, such as payment failing and compensation.

التطبيق

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

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

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

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