Home » , » CakePHP Team Announced All The New CakePHP 3.0.0 Version For Users

CakePHP Team Announced All The New CakePHP 3.0.0 Version For Users

jaki watson | 02:50 | 0 comments

CakePHP Development India
On 22nd March, 2015, the CakePHP core team has announced the launch of CakePHP 3.0.0 that is the first API stable release for the 3.0 branch. However, this release is a backwards incompatible release with earlier CakePHP versions. PHP 5.4.16 or greater, .mbstring extension and intl extension are the different new requirements for CakePHP. 

In the below mentioned sections, you can find some of the key features of CakePHP 3.0 that are outlined, so let's have on the new features that has been added: 

Quick & More Flexible Routing

Now, reverse routing has about consistent time complexity. In the earlier releases, the reverse routing performance has been decreased as the number of routes increased. A big thanks to named routes and some other optimization and routing performance will not aggrade even with large numbers of routes. Routes can also be parsed and dispatched even faster than in earlier releases of CakePHP. 


One of the biggest and impressive changes in CakePHP 3.0 is the new ORM. However, the Model layer in CakePHP also served the community excellently for the past 8 years. 

The company through that there was a very big opportunity to learn from the tools other frameworks offer and create a flexible and powerful ORM for CakePHP. However, the ORM migration guides provide a complete information of the new ORM. Have a quick look on the features of the new ORM:

  • Support for different eager loading strategies
  • Support for composite primary keys
  • Use of the Datamapper Pattern
  • Embedded support for data post-processing with a full featured collections library. 
  • Enhanced query building with a fluent interface.
  • Capability of returning plain arrays or objects as results. 
  • For casting complex types from to the database, custom data type logic

Better Internationalization

To take benefit of the intl PHP extension, the  I18n subsystem was completely rewritten. It enables CakePHP to offer:

  • A locale-aware Time Library
  • Feature-rich translation messages
  • A locale-aware Number Library

Composer Usage

CakePHP, the application skeleton and various components are now installed with composer. The company has advised to use composer for installing CakePHP as it simplifies maintaining the dependencies for your application. 

Enhanced Debugging Toolbar

For 3.0, DebugKit has been rebuilt and provides more features than earlier with less overhead to your application. Moreover, this kit is installed by default in the new application skeleton. 

View Cells

View Cells are small classes, which offer controller-like functionality, but can be used directly in the view to pull data from any source and render a particular template. 

Standalone Libraries

Various CakePHP libraries have been split out into different standalone libraries. Each of these libraries can be used outside of CakePHP apps or in a 2.x application, where you wanted to start leveraging some of the new features in 3.0. 

Getting Started

The company has developed a new repository for the application skeleton on top of the framework. You  can easily install this and the development preview of CakePHP with the help of a composer. Once you download and install composer, you can make use of:

$ php composer.phar create-project cakephp/app

It will generate a new application, so you can start experimenting with CakePHP 3.0. 

Community Plugins

CakePHP 3.0 is in its young days, it already counts on a big community behind it. For this new version, a big list of plugins has been developed, and some of the top plugins that are used for version 2 have been upgraded already. 

You can also check-out the list of CakePHP 3 community plugins. You can get in-depth information on what is available and what still needs to be upgraded to the new version.

So, these are the new features of CakePHP 3.0 that all users can enjoy and get a lot of benefits. Businesses of different industries can hire a professional CakePHP developer, who has explored CakePHP 3.0 deeply to provide the best quality services.
Share this article :


Post a Comment

Design by: