A UML class diagram
We will now discuss the Façade pattern with the help of the following UML diagram:
As we observe the UML diagram, you'll realize that there are three main participants in this pattern:
- Façade: The main responsibility of a façade is to wrap up a complex group of subsystems so that it can provide a pleasing look to the outside world.
- System: This represents a set of varied subsystems that make the whole system compound and difficult to view or work with.
- Client: The client interacts with the Façade so that it can easily communicate with the subsystem and get the work completed. It doesn't have to bother about the complex nature of ...
Get Learning Python Design Patterns - 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.