CakePHP 3.0.5 发布,PHP 开发框架

jopen 9年前

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 3.0.5 发布,PHP 开发框架

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

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

来自:http://www.oschina.net/news/62557/cakephp-3-0-5