Archive for May, 2008

CakePHP, Using CounterCache to keep track of Comments

Saturday, May 31st, 2008

CounterCache is one of the new Core Model Behaviors in CakePHP 1.2 and it's an absolute life saver for working with hasMany relationships where you want to OrderBy one of the children. The basic idea behind a CounterCache is to keep tabs on how 'children' a specific model has, this is ...

CakePHP Vimeo Helper

Monday, May 26th, 2008

I've just posted a new Helper over at the bakery to assist with embedding Vidoes from Vimeo.com on your CakePHP site. The helper grants you access to all configuration flags for the player. Grab it here, happy baking! As a side note, whilst fiddling around with this helper I ...

User Registration with CakePHP 1.2 and Auth Component

Saturday, May 24th, 2008

With CakePHP 1.2 nearly reaching the RC release, I have started using it as the framework for my own applications.  Once of the new features of 1.2 over 1.1 is the addition of numerous core Components for handling things such as Cookies, Email and Authentication (all of which I rolled ...