-----Original Message-----
From: qmx(a)qmx.me
Received: Wednesday, 16 Jan 2013, 3:40pm
To: AeroGear Developer Mailing List [aerogear-dev(a)lists.jboss.org]
Subject: Re: [aerogear-dev] Client Paging Strawman
On Wed, Jan 16, 2013 at 03:29:13PM -0600, Kris Borchers wrote:
Maybe this is a server implementation thing or maybe a non-issue and
I'm just being dense but how would I get the last page as soon as my app loads without
doing two read() requests? I can get the first page by just adding a firstPage (just and
example name) config param to my paged pipe but I have no idea what the last page would be
at that point. Thoughts?
One thing that we need to keep in mind (and one of the reasons I've been avoiding
putting first and last) is that sometimes the server isn't that efficient on returning
the size of the target collection - or you can even get an API that paginates in an
"endless" fashion. That said, I would avoid trying to put shorthands to the last
page.
Agreed. Also, I would say if we're leaving out last we should leave out first.
-- qmx
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev