Chapter 6. The Facade Pattern
Overview
I start the study of design patterns with a pattern that you have probably implemented in the past but may not have had a name for: the Facade pattern.
This chapter
• Explains what the Facade pattern is and where it is used.
• Presents the key features of the pattern.
• Presents some variations on the Facade pattern.
• Relates the Facade pattern to the CAD/CAM problem.
Introducing the Facade Pattern
According to the Gang of Four, the intent of the Facade pattern is to
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.1
Basically, ...
Get Design Patterns Explained: A New Perspective on Object-Oriented Design, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.