Anti-Corruption Layer
noun
say it: “an-tee-kuh-RUP-shun LAY-er” /ˌænti kəˈrʌpʃən ˈleɪər/
An adapter at the border between an old system and new code that keeps the old system's formats and ideas out of the new code.
What is an anti-corruption layer?
An anti-corruption layer is an adapter at the border between an old system and new code. It reads the old system's data (a row like MAYA|BASIC) and hands the new code plain objects in its own shapes, so the old system's formats and ideas never spread into the new design. It's often used with the Strangler Fig pattern, while the old and new systems run side by side.
In a sentence
- “The new booking code never saw a pipe-separated row, because the anti-corruption layer turned each one into a member.”
Level: Freelancer · More Software Development terms at this level
Updated