On Sun, Apr 18, 2010 at 7:32 AM, kamathln <[email protected]> wrote:

> HI,
>    I somehow have the feeling that for pagination,   cursors,
> memcache and task queues can be used. But I can't get my head around
> to get the exact code. Any experts here who can help?
>
> The next time the cgi runs it should first check if there is a
> memcached list of cursors for the current and next (and may be
> previous) N set of pages .. if not ,  call the task again to generate
> it. If it was existing , use the cursors from the memcached list.
>

The "set of pages" is a little bit confusing for me. Do you mean "current,
next and previous set of *records*"? (I.e. records to be displayed
on current/next/previous page.)

I was thinking about using memcache for paging (of articles) too, I did not
think about using cursors though, as I have only very shallow experience
with them. I have to look at them, this sounds promising.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to