A Smart Phone Built on Web Tools

A Smart Phone Built on Web Tools

Palm reader: The Pre features a slide-out physical keyboard as well as a touch screen.

This Saturday, Palm will launch what some are calling a last-ditch gamble: its new smart phone, the Palm Pre. The media has been buzzing with speculation about another iPhone challenger, and Palm loyalists see the Pre as the best hope for their favorite underdog to regain its former glory. But behind all the hype and hoopla, the real innovation is a brand-new operating system based on widely used Web technologies.

“It’s a very different concept,” says Andrew Yu, MIT’s Mobile Platform Manager and Architect. “It’s revolutionary in the sense that they are opening the door to mobile app development.”

The Pre’s new operating system, webOS, runs on top of Linux. But rather than requiring applications to be written in a high-level coding language, the way that other smart-phone platforms–and Palm’s previous operating systems–have done, webOS lets Web developers use tools like HTML, CSS, and Javascript, which should be more familiar to anyone who has programmed for the Web.

In the past, application developers have often had to familiarize themselves with a new language in order to build programs for mobile systems. To make an app that is compatible with Apple’s iPhone, for example, developers have to use the relatively obscure programming language Objective C. In contrast, according to information released by Palm, developers should be able to manage data storage on the Pre using HTML5, in addition to having access to data from the phone’s Contacts and Calendar. A software development kit (SDK) for the Pre called Mojo will also include tools to extend Javascript to access hardware features on the device, including the accelerometer, the camera, and the phone itself.

The advantage to this strategy is that more developers already speak the language.

“Anyone who can program for the Web can potentially build apps for webOS,” Yu says. That could also make it simpler, Yu adds, for developers to translate existing Web apps to webOS. The ease of writing Web code could open up a developer pool of millions, rather than the tens of thousands who already know languages like Objective C and Java, the language used to write applications for Google’s Android platform.

There is some evidence that Web developers will be eager to try their hand at mobile development too. For a year after the iPhone first launched, there was no way to develop a native application–one that would run on the phone itself. So instead, many third-party developers created Web programs that ran inside the phone’s browser. It wasn’t until Apple released its SDK that app developers could write real native apps, taking advantage of the phone’s underlying hardware like the accelerometer and touch screen. The interface layer for webOS, on the other hand, acts like a browser itself, with multiple applications running in separate windows–what Palm calls “cards,” because of how they’re displayed on the screen.