Adapter and Façade PatternsThe Adapter and Façade patterns are very similar to the Proxy pattern. The main difference is that a Proxy class has the same public methods (usually by implementing the same interface) as the object it represents. The Adapter and Façade patterns don't necessarily have the same methods as the object (or objects) they represent. Although the Adapter and Façade patterns are almost identical, the difference is that an Adapter's purpose is to convert an object's API, whereas the Façade's purpose is to simplify. |