Catching Android’s Back Button in PhoneGap

This little bit of code is going to be useful to those of you developing a “singe page” app inside of PhoneGap. This applies to Sencha Touch (big fan), but doesn’t as much to jQuery mobile and jQTouch, as it’s a multi-page/navigation based event framework (it uses the app’s url string to do things like …

ReadOnly Form Elements

Here’s a quick note for the frustrated: When setting the readonly parameter on a form element via javascript, make sure you use a capital “O” as follows: elem = document.getElementById(‘myInputElement’); elem.readOnly = true; Why it took me so long to find that out, I have no idea why. Most forums threads by others seem to …

Award Winning : Davey Awards

I just received word that one of my projects just won a Davey Award for online marketing and email campaigns: Munchkin’s Project Pink: Email a Duck, Raise a Buck! Harley Bergsma at the UXB and I devised this brainchild together. From there he took care of project management and I took care of developing the …

SMARTY: Assigning variables to the header from the body

The problem recently presented itself to me when writing some new functionality for revealCMS: I needed to set some variables to load in the page head, but could only be set after a portion of the body had completed rendering. I wrote a plugin that essentially loads a different stylesheet depending on the input of …

Smart template plugins with Smarty

Smarty is becoming more and more popular in the PHP community lately, especially as developers are moving away from mixing business and display logic in the same scripts and towards a cleaner MVC design pattern implementations. If you’ve followed my blog for any amount of time, you’ll know that I’m currently working on my own …

Pre-QA isn’t good for interviews

I’m just going to throw this out there… if you have a piece of software, site, etc that isn’t quite at the QA stages, no matter how rockin’ in might be, you might want to consider holding off on showing it to others until you know the demo is going to work. I think I’m …

Anchor tags and Safari

I found an interesting “bug” in Apple’s Safari today while updating a page on Flood’s deprecating website (new version coming up in September). First of all, for the record, nobody on the team designed the template currently in-use (Aug, 2006). I just needed to put an anchor near the end of the page… pretty standard …

Hey there! Come check out all-new content at my new mistercameron.com!