Feeds

Google erects master API for linking web apps

Intent on Web Intents

Secure remote control for conventional and virtual desktops

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. ®

Top 5 reasons to deploy VMware with Tegile

More from The Register

next story
NSA SOURCE CODE LEAK: Information slurp tools to appear online
Now you can run your own intelligence agency
Azure TITSUP caused by INFINITE LOOP
Fat fingered geo-block kept Aussies in the dark
Yahoo! blames! MONSTER! email! OUTAGE! on! CUT! CABLE! bungle!
Weekend woe for BT as telco struggles to restore service
Cloud unicorns are extinct so DiData cloud mess was YOUR fault
Applications need to be built to handle TITSUP incidents
BOFH: WHERE did this 'fax-enabled' printer UPGRADE come from?
Don't worry about that cable, it's part of the config
Stop the IoT revolution! We need to figure out packet sizes first
Researchers test 802.15.4 and find we know nuh-think! about large scale sensor network ops
Turnbull should spare us all airline-magazine-grade cloud hype
Box-hugger is not a dirty word, Minister. Box-huggers make the cloud WORK
SanDisk vows: We'll have a 16TB SSD WHOPPER by 2016
Flash WORM has a serious use for archived photos and videos
Astro-boffins start opening universe simulation data
Got a supercomputer? Want to simulate a universe? Here you go
prev story

Whitepapers

Driving business with continuous operational intelligence
Introducing an innovative approach offered by ExtraHop for producing continuous operational intelligence.
Why CIOs should rethink endpoint data protection in the age of mobility
Assessing trends in data protection, specifically with respect to mobile devices, BYOD, and remote employees.
Getting started with customer-focused identity management
Learn why identity is a fundamental requirement to digital growth, and how without it there is no way to identify and engage customers in a meaningful way.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Protecting against web application threats using SSL
SSL encryption can protect server‐to‐server communications, client devices, cloud resources, and other endpoints in order to help prevent the risk of data loss and losing customer trust.