-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rethink paging #42
Comments
Suggested solution: Introduce
|
+1 introducing hydra:Page more details in email: http://lists.w3.org/Archives/Public/public-hydra/2014Oct/0002.html
|
What about |
Please consider #36 while rethinking paging. |
Proposals are being tracked at https://www.w3.org/community/hydra/wiki/Pagination |
PROPOSAL: Look at pages of a collection as specific views on a single underlying collection instead of thinking of the collection as the sum of its pages. More concretely,
|
Call for consensus: https://lists.w3.org/Archives/Public/public-hydra/2015Oct/0163.html |
RESOLVED: Change the current pagination design by replacing |
I've just noticed that the wiki page is outdated. Should it be deleted? |
@tpluscode It does not seem to be optimal to use a comment in this closed issue for that question. |
It isn't outdated (This page collects design proposals for ISSUE-42 - it still does). We should keep stuff around to document what we did. |
Fair enough. But the page doesn't say that the issue has been closed. One could get the impression that the design still hasn't been decided on |
I just wanted to mention that today I found that wiki page and wondered myself if the discussion had been resolved or not. Glad to see it has, as I think that PartialCollectionView is a great way to handle this, but I do think the wiki should be updated to indicate resolution. Adding a note to the top of the document would preserve the discussion, but also help to avoid confusing people new to Hydra. |
As discussed on the mailing list, the current implementation of paging might be confusing. This became apparent when I was implementing this for the Linked Data Fragments server (try the Turtle or JSON-LD representaiton).
Basically, the whole misconception for me comes with the term
PagedCollection
. If I told you "x is a paged collection", what would you expect? That x is a single page or that x is a collection that is accessible as pages?Hydra says that a
PagedCollection
is a page, as is apparent from the current spec:This seems like a misnomer. What can we do to fix? Suggestions in comments.
BTW @lanthaler I would be totally willing to write this into the spec.
The text was updated successfully, but these errors were encountered: