Feeds

Google erects master API for linking web apps

Intent on Web Intents

Internet Security Threat Report 2014

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

Beginner's guide to SSL certificates

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
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
Microsoft adds video offering to Office 365. Oh NOES, you'll need Adobe Flash
Lovely presentations... but not on your Flash-hating mobe
prev story

Whitepapers

10 ways wire data helps conquer IT complexity
IT teams can automatically detect problems across the IT environment, spot data theft, select unique pieces of transaction payloads to send to a data source, and more.
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.
10 threats to successful enterprise endpoint backup
10 threats to a successful backup including issues with BYOD, slow backups and ineffective security.
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?
Website security in corporate America
Find out how you rank among other IT managers testing your website's vulnerabilities.