Facade pattern ایک پیچیدہ subsystem کے لیے سادہ interface فراہم کرتا ہے — اس کی پیچیدگی کو ایک واحد، صاف entry point کے پیچھے چھپاتا ہے۔ یہ اجزاء کے ایک پیچیدہ مجموعے کو استعمال کرنا آسان بناتا ہے، بغیر بنیادی تفصیلات تک رسائی کو ہٹائے۔
Facade pattern کیا کرتا ہے
FACADE → a SIMPLE interface in front of a COMPLEX subsystem:
→ the subsystem has many components/steps; the facade provides ONE easy interface
→ clients use the simple facade instead of dealing with the complexity directly
→ the facade coordinates the underlying components
→ HIDE complexity behind a clean, easy-to-use interface
