Feeds

Google erects master API for linking web apps

Intent on Web Intents

Choosing a cloud hosting partner with confidence

Google is developing an über-API meant to facilitate interaction between web applications, and it plans to integrate the project – known as Web Intents – with its Chrome browser and Chrome OS browser-based operating system.

As Google seeks to move all of your applications to the web, the project is an obvious – and necessary – next step.

"In today’s browser ecosystem, web apps are completely disconnected or require the use of complicated APIs in order to make use of a third-party service," reads a blog post from Google software engineer James Hawkins. "What if we could give sites the ability to leverage these services without any knowledge of the chosen service, except that it provides some set of predefined functionality?"

Google's API is similar to Mozilla's existing Web Activities effort, and according to Google, the two outfits are working to merge the projects. Previously, Mozilla had indicated that Web Activities was based on the original Web Intents project started by Google developer advocate Paul Kinlan – and that it was working in tandem with the Chrome team.

Web Intents are based on Android's Intents system, which allows for communication within and between Android applications. With Android Intents, an application requests a particular action from an outside service and identifies the data it wishes to pass to that service. It might, say, offer up a photo for editing. The user is then given a list of service that have registered to handle this particular action.

"This web platform API will provide the same benefits of Android Intents, but better suited for web applications," Hawkins says. "As with Android, Web Intents documents an initial set of intent actions (edit, view, share, etc.) that likely cover the majority of use cases on the web today; however, as the web grows and sites provide more functionality, new intent actions will be added by services that document these intents, some more popular than others."

According to Google, developers will be able to connect their web app to an external service with as little as two lines of code, as Chrome does the "heavy lifting". To foster the development and use of Web Intents, the company intends [Ed: no pun, um, intended] to build a web site where coders can post and share them.

Today, you can test drive the system at Google's examples page, and you can explore the API using Google's JavaScript shim, which lets you roll the interface into any browser.

With his blog post, Hawkins paints the project as a way for developers to save some time and money. "Consider an online photo storage site run by a cash-strapped startup: the developers don’t have the resources to add image editing abilities to their app, but they feel the site won’t be a hit without it," he says. "The Web Intent system will make it easy for them to offer this with little effort."

But the system is also a necessity for Google's vision of a world where applications run on the web. One of the chief problems with the company's Chrome OS – where the browser is essentially the only local application – is that there's no easy way for applications to interact with each other, to move data back and forth between services. Unless something like Web Intents is widely adopted, Chrome OS is little more than a novelty. Of course, it needs help in other areas as well. ®

Security for virtualized datacentres

More from The Register

next story
It's Big, it's Blue... it's simply FABLESS! IBM's chip-free future
Or why the reversal of globalisation ain't gonna 'appen
'Hmm, why CAN'T I run a water pipe through that rack of media servers?'
Leaving Las Vegas for Armenia kludging and Dubai dune bashing
Bitcasa bins $10-a-month Infinite storage offer
Firm cites 'low demand' plus 'abusers'
Facebook slurps 'paste sites' for STOLEN passwords, sprinkles on hash and salt
Zuck's ad empire DOESN'T see details in plain text. Phew!
Pssst. Want to buy a timeshare in the clouds?
The Google dilemma — controller or spreader of knowledge?
CAGE MATCH: Microsoft, Dell open co-located bit barns in Oz
Whole new species of XaaS spawning in the antipodes
Microsoft and Dell’s cloud in a box: Instant Azure for the data centre
A less painful way to run Microsoft’s private cloud
prev story

Whitepapers

Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
New hybrid storage solutions
Tackling data challenges through emerging hybrid storage solutions that enable optimum database performance whilst managing costs and increasingly large data stores.