Wzorzec Facade zapewnia uproszczony interfejs do złożonego podsystemu — ukrywając jego złożoność za pojedynczym, czystym punktem wejścia. Sprawia, że skomplikowany zestaw komponentów jest łatwiejszy w użyciu, bez usuwania dostępu do szczegółów leżących u podstaw.
Co robi wzorzec 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
