Thursday, May 27, 2010

Re: UiBinder performance: Impacted by Dependency Injection ("provided=true")?

Thanks.


On May 27, 5:53 pm, Thomas Broyer <t.bro...@gmail.com> wrote:
> On 27 mai, 13:13, Chris Lercher <cl_for_mail...@gmx.net> wrote:
>
> > Hi,
>
> > one of the advantages of UiBinder is, that it's "building DOM
> > structures by cramming big strings of HTML into innerHTML attributes
> > than by a bunch of API calls" (http://code.google.com/webtoolkit/doc/
> > latest/DevGuideUiBinder.html#Overview).
>
> > First of all, I want to admit that I don't yet fully understand, at
> > which point this is done: Is the HTML string produced at compile time
> > (as far as possible), or only at runtime?
>
> Compile-time!
> Hint: pass the -gen argument to Compiler and go look at the generated
> Java classes.
>
> > Now my question: I have several nested UiBinder composites, and I'd
> > prefer to build them in Dependency Injection style [*]. Does this
> > approach have a negative impact on the performance advantage of
> > UiBinder?
>
> Neither negative nor positive.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment