PHP里的框架的确多的不得了,PHPIT上有篇文章,比较了10个知名框架的优劣,现转载如下
Framework | PHP4 | PHP5 | MVC1 | Multiple DB's2 | ORM3 | DB Objects4 | Templates5 | Caching6 | Validation7 | Ajax8 | Auth Module9 | Modules10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Zend Framework | - | ![]() |
![]() |
![]() |
- | ![]() |
- | ![]() |
![]() |
- | - | ![]() |
CakePHP | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
- | ![]() |
![]() |
![]() |
![]() |
- |
Symfony Project | - | ![]() |
![]() |
![]() |
![]() |
![]() |
- | ![]() |
![]() |
![]() |
![]() |
- |
Seagull Framework | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
- | ![]() |
![]() |
WACT | ![]() |
![]() |
![]() |
![]() |
- | ![]() |
![]() |
- | ![]() |
- | - | - |
Prado | - | ![]() |
- | ![]() |
- | - | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
PHP on TRAX | - | ![]() |
![]() |
![]() |
![]() |
![]() |
- | - | ![]() |
![]() |
- | - |
ZooP Framework | ![]() |
![]() |
![]() |
![]() |
- | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
eZ Components | - | ![]() |
- | ![]() |
- | ![]() |
![]() |
![]() |
![]() |
- | - | ![]() |
CodeIgniter | ![]() |
![]() |
![]() |
![]() |
- | ![]() |
![]() |
![]() |
![]() |
- | - | ![]() |
#1: Indicates whether the framework comes with inbuilt support for a Model-View-Controller setup. #2: Indicates whether the framework supports multiple databases without having to change anything. #3: Indicates whether the framework supports an object-record mapper, usually an implementation of ActiveRecord.
#4: Indicates whether the framework includes other database objects, like a TableGateWay. #10: Indicates whether the framework has other modules, like an RSS feed parser, PDF module or anything else (useful). |