设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

CakePHP 3.0.1发布,PHP开发框架

2015-4-8 22:20| 发布者: joejoe0332| 查看: 733| 评论: 0|原作者: oschina|来自: oschina

摘要: CakePHP 3.0.1 发布,此版本是个 bug 修复版本,主要改进如下:Reduced chances for timing attacks in HMAC comparisons in Security::decrypt() by using more constant time string comparisons.FormHelper now s ...

CakePHP 3.0.1 发布,此版本是个 bug 修复版本,主要改进如下:


  • Reduced chances for timing attacks in HMAC comparisons in Security::decrypt() by using more constant time string comparisons.

  • FormHelper now supports an idPrefix option. This option allows you to specify the prefix you want prepended to id attribute of all inputs FormHelper generates.

  • FormHelper now supports group templates for each input type. For example, theradioFormGroup template will be used for radio button sets.

  • Elements included in a prefixed request context now look in prefixed paths. When a controller runs in a prefixed route/namespace it will automatically append the current prefix to the view paths used to locate elements.

  • Schema reflection for Postgres no longer fails when foreign keys rely on stored procedures.

  • Schema reflection now treats money columns as strings. Due to leading currency codes the ORM cannot easily map this type into float values.

  • Selectboxes disable and select active options correctly now when complex option data is used.

  • Selectboxes can now have an empty name attribute.

  • URL filters are applied before the existing request context is applied now.

  • CakeI18nTime now supports short timezone offset formats.

  • Query logging now works when the duplicate named parameters are used.

  • existsIn rules now correctly set an error message when used with a list of fields.

  • RulesChecker methods can now return strings to indicate failure. The returned strings will be used as the error message if a field was also defined for the rule.

  • Primary key values can now be defined when creating entities. This improves compatibility with UUID’s where ID’s are generated outside of your application.

  • When saving/updating entities, existing HasMany associations can be re-linked using a _ids input similar to BelongsToMany associations.

  • Greatly improved performance around hydrating ORM results.

  • Improved PHP7 & HHVM compatibility.

  • Improved API documentation.


3 月 22 日正式发布了 CakePHP 3.0.0 版本

CakePHP 3.0.0 稳定版是向后不兼容版本,现在 CakePHP 最低要求:

  • PHP 5.4.16 及其以上

  • mbstring 扩展

  • intl 扩展


CakePHP 3.0 值得关注的改进如下:

最大的改进是新增 ORM

更快更灵活的 Routing

迁移改进

更好的国际化:


调试工具栏优化

DebugKit History Panel

其他改进:

  • Composer Usage

  • Standalone libraries

  • View Cells

CakePHP 最新版本下载:https://github.com/cakephp/cakephp/releases

更多内容请看发行说明

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

基于MVC架构
视图支持Ajax
内置校验框架
提供应用程序的基础模块和CRUD 代码自动生成功能
提供处理session,request,security的组件
灵活的视图缓存功能
面向对象
无需配置:只要安装好数据库
兼容PHP4和PHP5。


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部