O'Reilly logo

Learning Python Design Patterns by Gennadiy Zlobin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

Facades are used when it is needed to provide a simpler interface to a complex subsystem. Facades provide flexibility to subsystem, because all interaction with the client goes through the Facade. It reduces dependency of external library that are used inside the facade, but not related to the client code.

In the next chapter, you will learn about Proxy: another pattern that helps to decrease the complexity of objects interaction and observer: a design pattern to broadcast some information to multiple receivers whose amount can be changed in the runtime.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required