CakePHP 3.1.5 發布,PHP 開發框架

jopen 10年前發布 | 8K 次閱讀 CakePHP

CakePHP 3.1.5 發布,PHP 開發框架

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

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

CakePHP 3.1.5 發布,此版本是個維護版本,主要是一些 bug 修復和小改進,主要 bug 修復:

  • Collection::toArray() now drops the keys when dealing with RecursiveIterator. This makes the collection features easier to reason about as they generally do what people have been expecting.

    </li>

  • Improved API documentation.

    </li>

  • ResultSet::isEmpty() no longer consumes records on buffered iterators that had not already been iterated.

    </li>

  • The ORM no longer emits invalid queries when eager loading associations using the subquery strategy, and using an ORDER BY clause. Fields used in ORDER BY clauses are also included in the selected fields.

    </li>

  • Error handling is now compatible with PHP7. This removes the last known compatibility error with PHP7.

    </li>

  • BelongsToMany associations use bindingKey correctly now.

    </li>

  • Integer marshalling correctly accepts negative values now.

    </li>

  • When executing Shell 'main' method the current command name is set to 'main'.

    </li>

  • spellcheck is now a standard attribute. Unlike most HTML5 attributes, spellcheck requires 'true' and 'false' values, which means it cannot be a minimized attribute.

    </li>

  • CSRF validation is applied to all HTTP methods that are not 'GET', 'OPTIONS' or 'HEAD'. This prevents invalid HTTP methods from bypassing CSRF validation.

    </li>

  • RouterBuilder::resources() correctly inflects the object id when using 'inflect' => 'dasherize' and nested resources.

    </li>

  • TimeHelper::format() no longer shifts string datetimes to the supplied timezone before formatting.

    </li>

  • Shell::createFile() no longer converts \n to \r\n silently when running on windows.

    </li> </ul>

    更多改進內容請看發行說明

    下載:cakephp-3-1-5.zip


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