Translation of a pdf file from http://www.mcdonaldland.info/ with a description of 23 GOF design patterns . Each item contains a [very] short description of the pattern and UML diagram. The cheat sheet itself is available in pdf, as two png files (as in the original), and as 23 separate parts of images. For the most impatient - all the files at the end of the article .
Under the cut - a lot of pictures.
Legend
Relationship between classes
- aggregation - describes the relationship "part" - "whole", in which "part" can exist separately from the "whole". The diamond is indicated by the "whole". ')
- composition (composition) - a subspecies of aggregation in which "parts" cannot exist separately from the "whole".
- dependence (dependency) - a change in one entity (independent) may affect the state or behavior of another entity (dependent). From the direction of the arrow indicates an independent entity.
- generalization (generalization) - the ratio of inheritance or implementation of the interface. From the direction of the arrow is a superclass or interface.