SlideShare a Scribd company logo
Get going with CakePHP Framework By Abbas Ali SANIsoft Technologies, Nagpur
I am... Mechanical Engineer
Technical Manager with  SANIsoft
Dev Team member of Coppermine Photo Gallery
FOSS Enthusiast
Roadmap... What is a Web application framework
What is CakePHP and its History
Features
Model, controller and view
Helpers, components and behaviors
What is a Web Framework? “ A web application framework is a software framework that is designed to support the development of dynamic websites, Web applications and Web services.” (Wikipedia)
CakePHP!!! R.A.D framework
For PHP written in PHP
MVC architectural pattern
ORM design pattern
Convention over Configuration
History Michal Tatarynowicz - April 15 th  2005
Larry E. Masters (aka phpnut) took over in July 2005
v1.0 was released on May 1 st  2006
Current stable release v1.2.6
Cake3 => Li3
Why CakePHP? No Configuration  -  Set-up the database and let the magic begin

More Related Content

PPTX
Modern Applications With Asp.net Core 5 and Vue JS 3
PPTX
Aurelia and .NET
PDF
Sails.js Intro
PDF
Rich faces in_the_cloud_mini_booth
PDF
Intro to Sails.js
PPTX
User Macros: Making Your Own Improvements to Confluence - Atlassian Summit 2012
PDF
Sails.js Model / ORM introduce
PPTX
Introduction to Vue.js DevStaff Meetup 13.02
Modern Applications With Asp.net Core 5 and Vue JS 3
Aurelia and .NET
Sails.js Intro
Rich faces in_the_cloud_mini_booth
Intro to Sails.js
User Macros: Making Your Own Improvements to Confluence - Atlassian Summit 2012
Sails.js Model / ORM introduce
Introduction to Vue.js DevStaff Meetup 13.02

What's hot (20)

PPTX
Build amazing apps with Aurelia - Webinar Slides
PDF
Sails Framework Instroduction
PPT
Quick Start: ActiveScaffold
PDF
Aurelia intro
PPTX
ASP .NET MVC - best practices
PPTX
002. Working with Webpack
PPT
PPTX
Getting started with Aurelia
PDF
Next.js in production by Jasdeep Lalli
PPTX
An Overview on Nuxt.js
PPTX
Asp.net core 1.0 (Peter Himschoot)
PDF
Universal React apps in Next.js
PPT
Apache maven
PPT
ColdFusion framework comparison
PDF
Agile documentation with Confluence and Sparx Enterprise Architect
PPTX
Java Training Ahmedabad , Introduction of java web development
PPTX
Introduction to ASP.NET MVC
PPTX
Aurelia 101
PPT
Integrating AngularJS with Drupal 7
PDF
Introduction of webpack 4
Build amazing apps with Aurelia - Webinar Slides
Sails Framework Instroduction
Quick Start: ActiveScaffold
Aurelia intro
ASP .NET MVC - best practices
002. Working with Webpack
Getting started with Aurelia
Next.js in production by Jasdeep Lalli
An Overview on Nuxt.js
Asp.net core 1.0 (Peter Himschoot)
Universal React apps in Next.js
Apache maven
ColdFusion framework comparison
Agile documentation with Confluence and Sparx Enterprise Architect
Java Training Ahmedabad , Introduction of java web development
Introduction to ASP.NET MVC
Aurelia 101
Integrating AngularJS with Drupal 7
Introduction of webpack 4
Ad

Similar to Get going with CakePHP Framework at gnuNify 2010 (20)

PPTX
cakephp UDUYKTHA (1)
PPTX
Ei cakephp
PPTX
Cakeph pppt
ODP
Cakephp
ODP
Cakephp
ODP
Cakephp
PPT
Intro to CakePHP 1.3
PDF
PPT
Introduction to Cakephp
PDF
Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...
ODP
Don't Code, Bake. An introduction to CakePHP ~PHP Hampshire Oct 2014
PDF
Cakephp manual-11
PDF
CakePHP
PDF
Cakephp Interview Questions
PDF
Introduction to CakePHP
DOCX
10 reasons to choose CakePHP as Framework
PDF
Introduction to CakePHP
PDF
Intro to CakePHP
PPTX
PPT - A slice of cake php
cakephp UDUYKTHA (1)
Ei cakephp
Cakeph pppt
Cakephp
Cakephp
Cakephp
Intro to CakePHP 1.3
Introduction to Cakephp
Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...
Don't Code, Bake. An introduction to CakePHP ~PHP Hampshire Oct 2014
Cakephp manual-11
CakePHP
Cakephp Interview Questions
Introduction to CakePHP
10 reasons to choose CakePHP as Framework
Introduction to CakePHP
Intro to CakePHP
PPT - A slice of cake php
Ad

