Share on Facebook Share on Twitter Email
Answers.com

CakePHP

 
Wikipedia: CakePHP
CakePHP
Cake-logo.png
Developer(s) Cake Software Foundation, Inc.
Stable release 1.2.5[1] / 2009-09-08; 2 months ago
Preview release 1.3-alpha[2] / 2009-11-03; 15 days ago
Written in PHP
Operating system Cross-platform
Development status Active
Type Web application framework
License MIT License
Website http://www.cakephp.org

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

Contents

History

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

Lithium fork

In October 2009, project manager Garrett Woodworth and developer Nate Abele resigned from the project to focus on Lithium,[6][7] a framework code base originally being developed at the CakePHP project as "Cake3", but which was not agreed upon by the entire development team as a replacement for CakePHP. The remaining development team continued to focus on the original roadmap that was previously defined.[8]

Features of CakePHP

Like Rails, CakePHP makes it easier for the user to interface with the database with the Active record pattern. It also encourages use of the model-view-controller architectural pattern. Upcoming version 2.0 of CakePHP is being modeled around the Data Mapper architectural pattern.[9] Its features include:

Console applications

CakePHP offers a CLI accessed by the "cake" command. There are several core console applications available in the library, among them:

  • "acl" for the management of Access Control Lists
  • "bake" for the generation of models, controllers and views
  • "i18n" for application internationalization
  • "schema" for database schema creation and migration.
  • "testsuite" for running unit tests, including model, controller and web tests.

Developers can also create their own "shells" and shared functionality across these shells called "tasks" (in CakePHP's parlance).[20] The scripts have access to the application's models and controllers. An example use-case for this would be the scheduled update of the application's data from an RSS or other data feed, with the full power of the application logic and data relationships created with CakePHP.

See also

References

  1. ^ "Release: 1.2.5.". http://bakery.cakephp.org/articles/view/release-cakephp-1-2-5. Retrieved 2009-09-14. 
  2. ^ "Hot out of the oven CakePHP 1.3 alpha.". http://bakery.cakephp.org/articles/view/hot-out-of-the-oven-cakephp-1-3-alpha. Retrieved 2009-11-05. 
  3. ^ "CakePHP Manual - What is CakePHP?". http://manual.cakephp.org/chapter/intro. Retrieved 2007-12-10. 
  4. ^ "CakeForge". http://cakeforge.org. Retrieved 2009-09-05. 
  5. ^ "TheChaw". http://thechaw.com. Retrieved 2009-09-05. 
  6. ^ Rampersad, Ryan (2009-10-23). "The State of CakePHP". http://ryan.ifupdown.com/2009/10/23/the-state-of-cakephp/. Retrieved 2009-11-06. 
  7. ^ "Lithium project web site". http://li3.rad-dev.org/. Retrieved 2009-11-06. 
  8. ^ "The Cake is Still Rising". http://bakery.cakephp.org/articles/view/the-cake-is-still-rising. Retrieved 2009-10-25. 
  9. ^ "CakePHP 2.x Roadmap". http://code.cakephp.org/cakephp2/wiki. Retrieved 2009-10-26. 
  10. ^ "CakePHP 2.x Roadmap". http://code.cakephp.org/cakephp2/wiki. Retrieved 2009-10-26. 
  11. ^ "Developing with CakePHP - Scaffolding". http://book.cakephp.org/view/105/Scaffolding. Retrieved 2009-07-09. 
  12. ^ "Understanding Model-View-Controller". http://book.cakephp.org/view/10/Understanding-Model-View-Controller. Retrieved 2009-09-04. 
  13. ^ "Data Validation - Common Tasks with CakePHP". http://book.cakephp.org/view/125/Data-Validation. Retrieved 2009-09-04. 
  14. ^ "Data Sanitization - Common Tasks with CakePHP". http://book.cakephp.org/view/153/Data-Sanitization. Retrieved 2009-09-04. 
  15. ^ "Internationalization and localization - Common Tasks with CakePHP". http://book.cakephp.org/view/161/Internationalization-Localization. Retrieved 2009-09-04. 
  16. ^ "Core Behaviors". http://book.cakephp.org/view/495/Core-Behaviors. Retrieved 2009-09-05. 
  17. ^ "Core Components". http://book.cakephp.org/view/170/Core-Components. Retrieved 2009-09-04. 
  18. ^ "Core Helpers". http://book.cakephp.org/view/181/Core-Helpers. Retrieved 2009-09-04. 
  19. ^ "Testing - Common Tasks with CakePHP". http://book.cakephp.org/view/160/Testing. Retrieved 2009-09-04. 
  20. ^ "Creating Shells & Tasks - The CakePHP Console". http://book.cakephp.org/view/110/Creating-Shells-Tasks. Retrieved 2009-09-04. 

Bibliography

External links


Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
 
 
Learn More
Kibaha secondary school
Scaffold (programming)
List of software that uses the MIT License

Help us answer these
Advantages and disadvantages of cakephp?
CakePHP - Intercept action's view before mixed with layout?

Post a question - any question - to the WikiAnswers community:

 

Copyrights:

Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "CakePHP" Read more