What the iPhone means for web developers

As I drool over the streaming video of today’s iPhone launch, one reality is starting to sink in. It is time to start thinking of the web for mobile phones. Of course, numerous phones currently have web browsers and mobile devices have accessed the web for several years now. But now Apple has done it. And as much as you want to hate me for being an Apple evangelist, when Apple does something, people notice.

Now they have created a mobile phone. And it has wi-fi. So you don’t have to pay for high speed mobile data network plans to get internet access on the iPhone. For some people, paying expensive monthly fees for high speed data access over a mobile network is a no-brainer. But for those of us who could never afford such plans, having wi-fi built into the iPhone makes all of the internet-based features of the phone (email, messaging, web browsing) accessible. Assuming that the iPhone will sell a few units (wink wink), the mobile web is about to go mainstream.

For a web developer, this is an exciting time. Work that I do now can be accessed from nearly anywhere at anytime. The caveat to that is: work that I do can now be accessed from any size screen on any number of products with any combination of processors, and form factors.

That means that we need to build websites that scale, literally for any size screen. To make life easier on us, Apple’s iPhone uses the same HTML rendering engine as their Safari web browser. One can only hope other phone manufacturers follow suit, because the multitude of proprietary browsers on mobile devices up until now has made transitioning to the mobile web a difficult task for web developers. Having to make sure a site looks good on 3-4 browsers is a difficult task. Having to make sure a site looks good on 20 different mobile phone web browsers makes web developers poop their pants. It’s a messy task.

So now we have a mobile phone coming in June that has wi-fi, a standards compliant web browser built in, and a sub-4 inch screen. Did you catch that hint? Standards compliant. If I as a web developer use web standards in building out websites, I can offer clients a smooth transition to the mobile web. No expensive ports or re-designs for mobile devices. Build the site with content (XHTML) and presentation (CSS) separated, using semantic coding practices, and the transition to a mobile web can be achieved without touching the site content.

As smooth as it sounds, moving to the mobile web will not be without hickups. On any site, there is the content layer (XHTML), the presentation layer (CSS), and the behavior layer (Javascript, Flash). As the web has advanced, that behavior layer has become considerably more advanced. Many sites on the web simply fail to work with Javascript disabled. Moving those advanced behavior layers to a mobile device hasn’t been easy up until now. Javascript support in mobile devices has been spotty at best, and poop-my-pants-bad at worst. We’ll have to wait and see how Apple has handled it in the iPhone to get a gauge of where we stand with mobile devices. It is promising to see a slick implementation of Google Maps on the iPhone. Google Maps is an advanced web application with a complex behavior layer.

Again, I know all of this technology exists in phones available today. But it can’t be understated that Apple has now entered the market. That single fact that will change the shape of the mobile phone market and the mobile web over the next 12 months and beyond. As a web developer, I’m excited to see what comes from this and I’m looking forward to developing for mobile users in the months to come.

Please feel free to tell me I’m full of shit in the comments. (Do I detect a poop theme?)

Cheers

In Love with Thickbox

We come across many cool tricks as we search for solutions in web design. At my work, we are constantly trying out new things and seeing how we can enhance the user experience on the web. In the last year or so, Javascript has emerged from the dust of 1999 to make a graceful comeback into web design. This isn’t the Javascript of old. No rollover images, flying icons and fullscreen popups. This is slick, accessible code written for nice effects and a more user-friendly experience.

One such example is ThickBox. Thickbox is a Javascript tool that allows images and HTML content to be displayed in a virtual “lightbox” right in the current browser window without refreshing the page, sending the user to a different page, or popping up a new page. The effect is so sweet, it’ll rock your boots.

We’ve been itching to use this on several of our clients’ sites. But, as with all tools, it is best to use things for the right purpose and not simply because they are cool. This being my personal site, I’m free to use gratuitous displays of Javascript coolness with reckless abandon.

Try it out.

3-way iChat

iChat with 3 people

The other night at work, I finally found myself surrounded by enough Macs to pull-off a video chat with two other participants. The feature has been part of OSX since 10.3 (Panther), but I’ve never known enough people with iSight cameras to do it. It requires a G5 or Intel processor to initiate a chat with multiple video feeds. Being on a Powerbook G4, I couldn’t initiate the chat, only participate.

It was quite fun. Full disclosure: two of us were already sitting right across from each other! So, I wouldn’t call it a test of the capability, just good old fashioned geek delight! Find a couple of friends with Macs and get the party started.

Mostly, I laugh.

You might be shocked to read this so hold your breath. Take a seat, put the dog outside, grab a bottle of spring water and an ice pack.

Our noble leader has decided (he is the decider) that any future FEMA directors can also be as incompetent as “Brownie.”

Frankly, I’m not shocked. I don’t think anyone is. After all we are dealing with the Messiah-in-Chief here (Mess for short). But what always gets me about these stories coming out is the collective American reaction. That reaction goes something like this:

At least we’re safe from al qaeda. Want to get some pizza?

He’s managed to get away with it for 6 years now America. It’s time for a new message. A new mandate. Bring on the second week of November.