Where is the iPhone's answer to Adobe AIR, or Google Gears?

Adobe's AIR platform has shown that the web development model is fundamentally capable of delivering applications every bit as rich as native platform apps. Hence the outcry over the idea of web applications as the primary development model for the iPhone is overblown. Yes, the current iPhone development environment sucks but it's important to keep in mind that we haven't seen the true power of this model.

So what will Apple do if they are serious about the web development platform?

First up, a JavaScript bridge into native device capabilities on the iPhone. Right now in terms of access to device functions via web technologies, the iPhone offers nothing beyond the microbrowsers on feature phones. Yes, the AJAX support enables a quantum leap in usability, but we need more.

Top of the list - "the basics"

  • file access
  • camera access
  • location
  • address book
  • calendar

But beyond these now familiar mobile device capabilities, there is an opportunity for Apple to provide powerful APIs that would provide an unparalleled mobile development environment, web or otherwise:

  • SQLite local store
  • Access to iTunes account-based charging
  • Event subscriptions with persistent ECMAScript object handlers
    • timers
    • calendar events
    • location
    • support for installable URI handlers

Key to app usability is that these capabilities should be provided through a user consent system which does not take away the user's choice to make use of device features with a given application, a la the restrictions in many J2ME runtimes:


On first load, present the list of "privacy affecting" services being requested by the application - and listen to what the user wants! Empower the user already - they bought the damn thing.

When can we expect such features? Who knows, but I would be very surprised if the first GPS-enabled iPhones, expected in Q1 2008, ship without at minimum a JavaScript bridge to location data following soon after.

Gut check: For anyone with development experience on J2ME, can you imagine going back to the underachiever that is the J2ME RMS storage API after being provided with a local SQL store?

The native app vs. web app argument is stale!

Jeff
Chief Software Architect, EQO

Trackback URL for this post:

http://community.eqo.com./trackback/1032
| | | | |

I, too, welcome our new web

I, too, welcome our new web development overlords. I think you've hit the nail on the head -- if Apple provided hooks into the iPhone's camera, address book, etc, it would have gone a long way to quell the furor over the current sucky development environment. In fact, it likely wouldn't have even been raised as an issue.

I doubt Apple will do it, though. They have no reason to open it up and give up control. (Unless, of course, the gPhone comes out and changes everything!)