Simple CMS with CakePHP

15,565 views
15,337 views

Published on

This was my presentation at MinneBar 2008.

Published in: Technology, Self Improvement
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
15,565
On SlideShare
0
From Embeds
0
Number of Embeds
223
Actions
Shares
0
Downloads
338
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Simple CMS with CakePHP

  1. 1. Simple CMS for CakePHP How to implement a simple CMS in your CakePHP applications
  2. 2. Why CakePHP? MVC, DRY, ORM, and Convention vs. Configuration “But better die than live mechanically a life that is a repetition of repetitions.” - D.H. Lawrence “Repetition is the death of art.” - Robin Green, Northern Exposure
  3. 3. Use CakePHP 1.2
  4. 4. Use Bake $ cake/console/cake bake -app /Users/george/Sites/newcakeapp
  5. 5. How does it work? www.mycakeapp.com/controller/action/params/
  6. 6. What is a Helper? It’s reusable code (DRY) accessible to any view.
  7. 7. Add ContentHelper to View <?= $content->getContent(); ?>
  8. 8. Add Content!
  9. 9. ???
  10. 10. Profit!

×