CakePHP 3.0.5 發布,PHP 開發框架
CakePHP 3.0.5 發布,此版本是個維護版本,更新內容如下:
Bug 修復
-
Filesystem libraries are now available as a standalone package through composer.
-
QueryLogger correctly interpolates parameters when there are more than 10 placeholders.
-
Datetime inputs correctly render seconds picker elements. Previously they did not include 00.
-
Marshalling belongsToMany
_joinData
was improved. The marshaller now correctly handles a mix of new and existing entities. -
InstanceConfigTrait deletes nested data correctly now.
-
SQLite fixtures now generate primary key columns correctly in all situations.
-
Property caching in Entities was made less aggressive. The mutator caches are now completely invalided when any property is changed.
-
Association conditions are no longer used when marshalling existing belongsToMany records.
-
i18n shell creates separate po file entries for messages with differing contexts.
-
The
@
syntax for file uploads in Http\Client was deprecated. Instead you should use resource handles. The@
syntax is unsafe with user supplied data and will be removed in a future version of CakePHP. -
Blob fields in SQLServer are now hexdecoded before being converted into resource handles.
-
FormHelper will not default datetime pickers to 'now' unless the input also has the
default => true
option supplied. This was done to make it easier to work with nullable datetime fields. -
QueryExpressions containing subqueries now correctly wrapped in parenthesis.
改進
-
Validator::addNested()
andValidator::addNestedMany()
were added. These methods allow you to create validators for nested array properties. -
Collection::unwrap()
was added. -
Folder::copy()
now supports a non-recursive mode. -
Collection::zip()
andCollection::zipWith()
were added. -
The
__debugInfo()
method was implemented in Form and Validator objects. This improves DebugKit anddebug()
output.
此版本現已提供下載:cakephp-3-0-5.zip。
CakePHP是一個運用了諸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名設計模式的快速開發框架。該項目主要目標是提供一個可以讓各種層次的PHP開發人員快速地開發出健壯的Web應用,而 又不失靈活性。主要特性:
基于MVC架構
視圖支持Ajax
內置校驗框架
提供應用程序的基礎模塊和CRUD 代碼自動生成功能
提供處理session,request,security的組件
靈活的視圖緩存功能
面向對象
無需配置:只要安裝好數據庫
兼容PHP4和PHP5。
來自:http://www.oschina.net/news/62557/cakephp-3-0-5