Facade Design Pattern in Java (Software Design Patterns Tutorial)

preview_player
Показать описание



******************** Facade Design Pattern:
It falls under structural design pattern.
It hides the complexities of internal implementations and provides a simple interface to the client.
It would provide a single class and all the methods for the client to use it.

Facade Design Pattern Implementation use case:
We would go to a hotel where "Hotel server" handles our requests.
Here, "Hotel Server" handles all the complexities.
Example: If we ask for "Veg menu" the hotel server would go to the "Veg Food Chef" and ask the "Veg Food Menu" for that day and conveys that information to us.

#FacadeDesignPattern #SoftwareDesignPatterns #programmingline #rakesh #rake

*******************************************************

Important Links:

*******************************************************

Subscribe my YouTube channels:

*******************************************************
Рекомендации по теме
Комментарии
Автор

Nice and simple video, thanks for your effort

sikhoaurshikhao
Автор

This is utter stupidity...what is the purpose of using the Menu interface if you are not using it as an object holder as a layer of extra abstraction.
In the HotelServiceStaff class constructor, the initialization should be like :
Menu veg = new VegMenu();
Not like :
VegMenu veg = new VegMenu();

I hope you get my point.

Abhishekaditya