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.
CakePHP 1.2.* Auth Component Tutorial
There is an updated version of this post for CakePHP 1.3.*
There are a lot of tutorials out there on how to use the Auth component in CakePHP but everything that I've found so far has been lacking for my need - so I wrote my own. Recently I needed a way to set up a simple authentication mechanism I could use for customer websites in order for them to log in and manage their content. Since I use CakePHP for everything these days one of the simplest solutions was to utilize the built in authentication component which can be a little tricky to set up since the documentation is a little vague and scattered over the Internet.