CakePHP 3.1.7 發布,PHP 開發架構

來源:互聯網
上載者:User
CakePHP 3.1.7 發布,此版本主要是一些 bug 修複和小改進:

Bug 修複

  • Paginator::numbers() now treats numeric string values in first and last as strings.

  • Using invalid associations in ExistsIn rules now raises a helpful error.

  • BelongsToMany associations can have their fields limited through queryBuilder closures.

  • The $query->func()->now() query function works as expected in where conditions now.

  • XmlView no longer fails when attempting to output XML documents built with DOMDocument.

  • BelongsToMany _joinData is now marshalled consistently by Table::patchEntity() .

  • Missing Controller error pages display the correct class name and path for prefixed controllers.

小改進

  • IntegrationTestCase::cookieEncrypted() was added. This helper lets you set the value of encrypted cookies.

  • IntegrationTestCase::assertCookieEncrypted() was added. This assertion lets you compare encrypted cookie values.

  • FormHelper now forwards templateVars to the templates for submitContainer and inputSubmit .

  • Collection::chunk() was added. This method lets you split a collection into equal sized chunks.

  • Exception classes were added for Conflict (409), Gone (410), Not Acceptable (406) and Service Unavailable (506).

  • Configure::readOrFail() was added. This method will read a value from Configure and raise an exception if it does not exist.

下載: cakephp-3-1-7.zip

CakePHP 是一個運用了諸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名設計模式的快速開發架構。該項目主要目標是提供一個可以讓各種層次的PHP開發人員快速地開發出健壯的Web應用,而 又不失靈活性。主要特性:

基於MVC架構

視圖支援Ajax

內建校正架構

提供應用程式的基礎模組和CRUD 代碼自動產生功能

提供處理session,request,security的組件

靈活的視圖緩衝功能

物件導向

無需配置:只要安裝好資料庫

相容PHP4和PHP5。

  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.