Re: [apps-discuss] New Version Notification for draft-hamnaberg-publish-link-relation-00.txt

mike amundsen <mamund@yahoo.com> Wed, 15 January 2014 21:37 UTC

Return-Path: <mca@amundsen.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8936A1AE255 for <apps-discuss@ietfa.amsl.com>; Wed, 15 Jan 2014 13:37:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.755
X-Spam-Level: *
X-Spam-Status: No, score=1.755 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FM_FORGED_GMAIL=0.622, FORGED_YAHOO_RCVD=1.63, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, J_CHICKENPOX_37=0.6, J_CHICKENPOX_38=0.6, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=no
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 voJGwWD6BgUM for <apps-discuss@ietfa.amsl.com>; Wed, 15 Jan 2014 13:37:39 -0800 (PST)
Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by ietfa.amsl.com (Postfix) with ESMTP id 9C2491AE237 for <apps-discuss@ietf.org>; Wed, 15 Jan 2014 13:37:38 -0800 (PST)
Received: by mail-wg0-f51.google.com with SMTP id z12so2325325wgg.18 for <apps-discuss@ietf.org>; Wed, 15 Jan 2014 13:37:26 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=9iF2JSW5iC6psaTHhp2+QCeTQ4iAZvz9lvS8sU/q+1Y=; b=G4f1iOoAU5WGeM4DfXOIVc+clYTVSfR0tYQBkWllZPdflRpMOVUiD/5Yo4optjIvEY wivLbxKdf/f5l/9O+BpCb0GJROZ3X85OeXVFRVs8SJuuA1rJlDG8DV0NtFXtsDgeCN2E sd0X0ZH10hmoVwycX62E+jqXt5Ph+P/6bt/we7xO8LVyH5HtKvZc0V4lNx0iozGo9nS2 jMDhzOIcxP7ayzNEhgO6jp+OCZujOnPzx4ftq3v41kf7yQPLvLeImnpOvsLPhsJ+bQeh atqP4BdJE6WJfVigJdBaZr+8CNRiQVxVzzwitGkxft4chHolovBYyxp+YISXWq+wAZb+ ChCA==
X-Gm-Message-State: ALoCoQmrObVlfNVuz2usnWhAlCVs1/d1X6aVwOCHgz9trjIImwe3VberH5lF6UKaZIoYQACGAz/k
X-Received: by 10.180.14.231 with SMTP id s7mr4589269wic.1.1389821846231; Wed, 15 Jan 2014 13:37:26 -0800 (PST)
MIME-Version: 1.0
Sender: mca@amundsen.com
Received: by 10.194.119.226 with HTTP; Wed, 15 Jan 2014 13:37:06 -0800 (PST)
In-Reply-To: <CAKioOqt4-7tOoN66zth2vatLUFBXRSRaG4973trpEQRMP9dyYQ@mail.gmail.com>
References: <20140115140544.27701.78043.idtracker@ietfa.amsl.com> <CAGuwm8V+cFGE4aYP4rsZtGQR3_NPBOxf_t_BRgfxQbbTvOJTVQ@mail.gmail.com> <F1F4C81D-5106-46B9-9A4C-B3C2F696A07F@nordsc.com> <CAGuwm8Vh_bAKW9Lo3qLy5Usb5atM52BQ3cm_4WGc0X1--3QvKA@mail.gmail.com> <05628088-5731-4BEB-BD79-7C83896279FF@nordsc.com> <CAPW_8m66V2YJeGMK3zN_qnKpph8ujnrA85585FFwLoBtfWvfXA@mail.gmail.com> <CAKioOqt4-7tOoN66zth2vatLUFBXRSRaG4973trpEQRMP9dyYQ@mail.gmail.com>
From: mike amundsen <mamund@yahoo.com>
Date: Wed, 15 Jan 2014 16:37:06 -0500
X-Google-Sender-Auth: -K1LhDemjjcMneryzsUqbJLA7J8
Message-ID: <CAPW_8m7F8VFN1XXFkYYfVvTN2RNcOmGo3zEzjiq-bg-uWDpZ-w@mail.gmail.com>
To: Darrel Miller <darrel@tavis.ca>
Content-Type: multipart/alternative; boundary="f46d040fa00472352504f0091dc0"
Cc: IETF Apps Discuss <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] New Version Notification for draft-hamnaberg-publish-link-relation-00.txt
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.15
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: Wed, 15 Jan 2014 21:37:41 -0000

