Chapter 22: The Façade Pattern
In the previous chapter, we covered a third structural pattern, the bridge pattern, which helps to define an abstraction and its implementation in a decoupled way, so that both can vary independently. Now, we will learn about another structural pattern, the façade pattern, which achieves an important goal in many software use cases: hiding the inner workings of an application and only giving access to what is necessary.
In the chapter, we will discuss the following topics:
- Understanding the façade pattern
- Real-world examples
- Use cases
- Implementation
Throughout this chapter, we will see why façade is a good pattern to employ and what its benefits are, and as always, implement a hands-on example in Python.