The use of Facade Design Pattern (Before-After)

  • Facade is a structural design pattern.
  • There is’nt  hard coupling between facade and sub-systems (loose coupling)
  • Sub-systems can work alone
  • Facade class use subsystem
  • Facade use for simplicity access to functionality in complex designed subsystems
  • Facade providers customized high-level interface

Before using facade design

facade-before

After using facade design

facade-after

Another facade design to reduce the complexity and dependency

facade-another

Leave a Reply

Your email address will not be published. Required fields are marked *