Design pattern-preface
one。 Preface
two。 About Design pattern
2.1 what are design patterns and design pattern history
2.2 Design pattern classification
three. Detailed explanation of design pattern
four. Summary
What is the factory model and several types of the factory model
The factory model that I understand
Advantages and disadvantages of factory model
Preface
The factory pattern is a pattern that has been used from the beginning of learning programming to doing a project. At that time, I had no experience and could not understand what role the factory pattern played in software design. I just knocked on the code until I encountered problems in my project and began to think about it. can't you always use the factory pattern to do all the projects? turn around, look for articles and books about design patterns, and begin to seriously learn design patterns.