发布于 2017-02-18 23:53:22 | 88 次阅读 | 评论: 0 | 来源: 网友投递
CakePHP PHP开源框架
CakePHP是一个运用了诸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名设计模式的快速开发框架。该项目主要目标是提供一个可以让各种层次的PHP开发人员快速地开发出健壮的Web应用,而 又不失灵活性。
CakePHP 3.4.1 发布了。该版本主要修复了一些社区反馈的问题。
Bug 修复和新特性:
CounterCacheBehavior had an ignoreCounterCache option added, allowing you to disable counter updates on save.
Table::saveOrFail() and Table::deleteOrFail() were added. These methods allow you to perform save/delete operations that raise exceptions on failure instead of returning false.
Support for PHPUnit 6 was added. Currently only composer based installation of PHPUnit 6 is supported.
Helper::getView() was added.
Urlencoded URLs are once again matched correctly.
InflectedRoute routes using HTTP method conditions work again.
Association duplicate alias detection is more relaxed and accepts sub-classes.
MailerEmail no longer waits until the socket timeout when an SMTP server disconnects early.
BelongsToMany::foreignKey() no longer incorrectly returns $this when modifying the key.
Strings that contain only whitespace are now correctly output by debug().
下载地址