In association with heise online

17 October 2011, 14:34

CakePHP 2.0.0 is PHP 5.2+ powered

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit

CakePHP logo

The CakePHP development team has released CakePHP version 2.0.0. This first release of the 2.x series has dropped support for PHP 4 and the codebase has been refactored to be compliant with PHP 5.2 and later. CakePHP is an open source web application framework written in PHP, but modeled on the design of Ruby on Rails; a list of web sites currently using CakePHP can be found on the Sites in the wild web page.

New for CakePHP 2.0.0 is support for PHP 5 features including PHP 5 exceptions, the Standard PHP Library, json_encode and PHP Data Objects, which provide access to databases in PHP. The PSR-0 naming convention has been adopted, which allows all classes to be mapped to a file with the same name as the class. Objects can now be injected as CakePHP libraries, which the developers say leaves "no more excuses for modifying core files". They also say that, due to extensive use of lazy-loading, CakePHP is now considerably faster, even in debug mode.

CakePHP's underlying console libraries have been rebuilt from scratch, with automatic help generation, parameter checking and colour highlighting. PHPUnit replaces SimpleUnit as the testing framework in CakePHP, and support for PostgreSQL, SQLite and Microsoft SQL Server data sources has been improved. A new documentation section for CakePHP 2.0 has been written, as has a detailed migration guide for CakePHP 1.3 users.

The release of CakePHP 2.0.0 coincides with the release of version 1.3.13, a point update which fixes two regressions introduced in version 1.3.12. CakePHP 1.3.13 also removes MIME type notices from EmailComponent to fix delivery problems, and has improvements to SecurityComponent and TranslateBehavior. More information on these releases can be found in the changelogs for versions 2.0.0 and 1.3.13. CakePHP is available to download from the CakePHP web site, and is licensed under the MIT licence.


Print Version | Send by email | Permalink:

  • July's Community Calendar

The H Open

The H Security

The H Developer

The H Internet Toolkit