Php framework: Does php development need a framework ?, Php framework

Source: Internet
Author: User

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

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.