W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

Re: connection ceremony for iframe postMessage communications

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 10 Feb 2012 21:37:12 +0000 (UTC)
To: John J Barton <johnjbarton@johnjbarton.com>
cc: public-webapps <public-webapps@w3.org>
Message-ID: <Pine.LNX.4.64.1202102136180.10315@ps20323.dreamhostps.com>
On Fri, 10 Feb 2012, John J Barton wrote:
> On Fri, Feb 10, 2012 at 10:58 AM, Ian Hickson <ian@hixie.ch> wrote:
> > On Fri, 10 Feb 2012, John J Barton wrote:
> >>
> >> Just to clarify, I want to see the layer you just outlined be 
> >> standard so we can design iframe components and apps to mix and 
> >> match. This can be two simple layers on the current messaging: 1) the 
> >> connection ceremony, 2) the key/API format.
> >
> > No reason for it to be standard, just define it as part of the 
> > protocol you are implementing over postMessage().
> 
> Ok, so I define it for my app. You write an iframe. You read my 
> definition and I can load your iframe. Yay!
> 
> Then Boris write an app. He defines it for his app. You change your 
> iframe to deal with my app and Boris' app. Ok.
> 
> Then Mark Zuckerberg and Larry Page define apps. Soon you are spending 
> all of your money hiring devs to deal with connection protocols.
> 
> Then maybe you will have a reason for a standard?

Why would the connectivity part of this be the hard part? Each of these 
apps has an entire protocol you'll have to reimplement if you want to 
connect to it! The connectivity part is trivial in comparison.

I'm all for people standardising their postMessage() protocols, though, 
if they want to. Nothing is stopping people from doing so.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 10 February 2012 21:37:35 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:50 GMT