W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2009

Re: [widgets] What does it mean to have an unavailable API

From: Marcos Caceres <marcosc@opera.com>
Date: Mon, 8 Jun 2009 20:34:24 +0200
Message-ID: <b21a10670906081134m26715b82pc7718e3468b386a9@mail.gmail.com>
To: Scott Wilson <scott.bradley.wilson@gmail.com>
Cc: Jonas Sicking <jonas@sicking.cc>, Marcin Hanclik <Marcin.Hanclik@access-company.com>, Henri Sivonen <hsivonen@iki.fi>, public-webapps <public-webapps@w3.org>
2009/6/4 Scott Wilson <scott.bradley.wilson@gmail.com>:
> Security is on UC; another is resource use. If the UA only needs to inject the modules needed by a Widget this can have a positive impact on downloading and processing Widgets.
>
> For example, if you have a lot of optional features, each of which is another 12k of injected JS...  well, you get the idea. You don't want to have those downloaded every time if they aren't needed.
>
> Also, if any of those modules do automatic polling then you only want to load them for Widget instances that  really do need to use them.
>

Understood, but isn't there some way to load them dynamically even if
they are declared?


-- 
Marcos Caceres
http://datadriven.com.au
Received on Monday, 8 June 2009 18:35:01 GMT

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