Can you give a practical implementation of FAÇADE patterns?
The Façade pattern sits on the top of lot of the subsystems & makes access easy to interfaces of these subsystems. The Basic purpose of Façade is to make interfacing b/w many modules and classes manageable.
Figure: -Façade in action
Above is the simple live application of a Façade class. In this we have 4 subsystems :-
All the 4 modules when built at the initial stage were built completely independent. The main interaction b/w all these subsystems is a customer placing order. This functionality can be attained by using all these subsystems, which involves complex interaction b/w them.
That is where FAÇADE comes to action. We have built a FAÇADE known as "FACADEORDER" which sits on the top of all the subsystem and fulfill our functionality.