From the course: C++ Design Patterns: Structural

Unlock the full course today

Join today to access over 24,500 courses taught by industry experts.

Overview

Overview

- [Instructor] Facade is a structural design pattern that provides a simplified interface to a complex subsystem. In other words, it hides the complexity of the underlying components behind a higher level, easier to use API. As a consequence, clients don't need to understand the details of the subsystem to leverage its functionality. Instead, they access the subsystem through a single entry point provided by the Facade, which in turn forwards the request to the appropriate components. The Facade pattern can help simplify specific tasks while decoupling the consumer site from the underlying frameworks or types. It's also helpful to narrow down the functionality of a library so clients are exposed only to what is necessary for their tasks. The perfect candidates for the Facade pattern are libraries, frameworks, or any subsystems that are still evolving and may require changes in the future. To protect our clients from…

Contents