Home

HTML name attribute deprecated?

by Cameron

Well, I thought it was, but in a typical example of making assumptions before finding out the whole truth, it turns out I was wrong. This cost me a lot of time today, trying to debug a problem with a Javascript library. I think the lesson to be learned here is that one should always check their assumptions!

Keep Reading

January16

Zend Framework, lazy-loaded Dojo Tabs and Javascript

by Cameron

Here's a quick tip that might save a few of you some time out there. When lazy loading tabs in Dojo + Zend Framework, because the content is retrieved via AJAX, you aren't able to just embed Javascript in the page you're fetching and have it work, nor can you apply any onLoad functions at application start, because the pages have not been instantiated. The way around this is to use the onLoad function of the contentPane view helper:

Keep Reading

January12

The BDP

by Simon

Like any small business owner will tell you, corporate tax deductable toys are your legislative right. It gives you an excuse to splurge those hard earned pretax company dollars on gadgets you personally don’t particularly need or can afford. It also silences that annoying little retail therapy demon that sits on your right shoulder, who I swear is on commission.

Keep Reading

November28

Dynamic properties in classes?

by Cameron

I found this blog post on Reddit this morning...

http://www.krisjordan.com/2008/11/27/dynamic-properties-in-php-with-stdc...

... discussing dynamic class properties in PHP. Well, as it turns out, PHP by default just lets you do whatever the hell you want with properties, which seems like a bad idea to me, I've always defined getters and setters to access protected properties, but I do like the idea of defining the __set() magic method to throw an exception, to stop any other devs working on the project from utilizing this "feature" of PHP's.

Keep Reading

November28

What should you buy me for Christmas?

by Cameron

I'm the type of guy who doesn't really care much about "stuff", but if you buy me this:

http://www.deathsauce.com.au/sixpack.html

I might just love you forever. I've tried some of Blair's Sudden Death before, a toothpick with a visible wiping of sauce sent me in to half an hour of really quite distressing pain. What could be better for the holiday period than idiotically hot chilli sauces?

Keep Reading

November27