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

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

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

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,336
    赞:
    47
    CakePHP 3.1.2 发布,此版本包括一些 bug 修复和改进:

    Bug 修复:


    • Contained associations now add column typ data into queries. This means that you can use complex datatypes like DateTime objects in conditions for association columns.


    • XHR requests with query strings that are converted into requestAction calls by RequestHandlerComponent now work as expected.


    • Hash::extract() compatibility with ArrayAccess objects was improved.


    • Case expressions in queries no longer mishandle '0'.


    • debug() no longer elides 'schema' and 'prefix'.


    • Validation::datetime() now accepts ',' between the date and time components. This makes validating en_US formatted dates easier.


    • Rendering issues in the ProgressHelper have been fixed.


    • clone on Query objects now creates a deep clone as one would expect.


    • Corrected API documentation.

    改进


    • HasMany associations now support a 'replace' save mode. In this mode, existing associations not in the entity's current property will be removed. New records will also be inserted.


    • IntegrationTestCase now provides enableCsrfToken() and enableSecurityToken() methods to make testing with CsrfComponent and SecurityComponent much simpler.


    • The CSRF token post field is now removed from request data after being validated. This makes 'Post Redirect Get' workflows simpler as the CSRF token doesn't need to be manually removed.


    • Network\Socket now supports all standard SSL context options via prefixing. e.g ssl_verify_peer. These options can also be configured in the SmtpTransport.


    • Test Fixture constraint management has been greatly improved. You no longer need to carefully order fixtures to ensure constraints are applied correctly. Instead constraints are created after all tables and records have been created.


    • When preparing datatypes for SQL statements, exceptions will now be raised on invalid values instead of silent failures.

    下载:cakephp-3-1-2.zip

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

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