Recently uploaded (20)

PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Approach and Philosophy of On baking technology
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Machine learning based COVID-19 study performance prediction
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Spectroscopy.pptx food analysis technology
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Dropbox Q2 2025 Financial Results & Investor Presentation
Reach Out and Touch Someone: Haptics and Empathic Computing
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Approach and Philosophy of On baking technology
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Machine learning based COVID-19 study performance prediction
Building Integrated photovoltaic BIPV_UPV.pdf
MIND Revenue Release Quarter 2 2025 Press Release
The Rise and Fall of 3GPP – Time for a Sabbatical?
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Digital-Transformation-Roadmap-for-Companies.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Electronic commerce courselecture one. Pdf
Big Data Technologies - Introduction.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
“AI and Expert System Decision Support & Business Intelligence Systems”
Spectroscopy.pptx food analysis technology

Get going with CakePHP Framework at gnuNify 2010

Editor's Notes

  • #3: Mechanical Engineer by education and graduated from Nagpur University in 2003 Fascinated with both machines and computers Working in PHP since last 6 years. Was a career choice but soon became obsession Got acquainted with cakephp sometime in 2005 and started using it in commercial project from 2006 onwards
  • #5: The framework aims to alleviate the overhead associated with common activities performed in Web development. For example, many frameworks provide libraries for database access, templating frameworks and session management, and they often promote code reuse. Helps in rapid application development as code is reused and common tasks are performed by the framework. Ex: html/form helpers, db abstraction, auth component A library is a set of classes or functions which are invoked by your code while a framework has an inbuilt architecture, which dictates the way an application has to be written to use it. The framework invokes your code.
  • #6: We can create application rapidly. A add form which normally takes 0.5 to 1 hr can be done within 10 mins and less than 50 lines of code You can actually see how a particular method works as it is written in php MVC – will be explained in later slide ORM maps objects to relational database where an attribute maps to columns in database. Some attribute holds objects of other tables. Example Addressbook with multiple addresses for each user and multiple phone numbers If convention is followed then no configuration is needed
  • #7: Michal Tatarynowicz wrote a minimal version of a Rapid Application Framework in PHP and found that it was the start of a very good framework. Michal published the framework under The MIT license, dubbing it Cake, and opened it up to a community of developers, who now maintain Cake under the name Heavy development during 2005-2006 to release a stable version The team created bakery, cakeforge and bin CakePHP is not a port of Ruby on Rails to PHP, but appropriates many of its useful concepts. From chat logs: “Cake is building a well documentated framework inspired by the concepts introduced in Ruby On Rails” http://stackoverflow.com/questions/1432729/is-cakephp-modeled-after-ruby-on-rails
  • #8: OO - Whether you are a seasoned object-oriented programmer or a beginner, you'll feel comfortable
  • #9: Scaffolding is used for generating code on the fly for CRUD of a database table - http://en.wikipedia.org/wiki/Scaffold_(programming) Validation is done before saving a record and if validation fails error messages are shown. Multiple validation rule per field can be applied ACL is authorization which is different from authentication. Being Authenticated does not automatically mean Authorized, but being Authorized would have to mean you are Authenticated. Explain routing with an example http://localhost/controller/action/
  • #11: mod_rewrite needs to be enabled Make tmp directory writable and change the value of security salts – recommended but not necessary Open http://example.com and this should show the welcome page Three ways to install cakephp Development (in a subfolder) Production (root of website) Advanced (share the cake library folder)
  • #12: The app folder will be where you work your magic: it’s where your application’s files will be placed. The cake folder is where cake have worked its magic. Make a personal commitment not to edit files in this folder. Cake can’t help you if you’ve modified the core. Finally, the vendors folder is where you’ll place third-party PHP libraries you need to use with your CakePHP applications.
  • #13: The MVC paradigm is a way of breaking an application, or even just a piece of an application's interface, into three parts: the model, the view, and the controller. MVC was originally developed to map the traditional input, processing, output roles into the GUI realm The Model represents the application data The View renders a presentation of model data The Controller handles and routes requests made by the client Why use MVC? Because it is a tried and true software design pattern that turns an application into a maintainable, modular, rapidly developed package. Allows developers and designers to work simultaneously
  • #14: mod_rewrite needs to be enabled Make tmp directory writable and change the value of security salts – recommended but not necessary Open http://example.com and this should show the welcome page Three ways to install cakephp Development (in a subfolder) Production (root of website) Advanced (share the cake library folder)