The Rapid Development PHP Framework
What is Cake PHP?
According to the official Cake PHP website, cakephp.org,
“CakePHP is a rapid development framework for PHPthat provides an extensible architecture for developing, maintaining, and deploying applications.
Using commonly known design patterns like MVC and ORM within the convention over configuration paradigm, CakePHP reduces development costs and helps developers write less code”
History
Cake PHP was created by Michal Tatarynowicz On April 15, 2005.Inspired by Roby on Rails.Michal published it under MIT license and opened it to the community developers.In July 2005, Larry E Masters (aka PhpNut) took over asthe lead developer.In December 2005, Larry and Garrett J. Woodworth (aka gwoo) founded the Cake Software Foundation to promote development related to Cake PHP.
Features of Cake PHP
it’s PHP! Compatibles with versions 4 and 5. Open Source, MIT license.Object Oriented. Design Patterns: MVC and ORM.Convention over configuration. Framework not set of libraries. Bake Script: Automates CRUD scriptingMVC pattern
PHP Cake enforces Model View Controller (MVC) Pattern.Cake splits operations into three parts:
- Models: used for all database interactions.
- Views: used for all output and displays.
- Controllers: used to control the application flow.
why Cake PHP MVC?
- Reduce redundancy
- Organize the different tasks of the web app.
- No need for include statements in PHP scripts.
- Follow Agile techniques.
- Easy to debug and maintain