Το pattern Facade παρέχει μια απλοποιημένη διεπαφή σε ένα πολύπλοκο subsystem — κρύβοντας την πολυπλοκότητά του πίσω από ένα μεμονωμένο, καθαρό σημείο εισόδου. Κάνει ένα περίπλοκο σύνολο συστατικών πιο εύκολο στη χρήση, χωρίς να αφαιρεί την πρόσβαση στις λεπτομέρειες του υποκείμενου συστήματος.
Τι κάνει το pattern 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
