Summary of design patterns-the programmer's secret of Martial Arts (I) describes the causes and necessity of the design patterns.
What is the specific content of the design model? First, the design pattern is the product of object-oriented development. It requires an object-oriented basis, including some important concepts and three major features. Secondly, based on the object-oriented thinking and the actual situation of solving the problem, five principles are derived. Finally, gof23.
The following figure is used:
The design pattern runs through the object-oriented development process and can solve complicated problems. This is incomparable to the process orientation. It is not easy to use, not only to solve the problem of changing requirements, but also may have problems such as long development cycle, many steps, and too many code. We believe that through our learning, We Can skillfully use the design model. Everything is just getting started!