Dare not say this seriesArticleQuality, but it is sufficient to explain the process of learning the design model. From the basic UML drawing to the application of the pattern in the actual project, the application of the pattern is fully discussed. The biggest feature is that each mode is combined with an actual example. There are still a few differences between the 23 gof models. The main reason is lack of experience. It took nearly one year. From the perspective of release time, we can see the difference in the quality of the article. I wanted to modify the early articles, but in order to reflect the real learning process, I stayed here, I think many beginners may have the same experience as me.
Stage 1: Understand what Oo is and what object-oriented features it will not apply polymorphism before formally learning the design model;
Stage 2: copy the example in head first. People say that they are familiar with three hundred Tang Poems and will not write or write them;
Stage 3: Apply vs In the example to automatically generate a class relationship diagram to explain the class relationship diagram of the design mode;
Stage 4: Use PD to draw images, but the disadvantage is not beautiful;
Stage 5: Use Visio to draw images.
Part 1 Creation Mode
1: conventional: single-piece Mode
2: The Abstract Factory Model
3: The Builder model (how far is the design model from US)
4: old saying: factory models, siblings
5. old saying: Prototype
Part 2 Structure Mode
6: conventional: adapter Mode
7. Conventional discussion: Bridging Mode
8: old saying: decorator Mode
9: conventional: Combination Mode
10: appearance
11: old saying: Yuan-sharing model
12: old saying: proxy Mode
Part 3 Behavior Model
13: conventional: Template Method Mode
14: Command pattern)
15: Classic talk: iterator Mode
16: The Observer Mode
17: Mediator Pattern)
18: memento Pattern)
19: The Interpreter Mode
20: State Pattern)
21: old saying: Rule Mode
22: chain of responsibility)
23: Regular talk: Visitor Mode
Summary:Although I have learned so many design patterns, it still takes time to digest them. The remaining several articles will be added later, hoping to complete them.
Note:Nature of this series of articles:
1: most of them are original;
2: For details, refer to Java and mode.
3: for some information, see the design pattern article of instructor Lu and Li huijun.