Java: Facade Design Pattern

Façade Pattern

“Facade is a structural design pattern that provides a simplified interface to a library, a framework, or any other complex set of classes.”

“When you call a shop to place a phone order, an operator is your facade to all services and departments of the shop. The operator provides you with a simple voice interface to the ordering system, payment gateways, and various delivery services.”

For a clear view, click on the images (images are from Wikipedia)

Ref: https://refactoring.guru/design-patterns/facade

https://en.wikipedia.org/wiki/Facade_pattern

Leave a Reply