Facade is a structural design pattern that provides a simplified (but limited) interface to a complex system of classes, library or framework.
Participants
The classes and objects participating in this pattern include:
-
Facade(MortgageApplication)
- knows which subsystem classes are responsible for a request.
- delegates client requests to appropriate subsystem objects.
-
Subsystem classes(Bank, Credit, Loan)
- implement subsystem functionality.
- handle work assigned by the Facade object.
- have no knowledge of the facade and keep no reference to it.
cheers!!
Note: Will add details more shortly.
Top comments (0)