1. Build a library, like PHP, reuse small algorithms.
2. On the basis of the library, build the class library and reuse process.
3. On the basis of the library and class library, try the framework of program habits, reuse programming experience.
4, if the frame is mature, the modular framework allows the program to expand and disassemble, if the customer needs unstable, give up the modularization, so that the program is easy to modify.
5, the fourth step is to be careful, the framework is likely to be bondage.
6. If it is unable to judge, only the widget (1, 2 step) is reused, and the framework is rejected.