Features of CakePHP 2
- It uses various features like PHP data object, Standard PHP Library, json_encode and many more things.
- In this all the classes map to a particular file with the same name. So we have does not have to remember various things.
- It is more easier to configure because it has new errors and exception handlers, now developer can easily work with errors like page not found, user not authorized and much more.
It is extremely flexible, powerful, and lightweight ORM .Beautifully simple form generator for single and multiple entities. Built in internationalization that actually make sense. Middleware stack oriented without sacrificing familiarity and readability.
Enhanced helpers and components
In the CakePHP version 3 the FlashHelper and FlashComponent to provides boost support for the advanced technology parameters are made in Flash messages. Simple form generator for single and multiple entities.
Improvements in ORM
In object relation mapping various changes are made in the API to make things simpler to understand and authorize association while saving the data.