[PHP series] framework selection and php framework Selection

Source: Internet
Author: User
Tags php framework

[PHP series] framework selection and php framework Selection
Origin

In PHP development, selecting an appropriate framework helps accelerate software development, save valuable project time, and enables developers to focus on the implementation of functions. The framework problem is that it requires a lot of investment. When selecting a framework, we pay more attention to the future of this framework. Large frameworks that have been around for many years must be well-adjusted at all times.

It is very important that the framework is just a tool. You cannot have too many fantasies about the framework. How can you understand it? That is to say, sometimes you may encounter a framework that does not provide the specific tool we want.

Ranking

The Sitepoint website conducted a small survey to see which PHP framework PHP developers prefer most. The survey results show that the top three most popular PHP frameworks are:Laravel, Phalcon, Symfony2.

This value is the framework statistics made by foreign technical personnel and may be very knowledgeable about the domestic market. If you are familiar with Chinese friends, you will not be familiar with Yii and ThinkPHP.

Today, Feng ye does not want to analyze too many frameworks for everyone. After all, there is no need to analyze them one by one. After all, repetitive work is meaningless.

Laravel

Written by Taylor ortewell's leader and built on its own Illuminate Framework library, Laravel cannot be easily decoupled as I understand, without the use of PSR-2 standards:

PHP framework created for WEB artists

Therefore, I decided to study this framework in the days to come and give the [Laravel series] Article.

Official Website: http://www.golaravel.com/

Yii

The most widely used framework by Feng Ye is also the underlying framework used for entrepreneurship. It is simple, clear, and the key is his author qiang. xue, Chinese, and I have to talk about this framework.

Advantages

1. Yii is easy to learn, active in the Chinese community, and has a strong inheritance. Subsequent developers only need to hack the Business Code and have little dependence on the framework.

2. The Yii framework has high support for expansion and is very convenient. I have expanded many components myself.

3. The modules design is very good. You have a lot of business lines in the background. modules can be grouped in some project features. Each group contains some strongly related features, for example, members, products, communities, orders, and other groups can all be set as a module. Each module is headed by a team lead and two members are responsible for R & D, business separation is achieved.

4. Integrated a series of excellent tools such as cache and database.

Disadvantages

1. Many components and front-end coupling in Yii are too strong, and the learning cost is a little higher than other frameworks.

2. Gii is indeed a dead template, and it is of little use, unless your business is also very dead

Summary

1. interfaces provided by the development background to the front-end are convenient and quick.

2. the MVC mode needs to be categorized by itself, although Yii uses the MVC Mode

3. Suitable for medium and large enterprises with less business changes

Official Website: http://www.yii-china.com/

I personally suggest that beginners study the PHP components more often. Pai_^

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.