CSC/ECE 517 Fall 2012/ch2b 2w59 bc

From Expertiza_Wiki
Jump to navigation Jump to search

Decorator Directory

General Resources

Description of the Pattern

Wikipedia<ref name="wikipedia">http://www.youtube.com/watch?v=yMV7nOiTwXw - 2012</ref> and dofactory<ref name="dofactory">http://www.youtube.com/watch?v=yMV7nOiTwXw - 2012</ref> provide solid explanations of the Decorator Pattern. dofactory<ref name="dofactory"/> is much more concise than Wikipedia<ref name="wikipedia"/>. It is a good resource for quickly viewing the definition and participants of the pattern. Wikipedia<ref name="wikipedia"/>, on the other hand, is much more verbose, but goes into the motivation for the pattern and talks use of the patterns in several languages at a high level.

UML

Wikipedia<ref name="wikipedia"/> and dofactory<ref name="dofactory"/> both provide UML diagrams of the Decorator Pattern concept. For UML diagrams of concrete examples, javapapers<ref name="javapapers">http://javapapers.com/design-patterns/decorator-pattern/</ref> provides an Ice Cream example and Head First Design Patterns<ref name="head_first">https://docs.google.com/viewer?url=http%3A%2F%2Foreilly.com%2Fcatalog%2Fhfdesignpat%2Fchapter%2Fch03.pdf</ref> provides a couple as well, but it is a very long read. Many of the language specific resources listed later in this article also provide UML diagrams for their concrete examples/implementations.

Ruby

Java & C#

References

<references/>