Many online design patterns are no longer talking about nutrition-free theories. Open this series of blog posts. On the one hand, we will take the opportunity to review this article because we have been decadent for more than half a year. On the other hand, we hope to help new people get out of the design pattern. misunderstanding,
How to make a good design model
1. You must be familiar with understanding the existing model before exploring new models. Many models seem brand new, but in fact they are just a disguised form of the existing model. By studying the existing pattern, it is easier to recognize the pattern.
2. Spend time reflecting on and evaluating your past experience and using it in future new designs, so that the design model you know is fortune.
3. Record your thoughts so that you can review and understand others.
4. let others use your design model and continue improving.
...
After this series is complete, I hope everyone can think about it based on their own project instances.
Boot directory
Build your own design model with project instances
Review the traditional design mode with project instances (I) Strategy Mode
Review the traditional design mode with project instances (2) Observer Mode
Review the traditional design mode with project instances (3) decorator Mode
Review the traditional design mode with project instances (4) Factory mode (simple factory, common factory, abstract factory)
Review the traditional design mode with project instances (5) Singleton Mode
Review the traditional design mode with project instances (6) command mode
Review the traditional design mode with project instances (7) Adapter mode (with exterior mode)
Review the traditional design mode with project instances (8) template method mode
Review the traditional design mode (9) iterator mode with project instances
Review the traditional design mode (10) status mode with project instances
Review the traditional design mode (11) proxy mode with project instances
Many online design patterns are no longer talking about nutrition-free theories. Open this series of blog posts. On the one hand, we will take the opportunity to review this article because we have been decadent for more than half a year. On the other hand, we hope to help new people get out of the design pattern. misunderstanding,
How to make a good design model
1. You must be familiar with understanding the existing model before exploring new models. Many models seem brand new, but in fact they are just a disguised form of the existing model. By studying the existing pattern, it is easier to recognize the pattern.
2. Spend time reflecting on and evaluating your past experience and using it in future new designs, so that the design model you know is fortune.
3. Record your thoughts so that you can review and understand others.
4. let others use your design model and continue improving.
...
After this series is complete, I hope everyone can think about it based on their own project instances.
Boot directory
Build your own design model with project instances
Review the traditional design mode with project instances (I) Strategy Mode
Review the traditional design mode with project instances (2) Observer Mode
Review the traditional design mode with project instances (3) decorator Mode
Review the traditional design mode with project instances (4) Factory mode (simple factory, common factory, abstract factory)
Review the traditional design mode with project instances (5) Singleton Mode
Review the traditional design mode with project instances (6) command mode
Review the traditional design mode with project instances (7) Adapter mode (with exterior mode)
Review the traditional design mode with project instances (8) template method mode
Review the traditional design mode (9) iterator mode with project instances
Review the traditional design mode (10) status mode with project instances
Review the traditional design mode (11) proxy mode with project instances