PHP開發框架 CakePHP 2.0.6 發布

fmms 12年前發布 | 12K 次閱讀 PHP

PHP開發框架 CakePHP

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

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

CakePHP 2.0.6 發布了,這可能是 2.0 的最后一個版本,而接下來 CakePHP 團隊將致力于 2.1 版本的開發,目前 2.1 最新的版本是 beta 版(下載),將兼容 2.0 版本。

CakePHP 2.0.6 有超過 90 個提交以及解決了 45 個問題,主要有:

  • Updating minimum PHP version requirement to 5.2.8 due to PHP bugs #44251 and #45748
  • Model does not call calculate() and expression() method on the datasource if it does not implements it.
  • SqlServer views can be mapped with models as you can do with normal tables.
  • Fixed issue where session would always be regenerated regardeless of configs set.
  • Not requiring a database connection for Models having $useTable = false when combined with the FormHelper
  • Not throwing errors when instantiating model classes with no constructor using the ClassRegistry
  • Fixing memory leaks in some Database drivers
  • TextHelper::excerpt() now works as documented.
  • Defaulting back to using PHP_SELF to get current url, this solves several issues in shared hosts

相關鏈接:

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