mirror of
https://github.com/JakubVojvoda/design-patterns-cpp.git
synced 2025-12-17 21:04:36 +03:00
11 lines
437 B
Markdown
11 lines
437 B
Markdown
## Façade
|
|
|
|
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.
|
|
|
|
### When to use
|
|
|
|
* you want to provide a simple interface to a complex subsystem
|
|
* there are many dependencies between clients and the implementation classes of an abstraction
|
|
* you want to layer your subsystems, use a facade to define an entry point to each subsystem level
|
|
|