I'm not a fan of using a string as a network affordance ;) I know this is
not a universally held conviction. for example, HAL relies on this very
notion quite heavily.

i assert the best way to use link relation values is as identifiers. The
registry let's use describe these values in a general way much the way a
 language dictionary (e.g. English, French, etc.) does. The way in which
the words are used, their intent, implied meaning, etc. are often based on
immediate context ("you owe me a payment" vs. "there is were you go to make
payments") and so forth.

To your last point, I think tying operational semantics to a link relation
is over-constraining and limits it's use over time. Esp. when the
operational semantics are tied to a single protocol or format. I prefer to
keep usage details separate from the registry of unique values.





mamund
+1.859.757.1449
skype: mca.amundsen
http://amundsen.com/blog/
http://twitter.com/mamund
https://github.com/mamund
http://linkedin.com/in/mamund


On Wed, Jan 15, 2014 at 3:58 PM, Darrel Miller <darrel.miller@gmail.com>wrote:

> Mike,
>
> How do you feel about a link relation that says, if you do POST, it
> means this ...
>
> If that concerns you then do you have suggestions on how the these
> link relations should work:
>
> rel=payment        https://web-payments.org/specs/source/payment-links/
> rel=hub
> https://pubsubhubbub.googlecode.com/git/pubsubhubbub-core-0.4.html
> rel=oauth2-token
> http://tools.ietf.org/html/draft-wmills-oauth-lrdd-07#page-8
>
> As far as I understand it, all of these have an associated meaning to
> a POST request.  Curiously, that meaning is not described in the rel
> relation registration, but in the specification that describes the
> protocol that uses the link relation.  This separation concerns me
> because we could end up with a situation where different protocols
> assign different interaction semantics to the same link relation.
>
> Darrel
>
>
>
> On Wed, Jan 15, 2014 at 1:05 PM, mike amundsen <mamund@yahoo.com> wrote:
> > My advice is to *not* attempt to constrain how the client or server
> behaves
> > when using the link relation (e.g. "client SHOULD use POST to ....",
> etc.).
> >
> > Instead just define the link relation's meaning and let clients and
> servers
> > use that shared meaning to do whatever they want with it.
> >
> >
> >
> >
> > mamund
> > +1.859.757.1449
> > skype: mca.amundsen
> > http://amundsen.com/blog/
> > http://twitter.com/mamund
> > https://github.com/mamund
> > http://linkedin.com/in/mamund
> >
> >
> > On Wed, Jan 15, 2014 at 11:45 AM, Jan Algermissen
> > <jan.algermissen@nordsc.com> wrote:
> >>
> >>
> >> On 15.01.2014, at 16:59, Erlend Hamnaberg <erlend@hamnaberg.net> wrote:
> >>
> >> >
> >> > My use case has been a schedule for a conference.
> >> >
> >> > The program is built over time, but once it is done, I want to publish
> >> > it.
> >>
> >> If publishing is done by the same server, I'd change a property of the
> >> program to tell the server that it should publish.
> >>
> >> When on a nother server, I'd try to POST the program's representation,
> >> implicitly creating a new publishing job. That job will have a URI
> which I
> >> would use to observer the state of the job.
> >>
> >> Having "publish" point to the publishing system might make sense, in
> that
> >> sense "publish" would identoty a "resource providing publishing
> services".
> >>
> >> I'd ovoid to POST the URI to the publishing service if possible, because
> >> it reduces simpicity IMHO, because the publishing system will need to
> go and
> >> GET the resuorec to be published which feels unnatural to me.
> >>
> >> How does that resonate with you?
> >>
> >> Jan
> >>
> >> >
> >> > I could, of course, go through each session and publish it directly.
> >> > Each publishing step is then a state change for each session.
> >> > However, for a user interface can become cumbersome.
> >> >
> >> > However, If I decide to model this as two separate URIs,
> >> > I may need a different mechanism.
> >> >
> >> > Not sure I am able to explain this appropriately.
> >> >
> >> > Erlend
> >>
> >> _______________________________________________
> >> apps-discuss mailing list
> >> apps-discuss@ietf.org
> >> https://www.ietf.org/mailman/listinfo/apps-discuss
> >
> >
> >
> > _______________________________________________
> > apps-discuss mailing list
> > apps-discuss@ietf.org
> > https://www.ietf.org/mailman/listinfo/apps-discuss
> >
> _______________________________________________
> apps-discuss mailing list
> apps-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/apps-discuss
>