PHP 開發框架,CakePHP 3.0.8 發布
CakePHP 是一個運用了諸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名設計模式的快速開發框架。該項目主要目標是提供一個可以讓各種層次的PHP開發人員快速地開發出健壯的Web應用,而 又不失靈活性。主要特性:
基于MVC架構
視圖支持Ajax
內置校驗框架
提供應用程序的基礎模塊和CRUD 代碼自動生成功能
提供處理session,request,security的組件
靈活的視圖緩存功能
面向對象
無需配置:只要安裝好數據庫
兼容PHP4和PHP5。
bug 修復
-
</li>EntityTrait::toArray()now handles mixed arrays better. Previously if the first element was an entity, it assumed that all elements were entities. -
Pagination now preserves query string arguments with
</li>as their value. -
</li>Validation::multiple()now correctly handles '0'. -
Previously it was impossible to use dot notation on two different calls to matching/contain when part of the string was shared (for example Articles.SpecialTags.Tags and Articles.SpecialTags.Authors).
</li> -
</li>TableRegistry::get()now correctly merges pre-configured options. -
Table names in
</li>UPDATEqueries are correctly quoted now. -
Fixtures now correctly reflect composite primary keys when generated.
</li> -
Both
</li>[]and''are now treated the same when saving belongsToMany associations. This fixes silent failures when '' was used. -
Numeric fields are cast to their string values when creating form security tokens. This resolves issues where integer values would cause validation failures.
</li> -
CsrfComponent now correctly sets the cookie expiry date.
</li> -
The list of available shell commands is now correct if there is an app Shell with the same name as a core one.
</li> -
Multicheckboxes generated with complex input types are now checked/disabled correctly.
</li> -
When updating belongsToMany links, association conditions are used. This fixes issues with polymorphic joint tables.
</li> -
Pagination with SQLServer 2008 now works better.
</li> -
AuthComponent no longer causes infinite redirects when an ajax request fails and
</li> </ul>/requires authentication. This was a regression in 3.0.7.改進
-
The fallback domain for translations can be disabled with
</li>I18n::useFallback(false). -
PaginatorComponents'
</li>sortWhitelistoption now allowsfalseto disable sorting entirely. -
Components now have a
</li>responseproperty set during initialization. -
</li> </ul>cake i18n extractnow generates missing directories.詳細改進請看更新日志,下載:cakephp-3-0-8.zip。
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!
-