CakePHP是一个运用了诸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名设计模式的快速开发框架。该项目主要目标是提供一个可以让各种层次的PHP开发人员快速地开发出健壮的Web应用,而 又不失灵活性。主要特性:
基于MVC架构
视图支持Ajax
内置校验框架
提供应用程序的基础模块和CRUD 代码自动生成功能
提供处理session,request,security的组件
灵活的视图缓存功能
面向对象
无需配置:只要安装好数据库
兼容PHP4和PHP5。
CakePHP 2.0.6 发布了,这可能是 2.0 的最后一个版本,而接下来 CakePHP 团队将致力于 2.1 版本的开发,目前 2.1 最新的版本是 beta 版(下载),将兼容 2.0 版本。
CakePHP 2.0.6 有超过 90 个提交以及解决了 45 个问题,主要有:
- Updating minimum PHP version requirement to 5.2.8 due to PHP bugs #44251 and #45748
- Model does not call calculate() and expression() method on the datasource if it does not implements it.
- SqlServer views can be mapped with models as you can do with normal tables.
- Fixed issue where session would always be regenerated regardeless of configs set.
- Not requiring a database connection for Models having $useTable = false when combined with the FormHelper
- Not throwing errors when instantiating model classes with no constructor using the ClassRegistry
- Fixing memory leaks in some Database drivers
- TextHelper::excerpt() now works as documented.
- Defaulting back to using PHP_SELF to get current url, this solves several issues in shared hosts
-
|