Joseph Crawford Using wordpress because he is lazy

27Jan/0919

Simple CakePHP CMS (Content Management System)

I have recently been working on a way to create a simple CMS (Content Mangement System) for my CakePHP websites that will allow the site owners to log in and maintain their own website. I needed a way for them to create, edit and delete pages. So I came up with this content controller and route component system. It isn't anything plug-n-play like WordPress but I don't always need a very advanced setup.

It basically allows you to create nested pages that have content stored in a MySQL table. Then creates custom routes to keep the URLs looking nice. When requested the content is retrieved and placed inside a very basic view and sent to the end user.

24Jan/090

Route Component for CakePHP 1.2.*

I wrote this component for a simple content management system that I was building for a customer that I will go over in another upcoming post. It can be used to create and remove routes on the fly.