Werner-

another interesting project for providing resources is Weblets:
https://weblets.dev.java.net/

-Matthias

On 1/4/06, Adam Winer <[EMAIL PROTECTED]> wrote:
> Werner,
>
> ADF has some technology that may be helpful here (when
> it arrives, grumble, grumble...)
>
> http://tinyurl.com/999qe
> http://tinyurl.com/7vn42
>
> Cheers,
> Adam
>
>
>
>
> On 1/3/06, Werner Punz <[EMAIL PROTECTED]> wrote:
> > Actually this all or nothing or common ground approach is not what I had
> > in mind.
> >
> > What I am thinking of is something along these lines.
> > You already have some kind of dynamic loading infrastructure in there
> > with
> >
> > dojo.require("dojo.a");
> > dojo.require("dojo.b");
> >
> > now the problem as discussed is that this triggers
> > xmlhttp requests and is slow
> >
> > the alternate solution to this dynamic linking is a static linking via
> > an ant build to drop everything into a single file.
> >
> > Also bad, because one time you download a single huge file (well
> > compresset but still)
> >
> > This is a viable approach for a webapp but not for a component library
> > where one component needs part a of dojo and part b and another one
> > needs part a and c.
> >
> > The infrastructure is there to make dynamic includes upon the given
> > needs of the components currently used.
> >
> > So theoretically if only one component is loaded than an include of part
> > a and b is done.
> >
> > If the second one is added an additional one for part c also is done.
> >
> > It is sort of a semi dynamic linking where myfaces adds the needed
> > includes and neither the build system nor the javascript runtime.
> >
> > You get the benefits of both approaches that way, less code download
> > because only the parts needed are loaded and still excellent browser
> > caching, due to standard javascript includes.
> >
> > So my question, does dojo already support such an approach?
> >
> > Werner
> >
> \
>


--
Matthias Wessendorf
Zülpicher Wall 12, 239
50674 Köln
http://www.wessendorf.net
mwessendorf-at-gmail-dot-com

Reply via email to