Re: [apps-discuss] [rest-discuss] Re: Feedback on draft-wilde-profile-link-00

Julian Reschke <julian.reschke@gmx.de> Thu, 12 April 2012 17:40 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0DAED21F8566 for <apps-discuss@ietfa.amsl.com>; Thu, 12 Apr 2012 10:40:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.711
X-Spam-Level:
X-Spam-Status: No, score=-103.711 tagged_above=-999 required=5 tests=[AWL=-1.112, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qLq6HyeyblK4 for <apps-discuss@ietfa.amsl.com>; Thu, 12 Apr 2012 10:40:22 -0700 (PDT)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by ietfa.amsl.com (Postfix) with SMTP id A1C3021F8532 for <apps-discuss@ietf.org>; Thu, 12 Apr 2012 10:40:21 -0700 (PDT)
Received: (qmail invoked by alias); 12 Apr 2012 17:40:20 -0000
Received: from p57A6FBC6.dip.t-dialin.net (EHLO [192.168.178.36]) [87.166.251.198] by mail.gmx.net (mp031) with SMTP; 12 Apr 2012 19:40:20 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19NI9YIM+RNmw/AFLCZDJRzGzr1V1l4fII6U0HDni AMmi6tWziwBoUD
Message-ID: <4F871383.5090602@gmx.de>
Date: Thu, 12 Apr 2012 19:40:19 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: Erik Wilde <dret@berkeley.edu>
References: <04FC3F79-93B5-4F86-82B2-42029138E202@mnot.net> <4F7F416C.3050400@berkeley.edu> <FFA388B3-F4D9-47AB-81EF-0761200438FB@mnot.net> <624F8E5E-7997-4716-AE84-78B30F7D2E38@nordsc.com> <4F8665E4.9050303@berkeley.edu> <5006D354-A78D-4347-A3D1-0ED840BD81ED@nordsc.com> <4F86F99A.3070601@gmx.de> <4F86FD73.2010708@berkeley.edu> <4F86FE6E.40801@gmx.de> <4F87053F.2080203@berkeley.edu> <4F870853.8020500@gmx.de> <4F87105E.5030708@berkeley.edu>
In-Reply-To: <4F87105E.5030708@berkeley.edu>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: Mark Nottingham <mnot@mnot.net>, Jan Algermissen <jan.algermissen@nordsc.com>, REST Discuss <rest-discuss@yahoogroups.com>, "apps-discuss@ietf.org application-layer protocols" <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] [rest-discuss] Re: Feedback on draft-wilde-profile-link-00
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Apr 2012 17:40:23 -0000

On 2012-04-12 19:26, Erik Wilde wrote:
> hello julian.
>
> On 2012-04-12 09:52 , Julian Reschke wrote:
>> Maybe we need to switch to examples to get a clearer picture.
>> With "profile" I understand that the link *target* is a URI describing
>> the profile, such as <http://www.w3.org/2006/03/hcard> which describes
>> that hcard profile.
>
> no, the 'profile' link target URI *identifies* the profile in use, and
> it MAY point to a description (and hopefully will), but it does not have
> to do that. at that level it works exactly the same as XML namespace

Yes, sorry for being not precise.

> URIs: its definition is to be an identifier, but if you want to be nice,
> then you actually link to some description, but that's entirely up to
> you. here's what the draft currently says:
>
> "Profiles are identified by URI, but as with for example XML namespace
> URIs, the URI in this case first and foremost serves as an identifier,
> meaning that the presence of a specific URI has to be sufficient for a
> client to assert that a resource representation conforms to a profile."
>
>> If you want to use the profile link relation to declare that something
>> is a an AtomPub server, on which resource would you set the link
>> relation?
>
> the feed served by the atompub-enabled server would contain such a
> 'profile' link on the feed level, indicating to a client that it can
> POST to that feed's URI to create a new collection member.

OK. I don't have a problem with that. The one thing to consider is, as 
others have pointed out, whether it would make sense to use "service" 
instead and let that point back to the same URI (assuming we have a 
proper definition of "service" :-)

Best regards, Julian