CakePHP v3.3.4 發布,一個Web 快速開發框架

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

 

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

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

 

更新日志

Bug修復

  • __xn__dx and __dxn support variadic arguments now.
  • An incompatibility in Response::body(callable) & PSR7 stack was fixed.
  • Improved API docs resolving warnings in PHPStorm and other IDEs
  • Checkbox inputs now support the escape option.
  • Translations that result in '' no longer throws an exception.
  • EventManager::__debugInfo() is more accurate.
  • Fix notMatching() without query builder callback triggering an error.
  • Clean primary entity after Model.afterSaveCommit is triggered. Previously primary entity was being cleaned too early and callbacks for Model.afterSaveCommit were useless if one wanted to acccess original state.
  • The ErrorHandlerMiddleware now logs errors as ErrorHandler would.
  • Requests with an invalid HTTP protocol version no longer fatally error. Instead they return a 400 HTTP status code.
  • Redirect Routes now work as expected for applications in subdirectories using the PSR7 HTTP stack.
  • DispatchFilters now receive events when exceptions are rendered again.
  • Session regeration now works as expected with the database adapter, and PHP7+
  • Very large decimal values can now be used in database operations withouth losing precision now.

新功能

  • RouteBuilder::nameExists() was added. This method allows you to check the existence of named routes.
  • Collection:cartesianProduct() was added.
  • View::element() now supports plugin = false as an option to disable automatic plugin element rendering.
  • imageSizeimageHeight and imageWidth methods were added to Validation. These methods let you validate uploaded image file sizes without requiring additional extensions.

 

下載

 

本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/3958c840

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