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. #5: Indicates whether the framework has an inbuilt template engine. #6: Indicates whether the framework includes a caching object or some way other way of caching. #7: Indicates whether the framework has an inbuilt validation or filtering component. #8: Indicates whether the framework comes with inbuilt support for Ajax. #9: Indicates whether the framework has an inbuilt module for handling user authentication. #10: Indicates whether the framework has other modules, like an RSS feed parser, PDF module or anything else (useful). |