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

Re: [Component Model] Decorator Challenges

From: Roland Steiner <rolandsteiner@google.com>
Date: Wed, 30 Nov 2011 16:01:03 +0900
Message-ID: <CACFPSpiFERyPuR6dNeMHBqThU5T6CN7SDKSLxoWq_1qmXmuU7w@mail.gmail.com>
To: Dimitri Glazkov <dglazkov@chromium.org>
Cc: public-webapps <public-webapps@w3.org>, Jonas Sicking <jonas@sicking.cc>, Ian Hickson <ian@hixie.ch>
On Tue, Nov 29, 2011 at 11:15, Roland Steiner <rolandsteiner@google.com>wrote:


> If we are considering worker-like decorators, then AFAICT it doesn't have
> to be an actual worker - it's enough if it's a separate object that can be
> attached and detached. As long as we define the interfaces nicely, FWIW
> this object could even hold internal state, etc.
>

I should point out that we already have exactly such an interface in the
form of the host element <-> ShadowRoot boundary! Essentially, one could
view Decorators as shadow DOM where scripts are only allowed in the shadow
side.


- Roland
Received on Wednesday, 30 November 2011 07:02:02 GMT

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