Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

CakePHP

From Wikipedia, the free encyclopedia
Open-source web framework in PHP
CakePHP
DeveloperCake Software Foundation, Inc.
Initial releaseApril 2005; 20 years ago (2005-04)
Stable release
5.3.0[1] Edit this on Wikidata / 2026-01-09;41 days ago
Written inPHP
Operating systemCross-platform
PlatformPHP 8.1+
Available inMultilingual
TypeWeb framework
LicenseMIT License
Websitecakephp.orgEdit this at Wikidata
Repository

CakePHP is anopen-sourceweb framework. It follows themodel–view–controller (MVC) approach and is written inPHP, modeled after the concepts ofRuby on Rails, and distributed under theMIT License.[2]

CakePHP uses well-knownsoftware engineering concepts andsoftware design patterns, such asconvention over configuration,model–view–controller,active record,association data mapping, andfront controller.

History

[edit]

CakePHP started in April 2005, when the Polish programmer Michal Tatarynowicz[3] wrote a minimal version of arapid application development framework inPHP, dubbing it Cake.[4][5][6] He published the framework under the Public Domain license - which was soon changed to MIT License - and opened it up to the online community of developers.[citation needed]

In December 2005, L. Masters and G. J. Woodworth founded the Cake Software Foundation to promote development related to CakePHP.[6] Version 1.0 was released in May 2006.

One of the project's inspirations wasRuby on Rails, using many of its concepts.The community has since grown and spawned several sub-projects.[7][8]

In October 2009, project manager Woodworth and developer N. Abele resigned from the project to focus on their own projects, including theLithium web framework (previously part of the CakePHP project). The remaining development team continued to focus on the original roadmap that was previously defined.[9]

Features

[edit]

Plugins allow developers to package combinations of controllers, models, views and other classes for reuse in multiple applications and by other developers. Since CakePHP 3 it has been possible to install plugins usingComposer.[10]

CakePHP ORM (object-relational mapping) is an advanced PHP hybrid of theactive record pattern and thedata mapper pattern, borrowing core concepts from both. The CakePHP ORM uses two primary object types, the table class representingdatabase tables, and entity classes representing individualtable rows.[11]

Query builder was introduced in CakePHP 3 as a companion to the new ORM. The query builder provides a set of classes and methods for programmatically building SQL queries instead of writing them by hand. The ORM makes extensive use of the query builder.[12]

Routing and reverse routing. The CakePHP router allows for complexHTTP application routing, routing incoming requests to the correct controller and action. Reverse routing creates a relationship between routes and links, ensuring that links are always generated with the correctuniform resource locator.

View Cells provide small, mini-controllers that can invoke view logic and render templates. These are ideal for creating small, reusable page components.

Migrations provideversion control fordatabase schemas. These make it possible to ensure that changes to application logic and corresponding database changes are kept synchronised. This greatly simplifies both CakePHP application deployment, but also development in multi-developer teams. The CakePHP migration tool is based on the Phinx project.

Automatic pagination to make it easy for developers to paginate result sets generated by the ORM or Query Builder.

Form builder and validator allows for the programmatic generation offorms that are tied to the model layer for both data types and validation.[13]

CakePHP Bake is a tool for automatically generating application,skeletons andboilerplate code. It uses a pre-existing database schema to infer the correctdata relations and data types and using that to generate a full set of controllers, model object and view templates. It can generate a basicCRUD application with zero coding.[14]

Conferences

[edit]
Year[15]Location
2025Madrid, Spain
2024Esch-sur-Alzette, Luxembourg
2023Los Angeles, USA
2022Virtual
2021Virtual
2020Virtual
2019Tokyo, Japan
2017New York, NY, USA
2016Amsterdam, Netherlands
2015New York, NY, USA
2014Madrid, Spain
2013San Francisco, CA, USA
2012Manchester, UK
2011Manchester, UK
2010Chicago, IL, USA
2009Berlin, Germany
2008Buenos Aires, Argentina
2008Orlando, FL, USA

See also

[edit]

References

[edit]
  1. ^"CakePHP 5.3.0 Released". 9 January 2026.
  2. ^"CakePHP Manual - CakePHP at a Glance". Retrieved2015-03-09.
  3. ^"Contributors - cakephp".cakephp.lighthouseapp.com.
  4. ^"Introduction to CakePHP - 1.1".book.cakephp.org.
  5. ^"Cakephp:history_of_cakephp [Neurosciences]". Archived fromthe original on 2016-03-03. Retrieved2012-08-31.
  6. ^ab"Listing"(PDF).www.cs.colorado.edu. Retrieved2019-07-01.
  7. ^"CakeForge". Archived fromthe original on 2009-09-08. Retrieved2009-09-05.
  8. ^"TheChaw". Retrieved2009-09-05.
  9. ^"The Cake is Still Rising". Archived fromthe original on 2010-10-10. Retrieved2009-10-25.
  10. ^"Plugins". Retrieved2020-03-13.
  11. ^"ORM". Retrieved2020-03-13.
  12. ^"Query builder". Retrieved2020-03-13.
  13. ^"Form helper". Retrieved2020-03-13.
  14. ^"CakePHP 3: Bake by example". 31 August 2010. Retrieved2020-03-13.
  15. ^"Events".cakefest.org. Retrieved2024-03-21.

Bibliography

[edit]

External links

[edit]
People
Resources
Implementations
Web frameworks
Testing
ORMs
IDEs
Widget toolkit
.NET
C++
ColdFusion
Common Lisp
Haskell
Java
JavaScript
Back end
Server-side
Full-stack
Front end
Client-side
Perl
PHP
Python
Ruby
Rust
Scala
Smalltalk
Other languages
Portal:
Retrieved from "https://en.wikipedia.org/w/index.php?title=CakePHP&oldid=1333730535"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp