Re: naming resources - Slug-Header - ISSUE-43

hello henry.

On 2013-01-10 10:49 , "Henry Story" <henry.story@bblfish.net> wrote:
>On 10 Jan 2013, at 10:39, Yves Lafon <ylafon@w3.org> wrote:
>> 
>> Well, as soon as you have two ways of doing the same thing, you end up
>>dealing with conflicts (setting precedence, be sure that a client that
>>uses only RDF is not ignoring the SLUG header etc...). It is far better
>>to avoid that kind of duplicates.
>Yes, but you can't avoid it for non-RDF content. It seems compatible,
>modulo the issues I brought up below, that would need to be considered
>more carefully, but is less general.

that's the issue yves raised (i think). if you do it in HTTP, it's part of
the general conversation rules on the web, and there's no need for clients
to re-learn rules (and use different rules) when content types change. so
if there is an HTTP concept for doing it, we should only use this.

>The issues of precedence I think were discussed on the Atom-protocol
>mailing
>list ( I think that was a HUGE discussion ) They had exactly the same
>precedence issues: Atom entries contain atom:title elements and so these
>could also be used for the headers.  I think here we should ask Erik
>Wilde 
>who has been following the Atom world much more closely than I have.
>Is it widely adopted? Where there problems etc...

slug is just a hint and thus servers are free to ignore it. i think the
main issue is that in many cases, a title might not be exactly what a
client wants to propose for the newly minted part of the URI. even blogs
nowadays often have separate UIs for setting the title, and setting the
URI, where the URI field is pre-populated with some mapped version of the
title, and then users can hand-edit it. and even then, of course, the
server would be free to reject/alter the user's hand-edited version. in
low-volume high-value data, people care about individual URIs and thus
giving them this level of sophistication is good and valuable, and it is
in widespread use. this probably is very different when your collection is
100 million data points from tracking mobile phone users, so in the end it
comes down to use cases. AtomPub added slug because blogging was a major
use case.

cheers,

dret.

Received on Thursday, 10 January 2013 10:47:26 UTC