1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 CakePHP 3.0.1 发布,PHP 开发框架 下载

本帖由 漂亮的石头2015-04-08 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    486,020
    赞:
    46
    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

    迁移改进

    更好的国际化:


    调试工具栏优化

    [​IMG]

    其他改进:


    • 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。
    CakePHP 3.0.1 发布,PHP 开发框架下载地址
     
正在加载...