Hi Googlers,AFAIK, PotentialElement and Renderable were an experiment contributed by the team at Orkut. Now that Orkut is closing its doors, what will happen of that feature?
Is the experiment successful and should it be promoted? Or is it a failure and we should remove it to simplify the codebase? Or are there other teams using it and we should keep it in experimental state for a little while before taking a decision?
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/a0612860-b1bd-4a4f-aa91-0036fbc5049f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You're killing me, Goktug. The backwards compatibility knife had
> Even Orkut closing the doors, it doesn't mean their code is going away
> anytime soon :)
already pierced my heart, and this just shimmied it around a bit. :-)
I had to refresh on memory on PotentialElement, but it looks virtual
DOM-ish; making fake elements that are really pure JS objects, and then
later converting them into real DOM objects only as-needed. I believe
it sped up the first page load of Orkut by ...15%? or so.
I also vaguely recall that, AFAIU, the pipe dream was to have the
entire initial DOM render be one huge .innerHTML=<blah>, since IE
really liked that. But making strings that big hurts the GC such that
(AFAIK) it's a wash in modern browsers to just making DOM elements
directly anyway.
Speaking of PotentialElement, looking at commits from around that time
frame, there is also a change from Ray Ryan that turned
useLazyWidgetBuilders = true, with a commit message of "in prep for
deleting the old code".
Looks like that deleting never happened...can we do that now?
As with PotentialElement, I don't think useLazyWidgetBuilders had any
external design docs, discussion, etc., so I don't really know the
whole story on it. Or even little bits, other than I enjoy deleting old
code and will volunteer to do that if we can.
- Stephen
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/20140706220525.6ccc4472%40sh9.
EXPERIMENTAL and subject to change. Do not use this in production code.
This class is a stepping in our transition to the Renderable strategy. Eventually this functionality should be merged into {@link HTMLPanel}.
This interface is very experimental and in active development, so the exact API is likely to change. Very likely. In fact, it will definitely change. You've been warned.
/**
* @see #render(RendearbleStamper, SafeHtmlBuilder)
* TODO(rdcastro): Remove this once UiBinder doesn't rely on it anymore.
*/
SafeHtml render(RenderableStamper stamper);
// TODO(rdcastro): use the render() call that receives the SafeHtmlBuilder
String elementHtml = fieldManager.convertFieldToGetter(childFieldWriter.getName()) + ".render("
+ fieldManager.convertFieldToGetter(stamper) + ")";
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA2itF_dBO%3D8GpRmRgs0%3D2NfeBY1r%3Dhr2may347Hb9BQHg%40mail.gmail.com.
From an outsider's perspective, this is not only unfinished code, but probably abandoned since it has been left unfinished for so long. If it isn't going to be finished/maintained, it should be deprecated, wait a version and remove it, otherwise it should be 'completed'. Another option would be to factor it out to its own jar so that it doesn't appear to be an integral part of User... but the hooks in DOM.java will make that hard, and the 'only com.google.gwt code can write uibinder parsers' make this even tougher.
Right, sorry...I thought that the annoucement was exactly that: it
> The point was more about Orkut announcement doesn't change anything
> and cannot effect the decision from our perspective; as long as the
> system is running we need to take care of it.
would no longer be running, soon (end of September).
So, yeah, I understand we can't delete things *right now*, but I assume
Thomas was talking about the post-shutdown-so-probably-deleted
timeline, which I assume will happen at some point post-September.
- Stephen
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/20140707095026.4fb42f76%40sh9.