Php framework: Does php development need a framework ?, Php framework
Originally, it was good. As a result, no matter the software CMS or various frameworks, they all created their own rules! The key is not universal yet! I learned the syntax and semantics of PHP for half a year. I learned a framework and another half a year. Then I upgraded the framework or learned other frameworks. What I learned before is useless! Fuck! It is a waste of time and energy. Not worth the candle! Just read the principles of others and read them all through MVC + OOP.
---------------------------------
Small projects are written by the native, and the commercial framework is recommended for collaborative development within the large project system.
For large projects to c, it is recommended TO write a simplified framework, even PHP + SMART.
The framework is nothing more than coordinated development, encapsulating CURL to develop a set of its own rules, debugging methods, class libraries, and overall running logic. After learning, the development efficiency will be accelerated, but what I don't know is that the learning cost VS the final development cost and the last several years of study can last.
I am also working on my own projects, many of which are new functions. The general framework is not encapsulated. The framework is only applicable to the same usage mode. Many new functions need to be written by yourself.
I think the PHP development framework is bitter and sweet.
PHP native is sweet and bitter.
However, you can select different types for different scenarios.
PS: I personally do not recommend using a framework.
My own process is to create a website with many modules. First, write this function point for the process. Original Ecology.
If there are more and more project modules, I will write a small MVC + OOP
Then I put the thought of each functional module into my small framework.
Just like creating a car.
I made wheels, engines, and many modular components first.
Then I began to build a general framework and then integrated these modules into the framework.
The same is true when you start using the framework, such as the registration or email module. The framework and native ideas are actually the same, but the implementation methods are different.
From: http://www.php.cn/toutiao-361828.html