Re: Link relation types for non-GET links
Erik Wilde <dret@berkeley.edu> Sat, 15 August 2015 18:05 UTC
Return-Path: <dret@berkeley.edu>
X-Original-To: link-relations@ietfa.amsl.com
Delivered-To: link-relations@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 02C6E1A6F2F for <link-relations@ietfa.amsl.com>; Sat, 15 Aug 2015 11:05:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level:
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Iwr99bzis_tZ for <link-relations@ietfa.amsl.com>; Sat, 15 Aug 2015 11:05:20 -0700 (PDT)
Received: from cm01fe.IST.Berkeley.EDU (cm01fe.IST.Berkeley.EDU [169.229.218.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9436E1A6F29 for <link-relations@ietf.org>; Sat, 15 Aug 2015 11:05:20 -0700 (PDT)
Received: from 205-237-53-208.static.cgocable.ca ([205.237.53.208] helo=dretair11.local) by cm01fe.ist.berkeley.edu with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (auth plain:dret@berkeley.edu) (envelope-from <dret@berkeley.edu>) id 1ZQfpT-0005Z9-5U; Sat, 15 Aug 2015 11:05:17 -0700
Message-ID: <55CF7F58.3080806@berkeley.edu>
Date: Sat, 15 Aug 2015 14:05:12 -0400
From: Erik Wilde <dret@berkeley.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: link-relations <link-relations@ietf.org>
Subject: Re: Link relation types for non-GET links
References: <CAAzbHvb==Sn_4UUFHKs3H9GYbEfiX=TUjv4FSmNi9R4NEB+DvQ@mail.gmail.com> <CAPW_8m5CU++j=8tNBK1Q7KszxsfORnK1-6mxcgUwz9X2R2JTyA@mail.gmail.com> <CAAzbHvZGYGNOkuAkc7Fu29maDcbjSf_o54q93Xa+Ggk_fkGHAw@mail.gmail.com> <55CC8C1D.9060900@gmx.de> <CAAzbHva19zw8tzKxSxhMFUSV0RLMFjq94Pb5Z4mc8GseEgrkBw@mail.gmail.com> <55CF2EBE.5060203@gmx.de> <CAAzbHvaTmB4Qf8XQR-55Eop62rHEnV18bdDOqxSq4UEMHKh-xg@mail.gmail.com> <CAPW_8m58YoAVcXo9Z48deSEuy9oo26BeS-hrcN2g=mkOCS9vDA@mail.gmail.com> <CAAzbHvYHC0CBcvDEQzr9fzU9aguZof481RRdM1zkO2sCdZpNPQ@mail.gmail.com>
In-Reply-To: <CAAzbHvYHC0CBcvDEQzr9fzU9aguZof481RRdM1zkO2sCdZpNPQ@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/link-relations/uPwlwkuL0pKAn5dh8wsNUJyTWdk>
X-BeenThere: link-relations@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <link-relations.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/link-relations>, <mailto:link-relations-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/link-relations/>
List-Post: <mailto:link-relations@ietf.org>
List-Help: <mailto:link-relations-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/link-relations>, <mailto:link-relations-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Aug 2015 18:05:22 -0000
hello klaus. On 2015-08-15 13:56, Klaus Hartke wrote: > Mike Amundsen wrote: >> I think an important design decision is whether you want to overload a link >> rel value ("edit", "item", "collection", "payment") with protocol-level >> information like "idempotent", "safe", etc. or rendering information like >> "transclude", "immutable:, etc. My advice is to keep them separate. > That's exactly what my initial question was about: should all > hypermedia controls take the shape of a link, with the link relation > types providing all the necessary details (like request method, > presentation, etc.), or should a media type provide a number of > syntactically different hypermedia controls so that the relation type > really only indicates the semantic meaning of the control. you can go both ways, and different people have different opinions. my meta-opinion is that there is no "right way" of doing it, and my meta-guidance is to at least always be consistent in the set of services or media types you're designing. my non-meta-opinion is like mike's: keep the link relations general and generic, just specific enough so that hypermedia controls can be identified in representations. then design the representation to provide all the details that your scenario might need. here's my reasoning: - this way you keep the existing/registered link relations to a minimum, by not assuming that every little piece of information is implied in the link relation type. instead, that's the job of the link's context and can be adjusted as needed. - this way you also can make certain mechanisms (such as the link descriptions i am working on) reusable, so that they can be used for *any* kind of link relation type where you might want to use them. to me, this is a question of separation of concerns, but i have had long discussions with that with people leaning the opposite direction. like i said, the most important thing: pick a style and be consistent. cheers, dret. -- erik wilde | mailto:dret@berkeley.edu - tel:+1-510-2061079 | | UC Berkeley - School of Information (ISchool) | | http://dret.net/netdret http://twitter.com/dret |
- Link relation types for non-GET links Klaus Hartke
- Re: Link relation types for non-GET links mike amundsen
- Re: Link relation types for non-GET links Klaus Hartke
- Re: Link relation types for non-GET links Julian Reschke
- Re: Link relation types for non-GET links Erik Wilde
- Re: Link relation types for non-GET links Mike Kelly
- Re: Link relation types for non-GET links Klaus Hartke
- Re: Link relation types for non-GET links Julian Reschke
- Re: Link relation types for non-GET links Klaus Hartke
- Re: Link relation types for non-GET links Klaus Hartke
- Re: Link relation types for non-GET links algermissen1971
- Re: Link relation types for non-GET links Mike Kelly
- Re: Link relation types for non-GET links Erik Wilde
- Re: Link relation types for non-GET links Erik Wilde
- Re: Link relation types for non-GET links Erik Wilde
- Re: Link relation types for non-GET links Klaus Hartke
- Re: Link relation types for non-GET links mike amundsen
- Re: Link relation types for non-GET links Klaus Hartke
- Re: Link relation types for non-GET links Erik Wilde