Posts Categorized: development

You Arent Gonna Need It – Code Reuse

Here are two related articles (by Mike Mooney) where I found myself agreeing with every point and feeling relief that others have come to the same conclusions as I have over the years. The Framework Myth says you don’t need an internal omnipotent framework. I agree – over the years we have built up a… Read more »

Posted

Flash Event.COMPLETE sometimes doesn’t fire in Firefox

I have run into some strange behaviour in Flash and Firefox recently. We had a Flash movie (AS3) that loads up, in its document classes constructor it sets a few event handlers on loaderInfo: this.loaderInfo.addEventListener(Event.COMPLETE, loadComplete); this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, progress); this.loaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler); this.loaderInfo.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler); The problem taht seemed to be happening (most of the time, ie not… Read more »

Posted

Notes on iPhone CoreLocation framework

If you tell the Location Manager to start updating, it will keep returning updates indefinitely until it’s told to stop. It returns the new location to its delegate method: didUpdateToLocation (Like a callback). It will keep trying to get you the most accurate location it can – when you create the Location Manager you can… Read more »

Posted

JavaScript Debugging

Debugging JavaScript in Internet Explorer is notoriously hard because of it’s unhelpful error messages. BernieCode explains the best way I have found to step through JavaScript in IE with a debugger using the free Visual Web Developer Express. One thing though is that I needed to change my default browser so that it launched IE… Read more »

Posted

fbjs-bridge over troubled waters.

Well I know that’s a bad title, but when you develop Facebook apps you need something to lighten your day and I’ve been developing them for the past six months. The one thing I’ve noticed over all things is that nothing is simple, not even the simple things. You see Facebook take it upon themselves… Read more »

Posted

PHP IDEs

Programming editors are a very personal choice but for serious PHP there are a few must-have features such as autocomplete and code hints (bring up lists of variable and function names, showing parameters) and context-sensitive help (instantly see documentation for a particular function). I’ve used Zend for a while but when Zend for Eclipse was… Read more »

Posted

Check your Google Map API versions

Got a problem with a Google Map? Don’t forget to check what version of the API you’re using! It’s easy to copy and paste the map javascript include over from another project without checking the version – but if you’re not using the latest version and you’ve got a problem it could have been fixed… Read more »

Posted