CakePHP 3.0.5 发布,PHP 开发框架 - 开源中国社区
CakePHP 3.0.5 发布,PHP 开发框架
oschina 2015年05月19日

CakePHP 3.0.5 发布,PHP 开发框架

oschina oschina 发布于2015年05月19日 收藏 6 评论 7

CakePHP 3.0.5 发布,此版本是个维护版本,更新内容如下:

Bug 修复

  • Filesystem libraries are now available as a standalone package through composer.

  • QueryLogger correctly interpolates parameters when there are more than 10  placeholders.

  • Datetime inputs correctly render seconds picker elements. Previously they did  not include 00.

  • Marshalling belongsToMany _joinData was improved. The marshaller now  correctly handles a mix of new and existing entities.

  • InstanceConfigTrait deletes nested data correctly now.

  • SQLite fixtures now generate primary key columns correctly in all situations.

  • Property caching in Entities was made less aggressive. The mutator caches are  now completely invalided when any property is changed.

  • Association conditions are no longer used when marshalling existing  belongsToMany records.

  • i18n shell creates separate po file entries for messages with differing  contexts.

  • The @ syntax for file uploads in Http\Client was deprecated. Instead you  should use resource handles. The @ syntax is unsafe with user supplied  data and will be removed in a future version of CakePHP.

  • Blob fields in SQLServer are now hexdecoded before being converted into  resource handles.

  • FormHelper will not default datetime pickers to 'now' unless the input also  has the default => true option supplied. This was done to make it easier  to work with nullable datetime fields.

  • QueryExpressions containing subqueries now correctly wrapped in parenthesis.

改进

  • Validator::addNested() and Validator::addNestedMany() were added.  These methods allow you to create validators for nested array properties.

  • Collection::unwrap() was added.

  • Folder::copy() now supports a non-recursive mode.

  • Collection::zip() and Collection::zipWith() were added.

  • The __debugInfo() method was implemented in Form and Validator objects. This  improves DebugKit and debug() output.

此版本现已提供下载:cakephp-3-0-5.zip

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

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

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:CakePHP 3.0.5 发布,PHP 开发框架
分享
评论(7)
最新评论
0
看来还不如thinkphp
0
试用了一下,ORM 部分感觉比 2.x 复杂。。。ZF的 数据库操作也不怎么样(直接使用了 TableGateway 模式),,,对于熟悉Java、Hibernate/JPA 的人,Doctrine 是最好的选择。
0
文档做得不错,800页的pdf
0

引用来自“都市网达”的评论

兼容PHP4和PHP5。就是这一句话,就应该被淘汰。
这是2.x版本的介绍了,3.x最低要求PHP5.4+
0
确实没用过哦。
0
兼容PHP4和PHP5。就是这一句话,就应该被淘汰。
0
看来用cakephp的越来越少了
顶部