0% found this document useful (0 votes)
75 views

Cakephp: Rapid Development Framework of PHP: Supervisor: Priyanka Mandot

CakePHP is a free, open-source, rapid development framework for PHP that uses the MVC architecture and conventions to help developers create web applications quickly; it provides common classes like Controller, Model, and View that handle requests and output rendering, and has a standardized folder structure and naming conventions to organize applications. CakePHP works with common web servers, PHP versions 4.3.2 or greater, and various database engines.

Uploaded by

Birju Shah
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views

Cakephp: Rapid Development Framework of PHP: Supervisor: Priyanka Mandot

CakePHP is a free, open-source, rapid development framework for PHP that uses the MVC architecture and conventions to help developers create web applications quickly; it provides common classes like Controller, Model, and View that handle requests and output rendering, and has a standardized folder structure and naming conventions to organize applications. CakePHP works with common web servers, PHP versions 4.3.2 or greater, and various database engines.

Uploaded by

Birju Shah
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Cakephp: Rapid Development framework of php

Supervisor: Priyanka Mandot

Introduction:
CakePHP is a free, open-source, rapid development framework for PHP. Its a foundational structure for programmers to create web applications. Our primary goal is to enable you to work in a structured and rapid mannerwithout loss of flexibility. It is written in PHP, modeled after the concepts of Ruby on Rails, [2] and distributed under the MIT License. CakePHP has an active developer team and community, bringing great value to the project. In addition to keeping you from wheel-reinventing, using CakePHP means your applications core is well tested and is being constantly improved. The Cake Software Foundation operates an annual Conference focusing on CakePHP called CakeFest. Initially held as a bi-annual event in 2008. The CakeFest official site updates to host the current year's conference information. CakePHP is a rapid development framework for PHP that 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. The CakePHP framework provides a robust base for your application. It can handle every aspect, from the users initial request all the way to the final rendering of a web page. And since the framework follows the principles of MVC, it allows you to easily customize and extend most aspects of your application. The framework also provides a basic organizational structure, from filenames to database table names, keeping your entire application consistent and logical. This concept is simple but powerful. Follow the conventions and youll always know exactly where things are and how theyre organized.

Contents
Cakephp structure
CakePHP features Controller, Model, and View classes, but it also features some additional classes and objects that make development in MVC a little quicker and more enjoyable. Components, Behaviors, and Helpers are classes that provide extensibility and reusability to quickly add functionality to the base MVC classes in your applications.

A typical cakephp request


Weve covered the basic ingredients in CakePHP, so lets look at how objects work together to complete a basic request. Continuing with our original request example, lets imagine that our friend Ricardo just clicked on the Buy A Custom Cake Now! link on a CakePHP applications landing page.

Cakephp folder structure


After you've downloaded and extracted CakePHP, these are the files and folders you should see: app cake

vendors plugins .htaccess index.php README You'll notice three main folders: The app folder will be where you work your magic: its where your applications files will be placed. The cake folder is where weve worked our magic. Make a personal commitment not to edit files in this folder. We cant help you if youve modified the core. Finally, the vendors folder is where youll place third-party PHP libraries you need to use with your CakePHP applications.

Cakephp convention
We are big fans of convention over configuration. While it takes a bit of time to learn CakePHPs conventions, you save time in the long run: by following convention, you get free functionality, and you free yourself from the maintenance nightmare of tracking config files. Convention also makes for a very uniform system development, allowing other developers to jump in and help more easily. CakePHPs conventions have been distilled out of years of web development experience and best practices. While we suggest you use these conventions while developing with CakePHP, we should mention that many of these tenets are easily overridden something that is especially handy when working with legacy systems.

Requirements

HTTP Server. For example: Apache. mod_rewrite is preferred, but by no means required. PHP 4.3.2 or greater. Yes, CakePHP works great on PHP 4 and 5. Technically a database engine isnt required, but we imagine that most applications will utilize one. CakePHP supports a variety of database storage engines: MySQL (4 or greater) PostgreSQL Microsoft SQL Server Oracle SQLite

Reference
http://cakephp.org http://book.cakephp.org

-Birju Shah

You might also like