CakePHP

From Wikipedia, the free encyclopedia

Jump to: navigation, search
CakePHP
Image:cake-logo.png
Developed by Cake Software Foundation, Inc.
Latest release 1.1.19.6305 / 01 January 2008; 338 days ago
Preview release 1.2.0.7692 RC3 / 02 October 2008; 63 days ago
Written in PHP
OS Cross-platform
Type Web application framework
License MIT License
Website http://www.cakephp.org

CakePHP is an open source web application framework for producing web applications written in PHP. It is written in PHP, is modeled after the concepts of Ruby on Rails, and is distributed under the MIT License.[1]

Contents

[edit] History

CakePHP started in 2005, when Ruby on Rails was gaining popularity. The community has since grown and spawned several sub-projects. CakePHP is not a port of Ruby on Rails to PHP, but appropriates many of its useful concepts.

The Mambo Foundation announced in 2007 that it would utilize the CakePHP framework for future versions of its widely used content management system, calling CakePHP a "solid choice and certainly one of the top frameworks available today."[2]

[edit] Features of CakePHP

Like Rails, CakePHP makes it easier for the user to interface with the database with active records. It also encourages use of the model-view-controller architectural pattern.

  • Compatible with PHP4 and PHP5
  • Integrated CRUD for database and simplified querying
  • Request dispatcher with custom URLs
  • Templating (PHP syntax with helper methods)
  • View helpers for AJAX, Javascript, HTML forms
  • Website directory independent
  • Built-in validation
  • Access control lists (ACL)
  • Application scaffolding[3]
  • Data sanitization
  • Security, session, and request handling components
  • View caching
  • Unit testing using the SimpleTest framework, available in CakePHP version 1.2

[edit] See also

[edit] References

  1. ^ "CakePHP Manual - What is CakePHP?". Retrieved on 2007-12-10.
  2. ^ Auld, Chad. Baking Mambo. Jul 20, 2007
  3. ^ "CakePHP Manual - Application Scaffolding". Retrieved on 2007-04-23.
Books
  • Fabio Cevasco, "CakePHP Recipes", New Riders Publishing, 2007, ISBN 0321497732
  • David Golding, "Beginning CakePHP: from Novice to Professional", Apress, 2008, ISBN 1430209771

[edit] External links

Personal tools