ANTI-CORRUPTION-LAYER
DDD model translation layer.
Definition
ACL protects your bounded context's ubiquitous language by translating external system concepts into internal concepts (and back). Implementations: Translator (object mapper), Facade (simplified interface), Adapter (technical compat). Crucial when the partner changes frequently or the external model is degraded.
Origin
Pattern formalised by Eric Evans in Domain-Driven Design: Tackling Complexity in the Heart of Software (2003).
Example in context
An EDI hub integrates a VDA legacy partner via an ACL converting VDA fixed-records into modern Java POJOs.
Related terms
- Bounded Context — parent DDD concept.