PHP three-frame comparison

Source: Internet
Author: User
Write PHP program for more than a year using CI, thinkphp, Phalcon and other frameworks say how I feel

Ci

Advantages:

The entry threshold of this framework is very easy to learn extremely easy to use framework very small static very easy framework easy to expand documents more detailed


Disadvantages:

The disadvantage of hiding under extremely easy-to-use minima is that unsafe features are not too completely missing a lot of things such as you want to use MongoDB you have to implement the interface yourself ... The operation of the data is not too secure, such as the update and delete operations, such as insufficient security temporarily does not support SAE Bae, etc. (Europe, after all) support for large projects No, small projects are going to be great.


thinkphp

Advantages:

This framework is easy to use easy to learn security for BAE SAE support is very good to provide tools are also very strong can support a larger project development easy to expand all Chinese documents overall this framework is ideal for people with a better performance than CI.


Disadvantages:

Configuration is somewhat complicated for some people (in fact, it is because there is no serious reading of its framework source) document some lag some of the components are not documented


Phalcon

Advantages:

Using the C extension to write high-performance easy-to-use its di mechanism to do very well is also a full-featured framework suitable for all sizes of projects can be developed with various projects restful API, RPC ... Full support and YAF compared to its function more full YAF itself is not YAF this is the reason I chose this framework for performance is only lower than YAF, but because of its full function, so decisive choice of this framework


Disadvantages:

It's not easy for a PHP programmer to retrofit, but it doesn't matter to C programmers (I originally wrote C) No Chinese documents are available in the 0.7 version, so I will publish Phalcon 1.3 in my blog. 0 version of document translation security is not easy Because it is installed in an extended manner, it is difficult to install relative to other frameworks you need to install manually (the installation method can be see my blog Phalcon installation of this article)


These frameworks say I'm all very fond of CI light and easy to learn thinkphp functional full performance is also strong Phalcon performance powerful features also powerful small projects can use CI medium to install easy program requirements of the project can be used thinkphp Large-scale performance-based projects can use Phalcon (if you have to read English documents)


Three-frame performance comparison

Phalcon > Thinkphp > CI

Wherein Phalcon performance is more than twice times the performance of the thinkphp performance is only a bit stronger than CI


Degree of ease of study

CI > Thinkphp > Phalcon


Function

phalcon,thinkphp > CI


Safety

thinkphp > Phalcon > CI

  • 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.