CakePHP
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.[1]
History
CakePHP started in 2005, when Ruby on Rails was gaining popularity. The community has since grown and spawned several sub-projects.[2][3] 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,[4][5] 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.[6]
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.[7] Its features include:
- Compatible with versions 4 and 5 of PHP
- CakePHP 2.0 is planned for supporting PHP 5.2 and above (including PHP 5.3)[8]
- Integrated CRUD for datasource interaction
- Application scaffolding[9]
- MVC architecture[10]
- Built-in validation,[11] Data sanitization,[12] and Internationalization and localization[13]
- Various Behaviors, Components and Helpers to minimize development time[14][15][16]
- Unit testing using the SimpleTest framework, available in CakePHP version 1.2[17]
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).[18] 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
- ↑ "CakePHP Manual - What is CakePHP?". http://manual.cakephp.org/chapter/intro. Retrieved 2007-12-10.
- ↑ "CakeForge". http://cakeforge.org. Retrieved 2009-09-05.
- ↑ "TheChaw". http://thechaw.com. Retrieved 2009-09-05.
- ↑ Rampersad, Ryan (2009-10-23). "The State of CakePHP". http://ryan.ifupdown.com/2009/10/23/the-state-of-cakephp/. Retrieved 2009-11-06.
- ↑ "Lithium project web site". http://li3.rad-dev.org/. Retrieved 2009-11-06.
- ↑ "The Cake is Still Rising". http://bakery.cakephp.org/articles/view/the-cake-is-still-rising. Retrieved 2009-10-25.
- ↑ "CakePHP 2.x Roadmap". http://code.cakephp.org/cakephp2/wiki. Retrieved 2009-10-26.
- ↑ "CakePHP 2.x Roadmap". http://code.cakephp.org/cakephp2/wiki. Retrieved 2009-10-26.
- ↑ "Developing with CakePHP - Scaffolding". http://book.cakephp.org/view/105/Scaffolding. Retrieved 2009-07-09.
- ↑ "Understanding Model-View-Controller". http://book.cakephp.org/view/10/Understanding-Model-View-Controller. Retrieved 2009-09-04.
- ↑ "Data Validation - Common Tasks with CakePHP". http://book.cakephp.org/view/125/Data-Validation. Retrieved 2009-09-04.
- ↑ "Data Sanitization - Common Tasks with CakePHP". http://book.cakephp.org/view/153/Data-Sanitization. Retrieved 2009-09-04.
- ↑ "Internationalization and localization - Common Tasks with CakePHP". http://book.cakephp.org/view/161/Internationalization-Localization. Retrieved 2009-09-04.
- ↑ "Core Behaviors". http://book.cakephp.org/view/495/Core-Behaviors. Retrieved 2009-09-05.
- ↑ "Core Components". http://book.cakephp.org/view/170/Core-Components. Retrieved 2009-09-04.
- ↑ "Core Helpers". http://book.cakephp.org/view/181/Core-Helpers. Retrieved 2009-09-04.
- ↑ "Testing - Common Tasks with CakePHP". http://book.cakephp.org/view/160/Testing. Retrieved 2009-09-04.
- ↑ "Creating Shells & Tasks - The CakePHP Console". http://book.cakephp.org/view/110/Creating-Shells-Tasks. Retrieved 2009-09-04.
Bibliography
- Golding, David (July 21, 2008), Beginning CakePHP: from Novice to Professional (1st ed.), Apress, pp. 344, ISBN 1430209771, http://www.apress.com/book/view/9781430209775
- Chan, Kai; Omokore, John; Miller, Richard (December 2, 2008), Practical CakePHP Projects (1st ed.), Apress, pp. 400, ISBN 143021578X, http://www.apress.com/book/view/9781430215783
- Bari, Ahsanul (July 15, 2008), CakePHP Application Development (1st ed.), Packt Publishing, pp. 332, ISBN 1847193897, http://www.packtpub.com/cakephp-application-development/book
External links
- Official Website
- Official Community Portal
- Official Question and Answer Site
- Official Documentation
- Official API
- Tickets
- Official CakePHP Code Repository
- Cook up Web sites fast with CakePHP - DeveloperWorks series from IBM on CakePHP
|
|
ca:CakePHP cs:CakePHP de:CakePHP es:CakePHP fr:CakePHP ko:CakePHP it:Cakephp nl:CakePHP ja:CakePHP no:CakePHP pl:CakePHP pt:CakePHP ru:CakePHP th:CakePHP tr:CakePHP
If you like SEOmastering Site, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...