PHP framework Selection

Source: Internet
Author: User

From: http:// I .laoer.com/tag/kohana

 

It has been 8 or 9 years since I first used PHP programming. Later, I have been studying Java for 6 or 7 years and I am a little unfamiliar with PHP, however, PHP is still tenacious,
Java is cumbersome for web development. Recently I have focused on PHP, but I am used to MVC frameworks like struts. I also want to find a suitable PHP
The MVC Framework selects several criteria: 1. Performance; 2. ease of use; 3. Documentation; 4. Long-term support

I first read the Zend framework
After all, Zend has official features. Its framework should represent the mainstream. After reading it, Zend framework can be said to be complicated but comprehensive, all Web application problems can be solved. The only thing I worry about is performance. Although I have not done any tests, I am indeed worried.

One day later, I visited javaeye and saw a post titled "is the PHP framework prosperous a correct development direction?"
I have discussed the PHP operating mechanism, comparison with Ror, and performance, which are very lively. I also listed some PHP frameworks, especially some performance comparisons, which surprised me, cakePHP and symfony do not need to be considered.

Next I looked at codeigniter.
It feels good and simple. It is much simpler than Zend framework, and most problems can be solved. The performance is also comparable in some data descriptions (several times faster than Zend framework ), in addition, the documents are relatively detailed and it is not difficult to learn. Later, we found Kohana.
, Kohana is from codeigniter
Derived from codeigniter
It is compatible with PhP4 and 5, while Kohana only supports PhP5, which is a complete OO method. Its documentation has not been carefully studied yet, I saw a comparative article "Notes on choosing a PHP Framework: A quick comparison of codeigniter and Kohana".
It seems that Kohana has some outstanding features, but I don't know how well the Kohana community supports this open-source product.

Later I saw the article performance of yii.
,
I found that the yii framework has more powerful performance than codeigniter, which is several times more incredible. I looked at the yii documentation and it is completely oo. If it is more than PhP5, the core should also be
It is relatively simple and can maintain good performance, but I think its guide documents are relatively rough and it seems to take a little effort to learn, and its performance should be my most interest.

Let's talk about the domestic PHP framework. In javaeye's article, qeephp
The author is also recommending his own framework. In simple tests, it is faster than yii and better Nb. However, according to the community, its documentation is not detailed enough, and I have not looked at its code carefully, it seems that there are many similarities with yii, and another domestic PHP framework thinkphp
The documentation is quite detailed, but there is no test report, no idea about the performance, and there is a heated debate with qeephp in the phpchina community.
It's interesting.

I did not decide which PHP framework to use after reading a big circle. They have their own strengths and weaknesses, but considering them comprehensively, I should still choose the Final Solution in codeigniter, Kohana, and yii.

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.