PHP 开发框架,CakePHP 3.0.12 发布

jopen 9年前

PHP 开发框架,CakePHP 3.0.12 发布

CakePHP 是一个运用了诸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名设计模式的快速开发框架。该项目主要目标是提供一个可以让各种层次的PHP开发人员快速地开发出健壮的Web应用,而 又不失灵活性。主要特性:

基于MVC架构
视图支持Ajax
内置校验框架
提供应用程序的基础模块和CRUD 代码自动生成功能
提供处理session,request,security的组件
灵活的视图缓存功能
面向对象
无需配置:只要安装好数据库
兼容PHP4和PHP5。

CakePHP 3.0.12 发布,此版本是个维护版本,包括大量的 bug 修复和小的功能增强。

更新内容

Bug 修复

  • RuleChecker::existsIn() handles nullable fields better.

  • Entities created by plugin associations have the correct return value for source()

  • Case statements accept literal values now.

  • Methods defined on Controller can never be used as actions. Before, methods redefined on AppController, or a subclass could be invoked as actions.

  • Plugin dot syntax can no longer be used to reference controllers in URLs.

  • LocaleSelectorFilter no longer sets the default locale. Instead it sets the active locale.

  • AuthComponent correctly redirects when an application is in a subdirectory.

功能增强

  • Query::orderAsc() and Query::orderDesc() were added. These methods make it possible to order on complex expressions.

  • PaginatorHelper::next() and prev() accept a templates option now.

  • The serialization format for Time objects can now be set with Time::setJsonEncodeFormat().

下载:cakephp-3-0-12.zip