Let us assume you are planning to organize a software product launch event. It takes a whole lot of responsibility to well organize the event all by yourself. You need to book a hotel, a caterar for food arrangement, a florist to decorate the stage, and musical arrangments as well. Your first priority will be consulting to an event organizer. He will make sure that he will be resposible to talk to the individual services providers and get the best deal for you.
Let us look in the Facade design pattern’s perspective :
Client : It is you who needs to have a software product launch organized and completed in time.
Facade : The event organizer is responsible to talk with the service providers who can work for you to make arrangements.
Subsystems : They are the systems that provide services such as hotel management, flower decorations, caterine services and music arrangements.
Let us dive deeper implementing Facade design pattern with python.
1 Response
[…] will go through facade design pattern pattern in the next topic of design patterns in […]