There’s a lot of innovation going on in the browser wars these days, with huge strides in features and performance from all the top vendors. And there’s a new feature on the horizon that’s going to make web apps even more powerful and flexible: Web Intents, which will allow web apps to communicate with each other.
Today, Google has announced that it’s planning to integrate Web Intents into Chrome. The news comes on the heels of Mozilla’s announcement last month that it is also working on the project (Google’s post seems to indicate that the two projects used to be distinct, but that they’re now being unified under a single API).
So what exactly are Web Intents? The name and the purpose are both similar to the Intents system that’s present in Google’s Android platform. In short, Intents allow two separate applications to communicate with each other, without either of them having to actually know what the other one is. Instead, they offer and listen for generic hooks.
On Android this means that if you install a new image editing application, the default Gallery app doesn’t have to integrate any special APIs in order to send a photo to that editing app. Likewise in the case of a web app, this means that a new photo hosting site could easily integrate editing functionality from something like Aviary or Picnik, without either of those services needing to implement a special API unique to that photo hosting site.
Yes, it’s slightly confusing, but it’s a good thing, and it means web apps will be able to operate more like native applications.