عقود الواجهات ومخططات النشر
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
specify interfaces for parallel delivery and draw deployment views operations can use.
الموضوعات المخطط لها
- A contract states operations or events, payload schemas, error codes, authentication, rate limits, versioning, and who owns it.
- Specify with a machine-readable format such as an OpenAPI or event schema file so both sides can test against it.
- A deployment diagram shows runtime nodes, networks, zones, and which software runs where, with environments marked.
- Operations needs ports, dependencies, and failover paths, not only boxes.
تفاصيل المخطط المبدئي
عرض عملي
a Larkspur ERP order-posting contract excerpt (operation, required fields, error codes) and a deployment sketch with web zone, application zone, data zone, and the link to on-premises ERP.
اختبر فهمك
Why a machine-readable contract?
أظهر الإجابة
Both sides can generate stubs and test against the same definition in parallel.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.