Personally, I've had experience with this sort of thing in paginating db results, but not with AJAX. Ironically, my js projects haven't needed it so much and here's why:
JS is rather fast, but the DOM is not... Timeline loads all of the data at once into memory, but selectively adds / removes or hides from the DOM that data. I know that it can be done, but I question its value. For one of my Javascript projects I loaded almost 20MB of raw text into memory, and then used JS collections to navigate it. It loaded in under 10 seconds, and browsing (as long as I limited the records I was putting into the DOM) was very very fast as well. The only time I've seen things get really bogged down is when you have > 20,000 table rows in the DOM at one time, or other similar things that takes the DOM parser a long time to sort out... lots of nested DIV tags, etc... Those can really start sucking up memory on the web browser. But simply having > 200,000 records in memory in JS alone? Its not very hard to do or slow at all. I haven't seen any performance problems with timeline, except when trying to display way too much at once. -t On 5/19/07, Henrik Genssen <[EMAIL PROTECTED]> wrote:
maybe no one understood, that I am talking about the timeline widget? try the examples below in firefox with firebug installed and watch for xmlhttprequests, while you are scrolling... hg >reply to message: >date: 17.05.2007 23:43:57 >from: "Henrik Genssen" <[EMAIL PROTECTED]> >to: [email protected] >subject: ajax feeling > >Hi, > >is there a way to load not all events at once, but only a given buffer and load the next chunk >as I get closer to the end of my buffer? > >the livegrid-plus does a good job on this for (large) tables... >http://www.dowdybrown.com/dbprod/rico-test9/ >(see examples there) > >regards > >Henrik > _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
