CakePHP 4.0.0 release, PHP rapid development framework

CakePHP 4.0.0 has been released. CakePHP is a rapid application development framework such as ActiveRecord, Association Data Mapping, Front Controller and MVC design patterns such as the famous. The project goal is to provide a variety of levels that allows PHP developers to quickly develop robust Web applications, without sacrificing flexibility.

While the second and final candidate version 4.0.0, that  CakePHP 4.0.0-RC2  also been released recently, which includes all the main features planned for 4.0.0. That time, there was news sources, if no major problems reported, stable version 4.0.0 will be released in two weeks.

It is reported that, CakePHP 4.0.0's main features are as follows:

  • It requires PHP 7.2.
  • Simplified API, delete all the methods and behavior is not recommended.
  • Other types of frame tips.
  • Improved overall frame error message.
  • Refresh application framework design.
  • Fixed-length string (CHAR), new data types of datetime datetime and types of belts with time zone milliseconds.
  • Table  now has  OrFail  Methods, which can cause abnormal malfunction, making error handling more clearly and directly.
  • CSP headers, to prevent tampering and forms HTTPS embodiment middleware.
  • Cake \ Routing \ Asset , allows you to easily anywhere in the application code generation asset URL.
  • FormHelper can generate HTML5 validation error.
  • FormHelper 可生成 HTML5 datetime input elements

In addition, there Migration Guide, which covers all not recommended, deleted, and new features. And Upgrade Guide , which provides a step by step guide and CLI tools to help users upgrade applications.

Details: https://bakery.cakephp.org/2019/12/15/cakephp_400_released.html

Guess you like

Origin www.oschina.net/news/112117/cakephp-4-0-0-released