gmt 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’
code 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 returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)
christmas Christmas Decorations Christmas is coming! I found myself slightly surprised by the Holiday this year, just cannot believe we are almost there. For the first time in England though, I’m not spending it at someone else’s place, I’m not in the middle of
autload 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
plugin 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/');
books Why I Hate Winning I’m a bit of a computer game addict. Not a big fan of FPS though. However what recently struck me is that in many ways I actually do not want to win the game I’m playing. It might sound crazy at first,
bind 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
games Technology of the Future Today Quite some time ago I stumbled upon this video from Nokia about a phone device that would be using nano technology. However on it’s own it didn’t feel like enough to write about, especially as it was just a concept. Then some
easter Easter Photo Frenzy 2009 I have definitely been enjoying my new G10 camera and as a result came back from the Easter holiday with loads and loads and loads of photos. Just going through to select the good stuff, and then tag has been quite a chore… Can’
easter Mazurek, Traditional Polish Easter Pastry Polish Easter like most of our holidays includes a lot of food, some typical for that time of the year and holiday occasion. One of these specialities is a desert called Mazurek – a small pastry topped with jam followed by toffee or chocolate and
code 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
article Perception of Old And New Monuments [![Ray's001 (521)](http://farm1.static.flickr.com/41/87895533_ebf3b3e121_m.jpg "Ray's001 (521)")](http://www.flickr.com/photos/78128495@N00/87895533)Image by Tjflex2 via FlickrRecently I read this interesting [article about the “American Stonehenge”](http://www.wired.com/science/discoveries/magazine/17-05/
sql Week of the Month in Mysql SELECT WEEK(my_date_field,5) - WEEK(DATE_SUB(my_date_field, INTERVAL DAYOFMONTH(my_date_field)-1 DAY),5)+1 Recently I needed to get the number of
code Zend_Db_Select multiple table joins explained It sounds like a simple task – retrieve the result from a join SQL query. Unusually you can even find documentation on the official Zend Framework site explaining how to put together a query that will return the results from a JOIN query. Unfortunately when
review The MBT Anti Shoes Really Work One day while looking for shoes in Camden (where else would you go looking for fancy shoes, when you prefer a Not So GirlyAvoid Heels Style…) in London we were browsing through several stores and goofing around a bit. In one of the shops
lookaround Regex for Autolinking URLs For a recent project I was wanting to perform an exceptionally common task. Converting things that look like URLs in the text into clickable links. However wherever I’ve seen this implemented before I’ve always encountered the same annoying problem, namely the links
easter Walking in the countryside - 2 free wallpapers While on Easter holiday at my parents home we have been going out for daily walks. Living in the countryside has the definite benefit of enjoying some rare sights. Just to mark to really nice encounters – a couple of storks and a pack of
musings The Two Hardest Things - The Start & The End I’m a perfectionist, with a very short attention span. This unfortunate combination coupled with easy excitement about new ideas/projects can cause a lot of trouble. When doing any writing or painting I practically fear that first word or the first line. I
musings Are Moleskine Notebooks Overrated? I heard about the Moleskine notebooks years ago. I stumbled upon them while looking for programs for my tablet pc for taking notes while at university. The software choice was not huge and trying to find some templates I kept ending up on pages
recipe Step by Step Guide to Home Made Burgers Feeling a bit fancy I decided to treat my partner and I to home made beef burgers for dinner. And considering I am going a bit camera frenzy with my birthday present, you can witness the outcome of the cooking and maybe even be
books Birthday Being one year older maybe isn’t the best thing to be cheering about, however I definitely had a great time this Saturday. One of my presents was the Canon G10 camera, so you can expect plenty of photos in the near future. We
css Firefox ignores tabs but not spaces in a pre tag Sometimes HTML can be so frustrating. I love tabs in my code, however while styling the new blog theme I run into a Firefox only problem – despite being in a tag tabs would be ignored. I found references to this werid behaviour, however it
project management How To Use the Strong Ownership List Some time ago I wrote about the idea of the Strong Ownership List approach. A recent comment on that post has made me realize that for the idea to be better understood and easier to apply I probably should describe the process it involves
article Improving Design by Using a Grid System When I first heard of grids for design (and frameworks for CSS as a matter of fact) I was quite sceptical. Why limit yourself to a predefined outline? Mathematical precision in a creative process? Well needless to say I was surprised with the outcome.
code Zend Framework Decorators - Labels and Checkboxes Very often it is the smallest things that annoy us the most. It took me a while to figure out why the placement parameter was not changing anything. I started of with the following: 'decorators' => array( array('Label'), array('ViewHelper') ) Unfortunately switching the