Design Patterns generally contains a pattern name, problem, purpose, solutions, and so the effect of the elements;
The key element is the pattern name, problem, solution and results.
Mode Name: do not explain, is the name of the model;
Question: describes the mode should be used when it contains the reason the design problems and problems;
Solution: describes the components of a design pattern, and the relationship between these components, their respective functions and collaborate, solutions generally be described by UML class and core code;
Effect: describes the advantages and disadvantages of patterns and problems when using the pattern of trade-offs.