13.07.2015 Views

Software Design 2e - DIM

Software Design 2e - DIM

Software Design 2e - DIM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

222<strong>Design</strong> patternsFigure 10.3The proxy design pattern (class diagram).Figure 10.4The proxy design pattern (sequence diagram).ImplementationKnown UsesRelated PatternsConsequencesSince this aspect is not directly relevant to the theme of this book,we omit such a detailed level of discussion.Both the GoF and Buschmann et al. provide examples here, withthe latter being the more extensive and varied and, in particular,relating more strongly to web-based forms of implementationwhere this pattern is quite widely employed.The Adapter (GoF(139)) and Decorator (GoF(175)) patterns areboth concerned with interfacing issues.There is some discussion of these in both reference texts. Perhapsthe most obvious is the correspondence to the use of a cache in asituation where an object is extensively updated. In this context,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!