Professional Documents
Culture Documents
Marc Fernandez-Girones
INDEX
Framework
CakePHP
Sample Code
Benefits
Limitations
Alternatives
Examples
Resources
FRAMEWORK
Represents the
application data.
View:
Represents the
model in a adequate way for
the interaction.
Controller:
Responds to
events, user actions, and
makes requests to the model.
CAKEPHP
Application Scaffolding.
Helpers for HTML, Forms, Pagination, AJAX, Javascript, XML, RSS and more.
Flexible cache.
Download: http://cakeforge.org/projects/cakephp/
Create
the database.
Configure
Bake
it!
SAMPLE CODE
HTML
Form
Helper:
Helper:
SAMPLE CODE
Select:
Insert:
$this->Post->save($this->data);
Update:
$this->set('posts', $this->Post->find('all'));
$this->Post->save($this->data);
Delete:
$this->Post->delete($id);
BENEFITS
MVC Pattern.
Zero Configuration.
CRUD Scaffolding.
Ajax Support.
ACL Functionality.
Easy to understand.
LIMITATIONS
Slow
Probably
too big.
ALTERNATIVES
Zend
Symfony
CodeIgniter
Compare
EXAMPLES
Personal
Examples
General
Examples
www.redinter.eu
Mozilla Addons
www.marcfg.com
MapMe
Miss
Universe
RESOURCES
The Bakery
The Cookbook
CakeDC Team
CakePHP Cheatsheet
FRAMEWORK CAKEPHP
Marc Fernandez-Girones
THANK YOU