W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: Gave a try to the Component Model

From: Roland Steiner <rolandsteiner@google.com>
Date: Tue, 11 Oct 2011 15:40:44 +0900
Message-ID: <CACFPSpgCAsxDY48RQRv66m+=zjxKWPpnzvz_jN-M=Esy8XLoag@mail.gmail.com>
To: Julien Richard-Foy <julien@richard-foy.fr>
Cc: public-webapps@w3.org, Hixie The Pixie <ianh@google.com>, Hajime Morita <morrita@google.com>
Hi Julien,

Thanks a lot for your interest and feedback! If I understand your example
correctly, it is very similar to the time-zone selection example Hixie gave
on this mailing list. As it so happens, I just added that as a use case for
components at http://wiki.whatwg.org/wiki/Component_Model_Use_Cases.

Regarding sharing of data in your examples: I'm not sure it can work exactly
as you described, because of confinement considerations (a component should
not be able to access 'window', nor 'document', nor the DOM, without the
embedding document's consent), but we are in the middle of writing a
proposal that should address most of that (confinement, declarative syntax,
data sharing, to be precise), which should be forthcoming soon.


Cheers,

- Roland


On Mon, Oct 10, 2011 at 17:43, Julien Richard-Foy <julien@richard-foy.fr>wrote:

> Hi,
>
> Iím interested in the component model proposal [1] and tried to
> imagine what architecture patterns our apps would follow by using it.
> I wrote my notes here [2] and Iíd like you to read and comment them.
>
> The most difficult problem to solve seems to be the way components
> will be bound together since we donít control how they are instanciated and
> configured.
>
> Regards,
> Julien
>
> [1] http://wiki.whatwg.org/wiki/Component_Model
> [2] http://substance.io/julienrf/dom-component-model/1
>
Received on Tuesday, 11 October 2011 06:41:38 GMT

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