From: Doug M. <do...@cr...> - 2005-10-12 13:53:15
|
I built a tree much like this (Not DynAPI) for a commercial site. They had 800+ items to load in their tree and this took WAY too long. Assuming that any given branch does not exceed a couple dozen nodes then rendering a branch on demand should not be too demanding. ----- Original Message ----- From: "Leif W" <war...@us...> To: <dyn...@li...> Sent: Monday, October 10, 2005 11:42 AM Subject: Re: [Dynapi-Help] Lazy Tree > >>> From: Julian Rath <jul...@gm...> > >>> Received: Mon, 10 Oct 2005 09:31:37 AM EDT > >>> > >>> Hi Everybody, > >>> how can i get this Explorer lazy, so it shoud only load that what i need. > >> > >> 2005/10/10, Leif W <war...@us...>: > >> Hi Julian, > >> > >> I am not sure what you mean. Can you describe in more detail what you mean > by > >> "Lazy Tree" or "Lazy Explorer" or "load only what you need". Load what > and > >> not load what else? What do you want to avoid loading? > > > > From: Julian Rath <jul...@gm...> > > Received: Mon, 10 Oct 2005 10:16:04 AM EDT > > > > My Plan: > > If you click on a node load only the childs of it not more of the tree > > so a async one, i think > > Ok, I think I understand. Is this what you mean? For instance, let's use > http://dynapi.sourceforge.net/releases/dynapix/examples/dynapi.gui.explorer. html > for reference. > > I hit the page, and I see it takes a very long time to load, as it loads > everything. On the other hand, when it runs, it runs very quick. > > Say we load only the top level, then load only if required by expanding a tab. > The downside is that the application might seem slow. > > So something aynchronous might be desireable. Perhaps load the top level, and > display it, then continue to walk the tree breadth-first and load the data for > sub levels while waiting, and stop to handle any user actions? That seems > very complicated to me, but might be the right way to handle it for the user > experience. > > Any comments or ideas how to implement? It's a feature request, so I'll copy > the results of the discussion there and refer to this thread. > > Leif > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.11.14/128 - Release Date: 10/10/2005 > > |