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.

Simple CMS with CakePHP

15,720 views

Published on

This was my presentation at MinneBar 2008.

Published in: Technology, Self Improvement
  • Be the first to comment

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!

×