Blog Detail
Think Robot
http://www.think-robot.com
A loose collection of different tips, code snippets and comments about web development.
Recent Posts
Zend_Date time part and GMT
If you live in the UK you might have a surprise waiting in store for you if you use Zend_Date for the time part only. For a while I even thought this was a bug, however digging deeper has shown that actually it’s Zend_Date that is right, in a w...
PHPUnit & Selenium - screenshot path problem
PHPUnit_Framework_Exception: Response from Selenium RC server for testComplete(). ERROR: Command execution failure. Please search the forum at http://clearspace.openqa.org for error details from the log window. The error message is: Component returne...
Autloading modular forms & models in Zend Framework 1.8
It’s not really obvious with the error messages you get, but using a thing like Form_Login does not work out of the box with a modular structure. Which is slightly surprising considering that it’s inside the default module. I have found e...
Redirect in controller plugin - Zend Framework 1.8
If you need to redirect while inside a controller plugin, for example in preDispatch() here is a quick way to do it: $redirector = Zend_Controller_Action_HelperBroker::getStaticHelper('redirector'); $redirector->gotoUrl('/login/'); Related Articles:...
Hitch. Object-oriented event handlers with jQuery
Moving to jQuery from YUI has been a 99% positive experience. Probably the only thing I’ve really missed was the ability provided by YUI Event to control the object scope that an event handler was executed in. When you attach an event to an el...
Doctrine Many To Many With Extra Fields
Recently I have started using Doctrine with Zend Framework. Most of the time it is great, but sometimes I get stuck on this or that issue. Most of my problems so far have been connected with the Many to Many relationship. Here are a few tips I learne...

