Skip to content
Ameen Abozaid
Planned lessonARC-032-L05

Demo: an anti-corruption layer between the platform and the ERP

  • Lesson 5 of 6
  • Architect
On This Lesson 3 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

build a worked design of an ACL that keeps ERP models out of the platform; prepares ARC-032-LAB1.

Draft outline details

Step by step

  1. Show the ERP's model: item master with 40 fields, cryptic status codes, customer and ship-to as separate entities.
  2. Define the platform's own domain model: Product, Price, Availability, Order.
  3. Design the ACL: translator mapping ERP structures to domain objects, status code dictionary, error translation, and a stable internal contract.
  4. Planned mistake: reuse the ERP's field names and status codes directly in the platform API. Fix: translate at the boundary so an ERP upgrade changes one adapter only.
  5. Add contract tests against the adapter and monitoring of translation failures.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Continue to next lesson

Type to search levels, phases, modules and lessons.