On Wednesday, March 7, 2012 9:15:30 AM UTC+1, Chris Price wrote: > > Eric Clayberg recently mentioned that there was an arc of work > on-going by the GWT team that wasn't being released to the external > repo. I was wondering if this arc of work has anything to do with > IsRenderable? It looks like it was actively developed for about 3 > months 6 months ago but there hasn't been any activity since [1]. > > If I have the right idea about it, i.e. that It is a stepping stone > towards a Closure-Library style decorate pattern (i.e. server-render, > client-attach), it would seem on the surface to be a big performance > win. However, the comments about it being highly experimental put me > off trying it for client work. If there isn't any on-going development > with it, I'd be interested in knowing why it was abandoned, did it > turn out not to be a performance win, is it simply a lack of resources > or was there another reason? > I don't think IsRenderable is abandoned. I'm not sure it's really about a Closure-Library-style decorate either, but from what I recall it could be used that way I guess.
AFAIK (and IIRC), IsRenderable is used in UiBinder to build a single "huge" HTML string from many widgets, to parse things in one go: i.e. ask IsRenderable widgets to render themselves and "inline" that string into the parent's HTMLPanel content, and then attach the IsRenderable widgets back to what they generated. This bypasses the "placeholder" elements that need to be generated and then replaced by the widgets (using HTMLPanel's addAndReplaceElement). -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/RmSwxxnn9xsJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
