مخططات التسلسل
في هذا الدرس 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.
تفاصيل المخطط المبدئي
عرض عملي
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.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.