CakePHP v3.4.3 發布,一個Web 快速開發框架
CakePHP是一個運用了諸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名設計模式的快速開發框架。該項目主要目標是提供一個可以讓各種層次的PHP開發人員快速地開發出健壯的Web應用,而 又不失靈活性。主要特性:
- 基于MVC架構
- 視圖支持Ajax
- 內置校驗框架
- 提供應用程序的基礎模塊和CRUD 代碼自動生成功能
- 提供處理session,request,security的組件
- 靈活的視圖緩存功能
- 面向對象
- 無需配置:只要安裝好數據庫
- 兼容PHP4和PHP5。
更新日志
Query::rowCountAndClose()
was added enabling you to get a rowcount and close a statement in a single method. This is intended to be used with delete and update queries.ServerRequest
now correctly handles$_FILES
when the keys are out of order.- Newlines in the confirm messages created by FormHelper are now preserved.
- The
$showHtml
argument ofdd()
is now used. - CLI commands can now return integers to indicate errors.
Response::withStringBody()
was added making it easier to create responses with simple string bodies.- The
lib-ICU
version requirement was removed. It was causing installation issues for many users on windows. - The elipsis in
PaginatorHelper::numbers()
always replaces more than one page now. Previously it would sometimes replace only a single page. cake routes generate
now parses boolean arguments.- Incorrect attributes in the XML help for CLI commands have been fixed.
HtmlHelper::meta()
now accepts theblock
option in the custom meta tag array data.- In a nested transaction when a rollback is followed by a commit, an exception is now raised as the entire transaction must be aborted when save points are not being used. The previous behavior could result in operations following the first rollback to succeed as they ran in a standalone transaction.
- Error handling now always includes the file name and line number.
Entity::setVirtual()
andEntity::setHidden()
now merge non-associative array arguments when called multiple times with the merge parameter.TranslateBehavior
'sallowEmptyTranslations
option no longer creates orphaned records when translated text is empty.Text::highlight()
now has alimit
option.TableSchema::removeColumn()
was added.
下載
本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/50fb2ba
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!