Chrome developer feature makes communication between different online services a lot easier.
One of the most compelling features available to Android developers, Android Intents, is finally available to Web developers, through a project called Web Intents.
Web Intents, like its Android-based antecedent, is a framework for client-side service discovery and inter-application communication, to use the boilerplate description provided by Google developer advocate Paul Kinlan.
Web Intents arrived in developer versions of Google Chrome earlier this month. The project aims to simplify the process of sharing data and services across apps. This isn't particularly difficult for Web developers, if the sharing is done through a standard protocol, like JSON. But if you want to hook your Web-based messaging system to Twitter, for example, you have to do so through Twitter's API. And for each subsequent integration of this sort, you typically have to write code for a different API.
This need to customize connections between apps is why you see websites festooned with buttons that provide similar sharing services on different websites.
It would, of course, be easier if functions like sharing could be made generic. You could then use a single button to share to Facebook or Google+ or any social network at which you maintained an account. That's what Web Intents intends.
But Web Intents goes beyond link sharing. Kinlan's goal with the project is to allow Web developers to create apps that can communicate with each other without specially tailored code. Some of the use cases he envisions include: allowing browser users to select a custom search engine without a specific plug-in (Chrome and Firefox offer 10 or so pre-installed options); a print button that could deliver files to any cloud service provider or remote printer without a specific driver; and the ability to easily add photo-editing capabilities from one Web service to any other Web app.
The default set of Intents includes the following actions: Discover, Share, Edit, View, Pick, Subscribe, and Save. Eventually, it could include options like Purchase, which would allow websites to work with a variety of payment processors, without the need for vendor-specific implementations.
See the future of business technology at Interop Las Vegas, May 6-10. It's the best place to learn how cloud computing, mobile, video, virtualization, and other key technologies work together to drive business. Register today with priority code CPQCNL07 to get a free Expo Pass or to save 25% on Flex and Conference passes..
Building A Mobile Business MindsetAmong 688 respondents, 46% have deployed mobile apps, with an additional 24% planning to in the next year. Soon all apps will look like mobile apps – and it's past time for those with no plans to get cracking.
Join us for a roundup of the top stories on InformationWeek.com for the week of April 24, 2016. We'll be talking with the InformationWeek.com editors and correspondents who brought you the top stories of the week!