This chapter covers the Facade pattern.
GoF Definition
Provide a unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier to use.
Concept
This pattern supports loose coupling. Using this pattern, you can emphasize on the abstraction and hide the complex details by exposing a simple interface.
Consider a simple case. Let’s say that in an application, there are multiple classes, and each of them consists of multiple methods. A client can make a product using a combination of methods from these classes, but he needs ...