泰山神 发表于 2015-8-18 10:10:56

CakePHP 3.1.0

欢迎加入运维网交流群:263444886  
  CakePHP 3.1.0-beta 发布,此版本添加了一些新特性:Mailers 可以创建可复用的邮件;Templates 额外的模版变量;Shell Helpers 等等。
  
ORM 增强

[*]  Lazy Eager Loading
[*]  Additional Filtering Methods
  CakePHP 3.0 重要改进:

[*]  FlashComponent now stacks Flash messages when set with the set() or __call() method.
  
[*]  New config storage has been added.
  
[*]  RequestHandlerComponent now switches the layout and template based on the parsed extension or Accept-Type header in the beforeRender()callback instead of startup().
[*]  The default mime type used when sending requests has changed in Http\Client.
  
其他改进

[*]
  The default route>DashedRoute in the cakephp/app repo. Your current code base is not affected by this, but it is recommended to use this route>
[*]  The breakpoint() helper function has been added. This function provides a snippet of code that can be put into eval() to trigger an interactiveconsole.
[*]  Shell::dispatchShell() no longer outputs the welcome message from the dispatched shell.
[*]  You can now set _serialized to true for JsonView and XmlView to serialize all view variables instead of explicitly specifying them.
[*]  Time::fromNow() has been added. This method makes it easier to calculate differences from 'now'.
[*]  Time::i18nFormat() now supports non-gregorian calendars when formatting dates.
废弃

[*]  The SessionHelper has been deprecated. You can use $this->request->session() directly.
  下载:cakephp-3-1-0-beta.zip

  CakePHP是一个运用了诸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名设计模式的快速开发框架。该项目主要目标是提供一个可以让各种层次的PHP开发人员快速地开发出健壮的Web应用,而又不失灵活性。主要特性:
  基于MVC架构
  视图支持Ajax
  内置校验框架
  提供应用程序的基础模块和CRUD 代码自动生成功能
  提供处理session,request,security的组件
  灵活的视图缓存功能
  面向对象
  无需配置:只要安装好数据库
  兼容PHP4和PHP5。
页: [1]
查看完整版本: CakePHP 3.1.0