CakePHP 3.1.7 发布,PHP 开发框架

WBOY
发布: 2016-06-20 12:40:31
原创
1034 人浏览过

CakePHP 3.1.7 发布,此版本主要是一些 bug 修复和小改进:

Bug 修复

  • Paginator::numbers() now treats numeric string values in first and last as strings.

  • Using invalid associations in ExistsIn rules now raises a helpful error.

  • BelongsToMany associations can have their fields limited through queryBuilder closures.

  • The $query->func()->now() query function works as expected in where conditions now.

  • XmlView no longer fails when attempting to output XML documents built with DOMDocument.

  • BelongsToMany _joinData is now marshalled consistently by Table::patchEntity() .

  • Missing Controller error pages display the correct class name and path for prefixed controllers.

小改进

  • IntegrationTestCase::cookieEncrypted() was added. This helper lets you set the value of encrypted cookies.

  • IntegrationTestCase::assertCookieEncrypted() was added. This assertion lets you compare encrypted cookie values.

  • FormHelper now forwards templateVars to the templates for submitContainer and inputSubmit .

  • Collection::chunk() was added. This method lets you split a collection into equal sized chunks.

  • Exception classes were added for Conflict (409), Gone (410), Not Acceptable (406) and Service Unavailable (506).

  • Configure::readOrFail() was added. This method will read a value from Configure and raise an exception if it does not exist.

下载: cakephp-3-1-7.zip

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

基于MVC架构

视图支持Ajax

内置校验框架

提供应用程序的基础模块和CRUD 代码自动生成功能

提供处理session,request,security的组件

灵活的视图缓存功能

面向对象

无需配置:只要安装好数据库

兼容PHP4和PHP5。

来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责声明 Sitemap
PHP中文网:公益在线PHP培训,帮助PHP学习者快速成长!