很大程度上由于Ajax和RoR的出现,原来的老大Zend地位堪忧,PHP框架一时又呈现群雄逐鹿的景象。那么如何选择PHP框架呢?PHPit上的一篇
文章,将使你一目了然。
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). |