Home > Backend Development > PHP Tutorial > Is it necessary to write a php framework by myself?

Is it necessary to write a php framework by myself?

WBOY
Release: 2016-09-26 08:40:16
Original
1098 people have browsed it

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?

Reply content:

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

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template