Details of PHP's 4 open source framework (TP,CI,LARAVEL,YII)

Source: Internet
Author: User
Tags php framework php script yii

  1. thinkphp abbreviation TP,TP borrowed from the Java idea, based on PHP5, take full advantage of the PHP5 features, deployment simple only need a portal file, together, simple and efficient. The Chinese documentation is complete and the entry is super simple. Comes with a template engine with unique data validation and auto-fill capabilities, and frame update speed compared to speed.

    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.

    Cons: 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.

  2. CodeIgniter short ci simple configuration, get started quickly, all the configuration using PHP script configuration, not using a lot of too complex design patterns, (MVC design mode) performance and code readability is good. The implementation of high efficiency, with basic MVC function, fast and concise, less code, the framework is easy to get started, with a lot of easy to use library. The framework is suitable for small and medium-sized projects, large projects can be, just poor expansion capacity. 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

    Cons: Hidden disadvantage in extremely easy-to-use minimum 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 The small project will be very good.

    Comparison of CI and TP (http://www.jcodecraeer.com/a/phpjiaocheng/2012/0711/309.html)

  3. Laravel's design ideas are very advanced and well suited for applications in various development modes TDD, DDD and BDD (http://blog.csdn.net/bennes/article/details/47973129 TDD ddd BDD interpretation), As a framework, it prepares everything for you, composer is a PHP future, no composer,php must go to the decline. Laravel's greatest features and excellence are the collection of PHP's new features, as well as a variety of design patterns, IOC containers, dependency injection, and more. So Laravel is a framework for learning, he and other framework ideas are very different, this also requires you very skilled PHP, solid foundation.

    Advantages: http://www.codeceo.com/article/why-laravel-best-php-framework.html

  4. Yii is a component-based, high-performance PHP framework for developing large-scale Web applications. Yii is written in strict OOP, with well-established library references and comprehensive tutorials. From mvc,dao/activerecord,widgets,caching, hierarchical rbac,web services, to subjectivity, i18n and l10n,yii provide almost everything you need for today's Web 2.0 application development. And the price of the framework is not too high. In fact, Yii is one of the most efficient PHP frameworks.

Details of PHP's 4 open source framework (TP,CI,LARAVEL,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.