CakePHP
Rapid Development Framework
What is Cake & Why?
Free & Open Source.
Rapid Development Frame Work Based Around MVC
Methodology.
Templating, Helpers, Components. In short reusable
code!
Built in Email, Cookie, Security, Session & Request
Handling Components.
Caching.
Modle View Controller

Model View Controller design patter is based upon
separating your code into three sections.
  The Model represents the application data.
  The View renders a presentation of the model data.
  The Controller handles & routes requests made by
  the client.
Modle View Controller
Basic Principles of CakePHP
Conventions
Extensions
  Controller Extensions - Components
  View Extensions - Helpers
  Model Extensions - Behaviors
  CSS/HTML - Elements
Typical Request
Directories
 Config - Holds the application configuration files.
   Database connection
   Bootstrap
   Core
 Controllers - Contains your application controller &
 components.
 Models - Contains your application models, behaviors
 & data sources.
Directories

 Tmp - This is where CakePHP stores temporary data.
 Vendors - Third Party Libraries.
 Views - What the user sees.
 Webroot - Contains CSS/JS/Flash/Etc Files
Quick Demo

Demo Goals
 Install CakePHP
 Install a Component
 Configure Routes
 Retrieve Data from 3rd Party API
The End



Questions? :)

Cake PHP

  • 1.
  • 2.
    What is Cake& Why? Free & Open Source. Rapid Development Frame Work Based Around MVC Methodology. Templating, Helpers, Components. In short reusable code! Built in Email, Cookie, Security, Session & Request Handling Components. Caching.
  • 3.
    Modle View Controller ModelView Controller design patter is based upon separating your code into three sections. The Model represents the application data. The View renders a presentation of the model data. The Controller handles & routes requests made by the client.
  • 4.
  • 5.
    Basic Principles ofCakePHP Conventions Extensions Controller Extensions - Components View Extensions - Helpers Model Extensions - Behaviors CSS/HTML - Elements
  • 6.
  • 7.
    Directories Config -Holds the application configuration files. Database connection Bootstrap Core Controllers - Contains your application controller & components. Models - Contains your application models, behaviors & data sources.
  • 8.
    Directories Tmp -This is where CakePHP stores temporary data. Vendors - Third Party Libraries. Views - What the user sees. Webroot - Contains CSS/JS/Flash/Etc Files
  • 9.
    Quick Demo Demo Goals Install CakePHP Install a Component Configure Routes Retrieve Data from 3rd Party API
  • 10.