Dean: thanks for the encouragement!

ficusd: That's a nice link, thanks :) I also referred this really handy post about ZF from CLI, and used that for my workers:

Mike: thanks for the pointers! I have ended up not unit testing so far, but I will take your advice when I do.

Rob: I got the same advice from weierophinney and I am indeed using supervisord. I haven't checked any of the gearman settings though, so thanks for mentioning that!