Posted by Utoxin on February 13, 2009
I was poking through the addons for Firebug today, and liked the look of FirePHP, so I started looking into how I could use it. As many of you know, I’m a big fan of CakePHP as a framework, so I looked up how to integrate the two together and make them work nicely. I [...]
Posted by Utoxin on January 22, 2009
Got some CakePHP models with deep associations that you need to pull into the data that you display when you paginate them? This used to be a royal pain in the butt, and pretty much required custom pagination, but no more! Behold: $this->paginate = array( ‘Customer’ => array( ‘contain’ => array( ‘Order(id)’, ‘Order.AccessCode(id)’, ‘ShippingAddress(city,state)’ ) [...]
Posted by Utoxin on January 19, 2009
I just finished tracking down a bug that I’ve been working on for nearly two days, and it turns out to have been something VERY simple. The basic problem was that while a long running CakePHP request was running, the rest of the Cake app was non-responsive. This is because of a ‘feature’ of PHP. [...]
Posted by Utoxin on April 24, 2008
There are many frameworks out there for PHP. Too many, even, some might say. So how did I settle on using CakePHP for my prefered framework? Well, to be honest, I think I was just lucky. Chuck, a guy I work with, introduced me to it for a project we were working on, and I [...]