DevIQ

Anti-Corruption Layer

Anti-Corruption Layer

An Anti-Corruption Layer (ACL) is a set of patterns placed between the domain model and other bounded contexts or third party dependencies. The intent of this layer is to prevent the intrusion of foreign concepts and models into the domain model. This layer is typically made up of several well-known design patterns such as Facade and Adapter. The patterns are used to map between foreign domain models and APIs to types and interfaces that are part of the domain model.

References

Edit this page on GitHub

On this page