Hi Simon,

On Wednesday 28 September 2011 17:59:09 Simon White wrote:
> I understand that the virtual list can handle a large number of model 
> items but I am wondering about situations where you might have thousands 
> or millions of items in a database.  I would think that you would not 
> want to load your model with the entire database table but would want 
> some way of loading fixed number of items at a time.
> 
> Is there some kind of mechanism to load a fixed number of items and as 
> the user scroll done the list more data is requested from the database 
> server?  I did not find any mention of this in the list documentation 
> and wondered if this is something I have to build myself.
Good point. This seems like a valid enhancement for the framework. I would see 
this feature more general like "supporting a paging widget" and in 
conjunctions with this support for block loading of data.
There are already open enhancement issues:
http://bugzilla.qooxdoo.org/show_bug.cgi?id=4463
http://bugzilla.qooxdoo.org/show_bug.cgi?id=4554

Feel free to add your comments / requirements or open a separate issue report 
if the existing don't match.

> Secondly does the model dispose of items so that it eventually does not 
> hold millions of items?  If so how is this controlled?
That's were block loading comes into play, I guess. For sure, you want to be 
able to load data in blocks and the model should get populated. 

Regards,
  Alex

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to