红联Linux门户
Linux帮助

CakePHP 2.9.0发布,弃用Object类

发布时间:2016-09-20 09:25:57来源:红联作者:baihuo
CakePHP 2.9.0 发布了。CakePHP 是一个运用了诸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名设计模式的快速开发框架。该项目主要目标是提供一个可以让各种层次的PHP开发人员快速地开发出健壮的Web应用,而又不失灵活性。该版本中Object类已弃用,因为它与即将到来的PHP7有冲突。它已被重新命名为CakeObject,以避免与新的PHP保留字冲突。

本次更新内容如下:

AuthComponent::user() now makes the user data available when using stateless authentication adapters.

DboSource::flushQueryCache() was added to allow more fine-grained control of query result caching when enabled.

The log messages created by ErrorHandler can now be more easily customize in subclasses.

Additional mime-types for 'jsonapi', and 'psd' were added.

Time & Datetime inputs no longer set a maxlength attribute when rendered as 'text' input types

发布主页和下载地址:

https://github.com/cakephp/cakephp/releases/tag/2.9.0

来自:开源中国社区
文章评论

共有 0 条评论