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

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 UTC