PHP 開發框架,CakePHP 3.0.12 發布
CakePHP 是一個運用了諸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名設計模式的快速開發框架。該項目主要目標是提供一個可以讓各種層次的PHP開發人員快速地開發出健壯的Web應用,而 又不失靈活性。主要特性:
基于MVC架構
視圖支持Ajax
內置校驗框架
提供應用程序的基礎模塊和CRUD 代碼自動生成功能
提供處理session,request,security的組件
靈活的視圖緩存功能
面向對象
無需配置:只要安裝好數據庫
兼容PHP4和PHP5。
更新內容
Bug 修復
-
RuleChecker::existsIn()handles nullable fields better. -
Entities created by plugin associations have the correct return value for
source() -
Case statements accept literal values now.
-
Methods defined on Controller can never be used as actions. Before, methods redefined on AppController, or a subclass could be invoked as actions.
-
Plugin dot syntax can no longer be used to reference controllers in URLs.
-
LocaleSelectorFilterno longer sets the default locale. Instead it sets the active locale. -
AuthComponent correctly redirects when an application is in a subdirectory.
功能增強
-
Query::orderAsc()andQuery::orderDesc()were added. These methods make it possible to order on complex expressions. -
PaginatorHelper::next()andprev()accept atemplatesoption now. -
The serialization format for
Timeobjects can now be set withTime::setJsonEncodeFormat().