What does the php framework bring to us, or what does php give to us?

Source: Internet
Author: User
What does the php framework bring to us, or what does php give to us? In the past few years, php has many open-source frameworks that can't be used up. but the reason is that there is no leading boss, and there is no universal framework for everyone's voices? Let alone radish and vegetables. I will know .. there is a recognized class flower in our school class (no one can bubble, and the result is cheaper than others! ~!!). To put it bluntly, I am currently using Codeigniter. it seems that I am used to it. what does php framework bring to us or what does php give us?
In the past few years, php's open-source frameworks have no more than enough.
But the reason is that there is no leading boss, and there is no universal framework for everyone's voices?
Let alone radish and vegetables.
I will know... we have a recognized class flower in our school class. (no one can make a bubble. The result is cheaper !~!!).
To put it bluntly, I am currently using Codeigniter. it seems I am used to it.
Regardless of the project size, you can directly create such a framework. it is easy to write.
In addition, I didn't feel any special difference in website speed, but my code is much more neat than before!
(Those who oppose the use of the framework, do not approve me, just personal feelings .)
After a few years of development, I feel that php is not very powerful, especially some techniques.
All of you have talked about some of your favorite php technologies, or some of the technologies you think are great.
Regardless of plug-ins, linux, or pretty.

I don't know what to ask about this post. just chat. (I hope the postmaster will not be removed. I haven't posted it for a long time !)


------ Solution --------------------
Now we are more concerned about the scalability of the project. using the framework will consume performance. But there are other methods to make up for it. In addition, in a highly concurrent project, the main pressure is on the database end. What is the technology that the landlord says?
------ Solution --------------------
The framework is an application template. since the world is ever-changing, how can it be regarded as one-to-ten-to-one?
Just like your class flower, if you are a class flower in your class, isn't it necessary in other classes?
Banhua is not the school flower, not Miss Asia or Miss World.

Wake up, buddy.
------ Solution --------------------
The framework is indeed easy to understand!
------ Solution --------------------
CI is more in line with traditional Chinese thinking, so you think it is easy to use! Try another framework, such as zend, but it may not be easy to use.

The framework first brings about mvc, consistency, and scalability and convenience, such as class libraries.

The development speed of the framework is faster.
------ Solution --------------------
Poor framework:
The first is speed performance problems. from the perspective of file IO, there will be a lot of inlcude files (such as more than 50 files), although there is a cache like apc. But after all, it cannot be ignored.) --> small and medium websites do not need to consider this issue;

Second, by the way, the database should adhere to the minimum query principle. Databases are bottlenecks. Yes. It can be designed. (Small and medium websites do not need to consider this)

Third problem: The framework enhances the coupling between modules. The framework is a whole. Sometimes we want to separate various functional modules. For example, I want to separate the comment module and use it to connect to any module. Or access any website.

For CI, it is still a little big for high-performance websites! He has a lot of compatibility. His layout is not satisfactory either. Not good enough! This requires a mechanism.

Zend uses the two-step View method. Cake and so on.






------ Solution --------------------
I only care about banhua? Stabbed?
------ Solution --------------------

------ Solution --------------------
Banhua
------ Solution --------------------
At least make my code less wild. I am also using CI, and I am trying to convert it to Cake.

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.