Re: Pagination - let's finalize the collection design (ISSUE-42)

Hi Markus,

>> How do we say: the current page is part of / a page of this view?
>> I.e. the predicate for "is a(ny) page of" will be needed.
> 
>  /collection hydra:view /collection?page=4

Okay, makes sense.

> I'm not a big
> fan of materializing inverse properties.

No no, sure, the above is sufficient.

>> On second thoughts:
>> what is the exact semantics of "next" and "previous"?
> 
> In the case of a PartialCollectionView next and previous would point to the
> next/previous view in the ordered set of PartialCollectionViews that "split"
> the collection. 

+1

>> Related: is the "view" resource the same
>> in pages 2 and 3 or a resource, or does each page have its own view?
> 
> I'm not sure I understand your question but this is how it would work (in an
> abbreviated form):

I was still slightly confused, but now I understand that the page = the view.

So, I hereby confirm my endorsement of this proposal.

Best,

Ruben

Received on Tuesday, 13 October 2015 13:42:27 UTC