Design Patterns in Python
Copyright 2007, Google Inc Design Patterns in PythonAlex Martelli "levels" of this talk2ShuHaRiPyDP("Retain")("Detach")("Tr anscend")Hit the ground "Forces": some rich, complex subsystem offers a lot of useful functionality; client code interacts with several parts of this functionality in a way that's "out of control"this causes many problems for client-code programmers AND subsystem ones too(complexity + rigidity)Solution: the "Facade" DP4interpose a simpler "Facade" object/class exposing a controlled subset of functionalityclient code now calls into the Facade, onlythe Facade implements its simpler functionality via calls into the rich, complex subsystemsubsystem implementation gains flexibility, clients gain simplicity 2004 AB Strakt17STRAKTDP "Facade"!existing supplier code ! provides rich, complex functionality in protocol S!
Solution: the "Facade" DP 4 interpose a simpler "Facade" object/class exposing a controlled subset of functionality client code now calls into the Facade, only
Download Design Patterns in Python
Information
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document: