Big News in Databases
use-the-index-luke.com
use-the-index-luke.com
"keyset pagination has some limitations: most notably that you cannot directly navigate to arbitrary pages. However, this is not a problem when using infinite scrolling. Showing page number to click on is a poor navigation interface anyway—IMHO."
Sorry, but NO. Infinite scrolling sucks, because it fills the page (and therefore memory) with lots and lots of entries, and disallows me to quickly navigate to exact place in the view I need. If I know that what I seek was approximately on page 12 of last search result, I will go straight there (1 click) and navigate from here. I hate downloading the entire history and scrolling from the beginning.
Infinite scrolling is fine the first time, but on repeated visits is just not an option and destroys everybody's valuable time.
(Now if only Twitter, Facebook or Hacker News would have implemented this...)
Yet observables are all the rage. Additionally, can't you just move prior entries out, so the "scroll and fetch" goes both ways?
> disallows me to quickly navigate to exact place in the view I need
I've seen infinite scrolling that implements paging as well
In general I'll agree infinite scrolling isn't implemented well, and is usually just the result of dropping in a module and forgetting about UX.
Then you're using offsets, which is the crux of the disagreement regarding the utility of offsets.
The UX, as noted, is ugly - have to somehow support scrolling in both directions with some sort of lazy-loading - but pagination in this context doesn't === offset-based pagination.
How do you know it's it's still on 12 and not 13 or 11 if the results changed? Wouldn't a better filter or other navigation be more useful?
> Infinite scrolling is fine the first time, but on repeated visits is just not an option and destroys everybody's valuable time.
To me this doesn't make sense. I can't think of a time where I've repeatedly gone to a specific page on results and where I wasn't able to filter for what I was looking for instead.
Wouldn't it be simpler to save the tweet the first time around or if not, since I know the tweet I'm looking for, search for it where I'd get the exact result?
[1] http://web.archive.org/web/20071016095932/http://www.rightst...
But I agree, it would be a nice ability to have.
That's wrong. Open Source Ingres did it for many years too Of course unlike PG they are not on the Hype train ...