PHP 開發框架,CakePHP 3.1.7 發布

jopen 8年前發布 | 5K 次閱讀

CakePHP 3.1.7 發布,此版本主要是一些 bug 修復和小改進:

Bug 修復

  • Paginator::numbers()now treats numeric string values infirstandlastas 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.

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

  • BelongsToMany_joinDatais now marshalled consistently byTable::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 forwardstemplateVarsto the templates forsubmitContainerandinputSubmit.

  • 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 3.1.7 發布,PHP 開發框架

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

基于MVC架構
視圖支持Ajax
內置校驗框架
提供應用程序的基礎模塊和CRUD 代碼自動生成功能
提供處理session,request,security的組件
靈活的視圖緩存功能
面向對象
無需配置:只要安裝好數據庫
兼容PHP4和PHP5。

來自: http://www.oschina.net/news/69764/cakephp-3-1-7

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!