[dojo-contributors] [feedback wanted] Preferred Iteration forms

Tom Trenka ttrenka at gmail.com
Mon Apr 3 18:09:04 EDT 2006


You and I should probably coordinate off-list then; I don't want to do
anything that it going to impact something as important as the data provider

Hit me up on IM if you get a chance to talk.


On 4/3/06, Brian Douglas Skinner <skinner at dojotoolkit.org> wrote:
> Bill Keese wrote:
> > Does this relate to the data binding stuff? (Commonly called cursors)
> Hey Bill,
> Yes, I think in the Dojo data-provider/data-binding code we'll want to
> have some notion of an iterator or cursor.
> A full-featured data-provider might have fancy features like being able
> to move the cursor around, and being able to iterate over just a portion
> of collection.  But we should make sure that simple things are simple,
> which I think means we'll want to make it possible to iterate over a
> dojo.data result set using the same syntax that people use elsewhere in
> Dojo.  In the experimental dojo.data code that I checked in last month,
> the ResultSet class has a getIterator() method that simply returns an
> instance of dojo.collections.Iterator.
> - Brian
> _______________________________________________
> dojo-contributors mailing list
> dojo-contributors at dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-contributors
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-contributors/attachments/20060403/ed76387d/attachment.htm 

More information about the dojo-contributors mailing list