Your SlideShare is downloading. ×
Cake php 1 3 concept to deployment presentation
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Cake php 1 3 concept to deployment presentation

505

Published on

Cake php 1 3 concept to deployment presentation

Cake php 1 3 concept to deployment presentation

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
505
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
25
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

















































  • Transcript

    • 1. Who is this bloke? • Graham Weldon • PHP: 9 years • CakePHP Core Developer • http://grahamweldon.com • Cake Development Corporation • http://cakedc.com • @predominant
    • 2. • Workshops • Conference • Learn from the core • Presentations from core developers developers • Get one on one support • Community presenters for existing code • Lightning talks • Comfortable, easy to learn environment • Prizes • Cheaper than ever! • Networking
    • 3. Concept • Software Requirements • Impact Analysis • Documentation
    • 4. Concept • Projects • Sections • Requirements • Dependencies • Tests
    • 5. Concept • Projects • Sections • Requirements • Dependencies • Tests
    • 6. Defining Standards • Models • Views • Controllers • Libraries • Database
    • 7. Standards: Models • Class name: Singular • Project • SoftwareProject • Filename: Singular (lowercase, underscored) • project.php • software_project.php • Path: /app/models/
    • 8. Standards: Views • File name: Match Controller action name • Path: /app/views/<controller>/<action>.ctp
    • 9. Standards: Controllers • Class Name: Plural • ProjectsController • File Name: Plural (lowercase, underscored) • projects_controller.php • Path: /app/controllers/
    • 10. Standards: Database • Tables: Plural (lowercase, underscored) • projects • software_projects • Foreign Keys: Singlular (lowercase, id suffix) • project_id • software_project_id
    • 11. Designing the Database
    • 12. User
    • 13. User Project
    • 14. User Project Project
    • 15. User Project Project Section Section
    • 16. User Project Project Section Section Section Section Section Section
    • 17. User Project Project Section Section Section Section Section Section R
    • 18. User Project Project Section Section Section Section Section Section R R R
    • 19. User Project Project Section Section Section Section Section Section R R R R R
    • 20. User Project Project Section Section Section Section Section Section R R R R R
    • 21. User Project Project Section Section Section Section Section Section R R R R R
    • 22. Baking
    • 23. Models Controllers Views
    • 24. Models Representation of data, and provision of operations to be performed on data Controllers Views
    • 25. Models Representation of data, and provision of operations to be performed on data Controllers Application flow control. Pass model data to views, prevent unauthorised access. Views
    • 26. Models Representation of data, and provision of operations to be performed on data Controllers Application flow control. Pass model data to views, prevent unauthorised access. Views Output from application. XHTML, JSON, XML, etc.
    • 27. Models Controllers Views
    • 28. Models $ cake bake model user $ cake bake model project $ cake bake model section $ cake bake model requirement Controllers Views
    • 29. Models $ cake bake model user $ cake bake model project $ cake bake model section $ cake bake model requirement Controllers $ cake bake controller users $ cake bake controller projects $ cake bake controller sections $ cake bake controller requirements Views
    • 30. Models $ cake bake model user $ cake bake model project $ cake bake model section $ cake bake model requirement Controllers $ cake bake controller users $ cake bake controller projects $ cake bake controller sections $ cake bake controller requirements Views $ cake bake view all
    • 31. Models $ cake bake model user $ cake bake model project $ cake bake model section $ cake bake model requirement Controllers $ cake bake controller users $ cake bake controller projects $ cake bake controller sections $ cake bake controller requirements Views $ cake bake view all There are shortcuts for most things
    • 32. Models $ cake bake model user $ cake bake model project $ cake bake model section $ cake bake model requirement Controllers $ cake bake controller users $ cake bake controller projects $ cake bake controller sections $ cake bake controller requirements Views $ cake bake view all There are shortcuts for Console help: most things $ cake bake help
    • 33. Models $ cake bake model user $ cake bake model project $ cake bake model section $ cake bake model requirement Controllers $ cake bake controller users $ cake bake controller projects $ cake bake controller sections $ cake bake controller requirements Views $ cake bake view all There are shortcuts for Console help: most things $ cake bake help
    • 34. What was generated?
    • 35. Associations
    • 36. Has One 1 .. 1
    • 37. Has Many
    • 38. Has Many 1 .. n
    • 39. Belongs To 1 .. n
    • 40. Has And Belongs To Many
    • 41. Has And Belongs To Many n .. n
    • 42. Has And Belongs To Many n .. n HABTM
    • 43. Authentication
    • 44. Alternate Content RSS, JSON, XML
    • 45. Training
    • 46. Training • Beginners • Cake Development Corporation • Experienced users • Employs most of the • Code Review CakePHP Core dev’s • Project Management • Largest supporter of the CakePHP Framework
    • 47. Thanks!

    ×