Facade প্যাটার্ন একটি সরলীকৃত ইন্টারফেস প্রদান করে জটিল subsystem এর জন্য — এর জটিলতা একটি একক, পরিচ্ছন্ন প্রবেশ বিন্দুর পিছনে লুকিয়ে রাখে। এটি উপাদানগুলির একটি জটিল সেটকে ব্যবহার করা সহজ করে তোলে, অন্তর্নিহিত বিবরণগুলিতে অ্যাক্সেস অপসারণ না করে।
Facade প্যাটার্ন কী করে
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
