PHP(全称:PHP:Hypertext Preprocessor,即“PHP:超文本预处理器”)是一种开源的通用计算机脚本语言,尤其适用于网络开发并可嵌入HTML中使用。PHP的语法借鉴吸收了C语言、Java和Perl等流行计算机语言的特点,易于一般程序员学习。PHP的主要目标是允许网络开发人员快速编写动态页面,但PHP也被用于其他很多领域。

本篇文章,我们分享几款比较流行的PHP框架,以供大家参考。

5-php-framework-compare

图为通过Google Trends得到的数据,从图中的数据,我们可以得到一个平均的排名:

CakePHP,CodeIgniter,Symfony,Zend Framework,YII

但是根据曲线的变化,可以看出YII和CakePHP相对于其他三个框架而言,更加受欢迎。

一,CakePHP

CakePHP makes building web applications simpler, faster and require less code.

cakephp-web-thumb

二,CodeIgniter

CodeIgniter is a proven, agile & open PHP web application framework with a small footprint. It is powering the next generation of web apps.

ci-web-thumb

三,Symfony

Symfony is a PHP framework for web projects.Speed up the creation and maintenance of your PHP web applications. Replace the repetitive coding tasks by power, control and pleasure.

symfony-web-thumb

四,Zend Framework

Zend Framework 2 is an open source framework for developing web applications and services using PHP 5.3+. Zend Framework 2 uses 100% object-oriented code and utilises most of the new features of PHP 5.3, namely namespaces, late static binding, lambda functions and closures.

zend-web-thumb

五,YII Framework

Yii comes with rich features: MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, scaffolding, testing, etc. It can reduce your development time significantly.

yii-web-thumb

原文地址:http://www.hofire.com/blog/php-development/5-php-framework-compare.html

关注Hofire微信公共平台:hihofire

wKiom1LXUJfympAHAAEGfZM0KpU031.jpg