Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Get going with CakePHP Framework By Abbas Ali SANIsoft Technologies, Nagpur
I am... <ul><li>Mechanical Engineer
Technical Manager with  SANIsoft
Dev Team member of Coppermine Photo Gallery
FOSS Enthusiast </li></ul>
Roadmap... <ul><li>What is a Web application framework
What is CakePHP and its History
Features
Model, controller and view
Helpers, components and behaviors </li></ul>
What is a Web Framework? “ A web application framework is a software framework that is designed to support the development...
CakePHP!!! <ul><li>R.A.D framework
For PHP written in PHP
MVC architectural pattern
ORM design pattern
Convention over Configuration </li></ul>
History <ul><li>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 </li></ul>
Why CakePHP? <ul><li>No Configuration  -  Set-up the database and let the magic begin
Upcoming SlideShare
Loading in …5
×

Get going with CakePHP Framework at gnuNify 2010

3,871 views

Published on

Published in: Technology
  • Be the first to comment

Get going with CakePHP Framework at gnuNify 2010

  1. 1. Get going with CakePHP Framework By Abbas Ali SANIsoft Technologies, Nagpur
  2. 2. I am... <ul><li>Mechanical Engineer
  3. 3. Technical Manager with SANIsoft
  4. 4. Dev Team member of Coppermine Photo Gallery
  5. 5. FOSS Enthusiast </li></ul>
  6. 6. Roadmap... <ul><li>What is a Web application framework
  7. 7. What is CakePHP and its History
  8. 8. Features
  9. 9. Model, controller and view
  10. 10. Helpers, components and behaviors </li></ul>
  11. 11. 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)
  12. 12. CakePHP!!! <ul><li>R.A.D framework
  13. 13. For PHP written in PHP
  14. 14. MVC architectural pattern
  15. 15. ORM design pattern
  16. 16. Convention over Configuration </li></ul>
  17. 17. History <ul><li>Michal Tatarynowicz - April 15 th 2005
  18. 18. Larry E. Masters (aka phpnut) took over in July 2005
  19. 19. v1.0 was released on May 1 st 2006
  20. 20. Current stable release v1.2.6
  21. 21. Cake3 => Li3 </li></ul>
  22. 22. Why CakePHP? <ul><li>No Configuration - Set-up the database and let the magic begin
  23. 23. Extremely Simple - Just look at the name...It's Cake
  24. 24. Active, Friendly Community
  25. 25. Best Practices - covering security, authentication, and session handling, among the many other features </li></ul>
  26. 26. More Features <ul><li>Application Scaffolding
  27. 27. Code generation via Bake
  28. 28. Helpers for HTML, Forms, Pagination, AJAX, Javascript, XML, RSS and more
  29. 29. Access Control Lists and Authentication
  30. 30. Simple yet extensive validation of model data
  31. 31. Router for mapping urls </li></ul>
  32. 32. How to?
  33. 33. Installation <ul><li>Download (http://cakephp.org)
  34. 34. Unpack
  35. 35. Put it in webroot
  36. 36. That is it.... </li></ul>
  37. 37. Directory Structure |-- app |-- cake |-- vendors |-- .htaccess `-- index.php |-- app | |-- config | |-- controllers | |-- models | |-- views | `-- webroot | |-- .htaccess | |-- index.php
  38. 38. A typical request
  39. 39. Conventions <ul><li>In general, filenames are underscored while classnames are CamelCased
  40. 40. Model classnames are singular and CamelCased.
  41. 41. Controller classnames are plural, CamelCased, and end in Controller.
  42. 42. View template files are named after the controller functions they display, in an underscored form. </li></ul>
  43. 43. Model
  44. 44. Controller
  45. 45. print_r($articles); Array ( [0] => Array ( [Article] => Array ( [id] => 1 [title] => first article [content] => gnunify rocks!!! ) ) [1] => ...... )
  46. 46. View
  47. 47. Helpers
  48. 48. Other Goodies... <ul><li>Components </li><ul><li>Auth
  49. 49. Session
  50. 50. Cookie </li></ul><li>Behaviors </li><ul><li>Tree
  51. 51. Containable </li></ul></ul>
  52. 52. Summing Up With CakePHP you can rapidly develop an application which is secure, scalable and easy to maintain.
  53. 53. References and further reading <ul><li>http://en.wikipedia.org
  54. 54. http://book.cakephp.org
  55. 55. http://bakery.cakephp.org </li></ul>
  56. 56. Thank You class Question extends Curiosity { var $ask = “ easy ones please”; }

×