Tag: CakePHP

February 11, 2007 / / CakePHP

I needed to have a table holding all my picklists, to make them easier to edit and manage. It’s a large application so there will be lots of drop downs and radio buttons, states and status fields.

I started with my picklist table

June 9, 2006 / / CakePHP

I wanted to present a range of choices in a nicely formatted table and couldn’t see helper to do the job – so this is my first snippet for Cake PHP. I doubt it’s perfectly cake (for instance I do the header row myself rather than using the html helper, and I concatenate a string rather than building an array)

In this instance I added the function radioTable to a helper called “fed” and gave it the standard model and field variables.

I’m working on a new project at the moment, it’s an intranet type thing so no point in linking to it, but I’m using CakePHP and thats been really interesting. Definately RAD, supposedly simple but it’s got so many really good features that while it is simple, it can be hard to discover the genius.

For instance,

  1. $this->flash controls post save redirects, but doesn’t do the actual redirect if you have debugging turned on. You have to dig out the default template to know this though.

DigitalPoint remains the number one forum on the net, as far as I can see and I’ve recently been made a moderator. It actually changes the way I use the forum and it’s really very interesting.

Christian Mezei owns SEOPedia and a free directory WebXperience – and he has big plans for that.