内容简介:CakePHP 发布了 4.3.0 正式版,CakePHP 是一个运用了诸如 ActiveRecord、Association Data Mapping、Front Controller 和 MVC(model–view–controller) 等著名设计模式的开源 Web 框架,用 PHP 编写,以 Ruby...
CakePHP 发布了 4.3.0 正式版,CakePHP 是一个运用了诸如 ActiveRecord、Association Data Mapping、Front Controller 和 MVC(model–view–controller) 等著名 设计模式 的开源 Web 框架,用 PHP 编写,以 Ruby on Rails 的概念为模型,并在 MIT 许可下进行分发。
主要更新:
- 添加了一个新的 fixture 系统,它允许使用现有的 migrations 或 SQL 转储文件来定义架构,(包括支持 cake's migrations 和 SQL 转储文件)。
- 加入
TestSuite\HttpMockTrait,便于模拟 HTTP 客户端请求 - 加入
LocatorAwareTrait::fetchTable(),让getTableLocator()->get()更符合人体工程学。 - 加入
Controller::middleware(),这个方法可以定义特定于控制器的中间件,或者当前控制器的操作。 deprecationWarning()不再发出重复的警告。Form对象支持多个验证器,并利用与 ORM 类似的接口来使用这些验证器。- Logged SQL 查询现在使用布尔值,更容易粘贴到 repl 里面。
cake console指令被提取到一个新的cakephp/repl包中。CspMiddleware可以透明地添加基于nonce的策略。FormHelper将自动设置其他 ARIA 属性。- ORM 现在可以清楚地将用户时区的日期和时间设置为应用的时区。
- CakePHP 的依赖组件
league/container升级到 4.1.1 版本。
更新公告:https://github.com/cakephp/cakephp/releases/tag/4.3.0
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- quickly 1.3 版本发布,CSS 前端框架
- WebMagic 0.7.1 版本发布,Java 爬虫框架
- PHP 开发框架 TimoPHP 1.7.0 版本发布
- WebMagic 0.7.0 版本发布,Java 爬虫框架
- WebMagic 0.7.2 版本发布,Java 爬虫框架
- DiQuick Web 前端框架 1.2.3 版本更新
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Beginning Google Maps API 3
Gabriel Svennerberg / Apress / 2010-07-27 / $39.99
This book is about the next generation of the Google Maps API. It will provide the reader with the skills and knowledge necessary to incorporate Google Maps v3 on web pages in both desktop and mobile ......一起来看看 《Beginning Google Maps API 3》 这本书的介绍吧!
