Overview of further study design patterns (5) design pattern / triangle not yet complete summary

  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.

Guess you like

Origin www.cnblogs.com/158-186/p/12666432.html