Home > Article > Backend Development > Is it necessary to write a php framework by myself?
I have been working in PHP for several years, and have used TP, CI, and YII. I am wondering if I should write my own framework, which is smaller and more suitable. But maybe it’s not as good as others’, and reinventing the wheel seems like a waste of time, so I’d like to ask the master, is it necessary to write it myself?
I have been working in PHP for several years, and have used TP, CI, and YII. I am wondering if I should write my own framework, which is smaller and more suitable. But maybe it’s not as good as others’, and reinventing the wheel seems like a waste of time, so I’d like to ask the master, is it necessary to write it myself?
I am not a master, let me tell you my thoughts :)
For learning purposes, it is good to try to write a framework yourself. It is very helpful for understanding the differences between PHP frameworks, routing parsing exception handling, etc. "Some things have to be tried by yourself before you know"
If you just want to write a framework for later use, it feels really unnecessary. Time and energy are limited, and now the open source frameworks are very powerful, plus composer's extended management It's very convenient to get up. You might as well use this time to learn more about other things