Re: Inter-Widget Communication: Use Cases and Implementations

On Nov 15, 2011, at 15:05 , Scott Wilson wrote:
> As you can see from the implementations we have quite a range of approaches:
> 
> - inter-window messaging using HTML5 Web Messaging[3]
> - server-side pub-sub using XMPP, Faye or similar
> - RPC-style reflection and invocation
> - drag and drop with additional semantics
> - OpenAjax Hub pubsub messaging [4]
> - Google Wave Gadget API for state synchronisation [5]
> - Server-sent DOM events for editor state synchronisation [6]

Have you looked at Web Intents for this? It is probably not a perfect solution in that it is largely meant to broker to generic services (so, say, a "share" service rather than specifically the "Twitter" app) but I think that it addresses quite a few cases for IWC. As a bonus, it'd work the same for widgets, sites, etc.

-- 
Robin Berjon - http://berjon.com/ - @robinberjon

Received on Tuesday, 15 November 2011 15:31:04 UTC