为什么棋牌室开着开着就倒闭了?
PHP 开发框架 CakePHP 3.3.12 和 3.4.0-RC1 发布了。CakePHP 是一个运用了诸如 ActiveRecord、Association Data Mapping、Front Controller 和 MVC 等著名设计模式的快速开发框架。该项目主要目标是提供一个可以让各种层次的 PHP 开发人员快速地开发出健壮的 Web 应用,而又不失灵活性。更新内容:
CakePHP 3.3.12 引入了以下的新功能
- CLI 命令现在可以通过在参数上设置
multiple选项多次接受参数 ignoreDirty选项被添加到CounterCacheBehavior,这使得能够忽略计数器缓存字段被更新- 为
debug(); die();添加dd()作为快速替代方案
CakePHP 3.4.0-RC1
这是 3.4.0 的候选发布版本。3.4.0 对 CakePHP 提供了一些大大小小的改进,还会弃用将在 4.0.0 中删除的几个功能。
Bugfixes and Minor Features
InstanceConfigTrait::config()has been deprecated. Instead you should usedsetConfig()andgetConfig()methods.- Routes can now use the
_hostoption to restrict which hosts routes will match on. Router::parse(),RouteCollection::parse()andRoute::parse()have all been deprecated. Instead you should use theparseRequest()method which has access to the entire request allowing more flexible routing to be created.- Subcommands will inherit their description from the parent shell if they don’t have a description explicitly set.
HtmlHelperno longer emits<




