zen of coding

CakePHP and jQuery auto-complete revisited

CakePHP 2.3 jQuery 1.10.2 jQuery UI 1.10.3 I’ve realized that my old post about jQuery auto-complete and cake is still pretty popular, but hopelessly outdated. Therefore, I figured it would be a good time to revisit that old post and give it an update. We’ve come so far! A lot[…]

Read More »

Easy CakePHP logging to FireBug with DebugKit and FirePHP

CakePHP 2.x This is espeically useful when you are working with ajax or just in general you don’t want to dump the data to the screen, which is often hard to read. Using FireBug and FirePHP and CakePHP is pretty nicely detailed here. Presuming all of that is working well,[…]

Read More »

Object mockery and Cake

A few times we already had gone over unit testing… and why it is a good thing to do. If you had been interested in this topic for a while, then I’m sure you’ve come across the concept of “Mock Objects”. But really, what are they? And more importantly how[…]

Read More »

Improved cache and sessions storage with CakePHP and Redis

CakePHP 2.3 + Redis 2.6.7 For the vast majority of applications out there the issue of cache and session store doesn’t really come into play until the application is large enough to where it needs to be scaled to multiple web servers. At that point filesystem (default cache and session[…]

Read More »

Intercepting “add to cart” action in Magento

(Nuts and bolts of Magento? Maybe…) Magento EE 1.11 Once in a while we’d like to intercept Magento’s “add to cart” event and do some fun things with that. Maybe apply a discount or add a specialty product, or as I’ll show in this case, block a user from adding[…]

Read More »
%d bloggers like this: