Apple iPhone needs Google Gears

At its developer conference Apple announced that the forthcoming iPhone will support Web 2.0 applications. In this context, “Web 2.0” means at a minimum an embedded web browser (Safari) that runs JavaScript, but that’s no big deal; we expected nothing less. It’s at least a little more than that though:

Developers can create Web 2.0 applications which look and behave just like the applications built into iPhone, and which can seamlessly access iPhone’s services, including making a phone call, sending an email and displaying a location in Google Maps.

The emphasis is mine. This implies some sort of hole in the sandbox, but web apps on the iPhone needs more than just the ability to make phone calls if they are going to be useful. They need to work offline. In fact, a mobile phone (ironically) is one environment where offline web apps will be particularly useful. Nobody is always-on when travelling; it varies from mostly on (urban travel) to mostly off (trains, planes). As a regular train traveller, I find attempting to run web apps on a mobile utterly frustrating.

Fortunately Google has come up with an answer to this with its Gears initiative. Here’s how you write a good Gears app:

  1. Write your app to work offline.
  2. Add synchronization with the server that happens transparently when connected.

This is perfect for a mobile app. Running web apps rather than local apps also bypasses one of the main obstacles to mobile development: the need to get your binaries approved by a telecom provider before they can be installed.

Now, I have no idea whether Apple plans to include Google Gears, or an equivalent, in the iPhone (I’m not at WWDC). But I do think it is a great idea, for this or any mobile device. Combine it with Flash or Silverlight and we will wonder why we ever wanted more.

Lennon and McCartney, Yin and Yang

There’s a discussion over at the Hoffman forums on the value of the post-Beatles solo efforts.

There is a touch of magic in the Beatles’ work though I am not really a diehard fan. Generally I find the solo albums less satisfactory with a couple of exceptions. The reason I think is to do with yin and yang, a Chinese philosophy of complementary opposites. Exactly how Lennon and McCartney differ is going to be hard to put into words, but it is to to with light and dark, where McCartney is content mainly to stay in the light, and Lennon is driven to explore the dark. In the solo work, McCartney is always in danger of descending to nursery rhyme, while Lennon is always in danger of descending to primal scream. They are better together.
Personally I tend toward introspection so my preference is for Lennon, and in particular Plastic Ono Band I regard as a work of genius, dark though it is. As for McCartney, I love Band on the Run though it is lightweight, and Flowers in the Dirt where Elvis Costello seemed to play Lennon’s role to some extent, giving the music an edge that McCartney’s work often lacks.