Incrementally adding Data to the page

1 view
Skip to first unread message

Timothy Johnson

unread,
Aug 17, 2009, 10:39:49 AM8/17/09
to PURE - JavaScript Templates Engine
I take an approach that is very similar to your nested iteration
example. However I have a rather large dataset to throw onto a page
(2000 items) and some complex math to perform on the results, so that
on a good day this operation takes about 30 seconds. Using PURE made
it so that the template of the page renders first, and then the data
is fetched (perception is faster, because it is not a 30 second blank
screen). But I would like to see if I can make sequential queries with
PURE to the server, rendering out each major section one at a time,
right after the other (instead of making 20+ simultaneous requests
from one user).

Any ideas from anyone as to the best way to go about this? I am using
jQuery on the page as my framework.
Reply all
Reply to author
Forward
0 new messages