W3C home > Mailing lists > Public > public-ldp-wg@w3.org > February 2013

Re: NEW ISSUE Can a Client Set the Page Size?

From: Wilde, Erik <Erik.Wilde@emc.com>
Date: Wed, 13 Feb 2013 07:20:03 -0500
To: "public-ldp-wg@w3.org" <public-ldp-wg@w3.org>
CC: "ashok.malhotra@oracle.com" <ashok.malhotra@oracle.com>
Message-ID: <CD414249.D6A2%erik.wilde@emc.com>
hello all.

On 2013-02-13 00:47 , "Ashok Malhotra" <ashok.malhotra@oracle.com> wrote:
>Page size (number of entries on a page) may need to be changed depending
>on the display device.  How can the client do this?

usual REST patterns would suggest to use URI templates, so that the
service exposes its capabilities declaratively, and then the client knows
how to compose a request given that template, and concrete variable values.

shows how this could be exposed RESTfully, based on a draft i am working
on (http://tools.ietf.org/html/draft-wilde-template-desc-00). i am
actively working on this one because of the many template-driven services
that are out there, and often aren't properly link-driven, but instead
rely on hardcoding URI templates either in clients (very bad) or media
types (not quite as bad, but also unnecessarily restrictive).


Received on Wednesday, 13 February 2013 12:20:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:11:45 UTC