Dealing with Incompatible Code Structures
Learn which design patterns to use when third-party components aren't directly compatible with the code.
We'll cover the following...
Problem statement
Let’s imagine that we’re working with a third-party library that returns data in a specific format. The problem is, however, that this isn’t the data format that the rest of our application works with.
For example, our code might only be working with JSON, while the third-party library only delivers data as XML. In this situation, the last thing that we’d want to do is rewrite the rest of ...