Hi Benco, benco wrote: > Hello, > > I noticed Qooxdoo exclusively make use of > element for widget construction. > > I wonder if it is really appropriate for some types of widget (I think of > tables and virtual trees). The table and the virtual trees are based on the same codebase. Both are virtual widgets which only render the content which is currently visible to reduce the amount of DOM elements.
> Is there a significant (dom) speed difference between html tables using > vs virtual tables using > ? Of course, virtual tables allow more flexibility. But thinking of really > hudge tables (no remote and/or no pagination), is this rule still valuable ? That depends on what you mean with "huge" tables :-) 1000, 10000 or 1 million data rows? The main benefit of virtual widgets is that the DOM elements are re-used because only the data is replaced and not the DOM elements itself. Virtual widgets scale very well even with very high numbers of data. > Notice that I didn't "build" the Huge table example in the demo page but > I've tested this example (the online version) in firefox 3.1 beta 2 and the > vertical scroll was still slow. Do you also test it with the current release of Firefox 3? Mabye the beta has some debug code which slows this down. > When I look at ExtJs, they manage tables and trees generation using > and > markup. I have no idea if it is much faster or not but do you think there > is a difference in terms of "browser speed" ? In general creation of DOM elements is expensive and if you need to create a huge number of them this can be a bottleneck. Or to put in another way: with "normal" non-virtual tables you always have a point where the setup of the table is taking too long to get a good user experience. Additionally you have to face the problem with slow (=old) client computers which are running an old version of a browser. > PS: My goal isn't to denigrate Qooxdoo, it's a great framework I plan to use > again and again ;-) Thanks for the kudos. Very appreciated ;-) cheers, Alex ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel