Software Design Patterns and Principles - Part 10 (Facade Design Pattern)
Other Parts of This Series: Part 9: Software Design Patterns and Principles - Part 9 (Composite Design Pattern) Facade Design Pattern (Photo Credit: Refactoring.guru) In this series, we try to explore software design patterns and principles. We will try to learn the well-known OOP design patterns one by one. In this part, we try to explore the facade design pattern. So let’s get started… Story One of my friends, named Rubel, is known as a lover boy among us. Because he maintains lots of girlfriends (at least 5-7) at a time. And you know what? Handling and maintaining a girlfriend is a very complex and time-consuming task. Rubel maintains connections with some of these girlfriends via phone call and some of them via message/chat. Though the pattern of handling the girl is almost the same, day by day it becomes very clumsy and a headache, as he needs to interact with this complex system directly. So now he is planning a way for how he can simplify this complexity. ...