With the version 3, CakePHP has been able to capture a lot of new things this time with the amazing user-oriented approach that it has been able to do quite successfully in past.
Here’s the list of new features and enhancements that has been incorporated within the new architecture for you to have a better experience with the framework (based on Alpha
release of CakePHP 3.0). Have a look:
- Better performing assets: You can expect CakePHP 3 to work faster and better with performance improvements to the bootstrap process and taking many other processes in consideration, for various technical conditions and activities like routing and generating helper templates.
- Enhanced components and helpers: With its upgraded and stronger FlashComponent and FlashHelper you get more in terms of Flash services and get to do better with Flash messages. This makes you handle cookie data and configure namespaces even better than ever.
- Improved session management: No more static classes. With CakePHP 3 you can call session from the request object $this->request->session(). This is going to help you effectively use PHPUnit 4.x besides allowing you to test the session in a real easy manner.
- More consistency of conventions: It’s something that has really made the framework look bolder and broader in its offering. The overall skeleton of application can be handled more consistently and in an orderly manner. The directory structure and plug-ins are now planned in a more organized way with CakePHP 3.0.
- Themes and plug-ins merged: Any application that we build today needs a workable and highly engrossed theme that connects with its user’s needs well. With themes and plug-ins merged in so well, it clearly looks how themes are going to get packaged and presented with CakePHP 3 - done in a really simplified manner.
- ORM Improvements: Object Relational Mapping is being used by frameworks to reduce the learning curve and perplexity for new developers. CakePHP 3 takes care of this really well and presents a fresh version of ORM to be worked upon by the adopters most easily and effectively.
Apart from these amazing features there are also few other amazing resourceful plans that have been introduced by CakePHP 3.0. The most noticeable of them are:
- Feature enhancement for Internationalization and localization (i18n and L10n)
- An alternate for CacheHelper based on Edge Side Includes
- A completely new routing API for easy and rapid route declaration
With such great changes and feature updates on the board, CakePHP 3 indeed looks more defining and planned to be used by the CakePHP developers (including the new adopters) than its previous versions.