Hi Dave,

We also have the LazyPanel widget which is being promoted from the GWT
Incubator to GWT core. The LazyPanel lets you add widgets that you want to
lazily load to the panel and call setVisible(true) when you want them to
load up and display.

You can check out the LazyPanel on the GWT Incubator project to give it a
try, and read up on planning a lazy load design strategy using the LazyPanel
on the recent blog post about lazy loading on the GWT blog.

GWT incubator:
http://code.google.com/p/google-web-toolkit-incubator/

"Improving performance with on-demand widget creation":
http://googlewebtoolkit.blogspot.com/2008/11/improving-performance-with-on-demand.html

Hope that helps,
-Sumit Chandel


On Mon, Dec 1, 2008 at 1:08 PM, Adam T <[EMAIL PROTECTED]> wrote:

>
> ...and runAsync() is already in the trunk if you are comfortable
> building from there (http://code.google.com/webtoolkit/
> makinggwtbetter.html#workingoncode<http://code.google.com/webtoolkit/makinggwtbetter.html#workingoncode>
> ).
>
> I use it in a similar situation to what you describe and see good
> results. My usage so far is along the following lines:
>
> GWT.runAsync(new RunAsyncCallback() {
>        public void onFailure(Throwable caught) {}
>
>        public void onSuccess() {
>                cssEffectTester.init();
>        }
> });
>
> where the code associated with cssEffectTester.init() becomes a new
> download.
>
> I'm sure better/other patterns will come out as time progresses.
> There's another approach here:
>
> http://groups.google.se/group/Google-Web-Toolkit-Contributors/browse_thread/thread/eb9c8cf046cbaaf2/389ca559536c71bf?hl=sv&lnk=gst&q=runAsync#389ca559536c71bf
>
> //Adam
>
> On 1 Dec, 20:55, DaBlick <[EMAIL PROTECTED]> wrote:
> > I'm sorta directing this to the GWT developers but... all input is
> > welcome.
> >
> > The GWT Roadmap identifies "lazy loading" as a Tier 2 priority ("more
> > complex but important").   As of today, it is the only tier to item
> > that is not already "done" or at least "in progress".
> >
> > This is something my project could really use.   Is there any kinda
> > estimate that can be made as to when and if this might be started and/
> > or available?
> >
> > Lazy loading has been mentioned here and there in other topics, but
> > I'm asking in the context of the roadmap item.
> >
> > Our project demonstrates a fairly common scenario where lazy-loading
> > might be used. We have an application composed of many small-to-middle-
> > sized modules.    At the moment, we have little choice but to load all
> > modules which is (now) somewhat large.
> >
> > Thanks
> >
> >      Dave Blickstein
> >      Spiral Universe
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to