Re: [flask] Paginating on AppEngine
- From:
- Dan Ross
- Date:
- 2010-12-20 @ 01:55
I finally came to the same conclusion Alejandro.
I DID find this:
http://code.google.com/p/he3-appengine-lib/wiki/PagedQuery
It works well and I'm just going to use numbered pages rather than
"Previous" and "Next".
On Dec 19, 2010, at 7:25 PM, Alejandro Castillo wrote:
> Frameworks doesn't have much to do on how you do pagination on
> appengine. Basically pagination with the current Bigtable API sucks,
> fetching with an offset can be very slow when you are browsing beyonds
> a few thousand records, you should use a cursor whenever you can and
> persist the cursor in cache or a cookie. Last time I tried it wasn't
> possible to use cursors for going backwards, but I read somewhere it
> was in the TODO list.
>
> 2010/12/19 Dan Ross <dan@rosspixelworks.com>:
>> I've been looking at the pagination suggestions and examples for
AppEngine but I haven't come across anything Flask specific.
>>
>> Does anyone have suggestions or examples?
>>
>> Thanks,
>
>> Dan
>>