Re: [core] draft-bormann-core-links-json: call for adoption

Carsten Bormann <cabo@tzi.org> Wed, 22 May 2013 10:57 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2896121F9626 for <core@ietfa.amsl.com>; Wed, 22 May 2013 03:57:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.188
X-Spam-Level:
X-Spam-Status: No, score=-106.188 tagged_above=-999 required=5 tests=[AWL=0.061, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4, 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 dwg1VwcqLZzl for <core@ietfa.amsl.com>; Wed, 22 May 2013 03:57:50 -0700 (PDT)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) by ietfa.amsl.com (Postfix) with ESMTP id 1290921F9609 for <core@ietf.org>; Wed, 22 May 2013 03:57:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.4/8.14.4) with ESMTP id r4MAvjZ1010691; Wed, 22 May 2013 12:57:45 +0200 (CEST)
Received: from [192.168.217.105] (p54892E88.dip0.t-ipconnect.de [84.137.46.136]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id C15A435E1; Wed, 22 May 2013 12:57:44 +0200 (CEST)
Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
Content-Type: text/plain; charset="iso-8859-1"
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <69A59031-FB53-42EC-A61D-FBBFCF189E39@tzi.org>
Date: Wed, 22 May 2013 12:57:42 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <4E4A7BCC-A658-4E1E-8DC8-C88D82737E8E@tzi.org>
References: <CAPRuP3mzM07-LY1c1on7iRa+dGiaSeRw-U8NGNobAM0U0DqqPg@mail.gmail.com> <55877B3AFB359744BA0F2140E36F52B514EE74B0@MBX20.d.ethz.ch> <69A59031-FB53-42EC-A61D-FBBFCF189E39@tzi.org>
To: Kovatsch Matthias <kovatsch@inf.ethz.ch>
X-Mailer: Apple Mail (2.1503)
Cc: "core@ietf.org" <core@ietf.org>
Subject: Re: [core] draft-bormann-core-links-json: call for adoption
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/core>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 22 May 2013 10:57:55 -0000

On May 22, 2013, at 12:37, Carsten Bormann <cabo@tzi.org> wrote:

> Well, maybe the audio is more useful... (http://www.ietf.org/audio/ietf86/ietf86-caribbean6-20130312-1300-pm1.mp3, if you actually look into it, start at 65:00).

Oops, the file name in the minutes was wrong (fixed); make that ietf86-caribbean5-20130313-1300-pm1.mp3

What I said:
-- It is sad that we have different serializations for things
-- On the backend, web-app, services side, it is quite usual these days to find information in JSON format
-- It is useful to have a single [i.e., standard] way to express link-format information in JSON
-- As a side-effect, we create good precedent for application developers to represent link-format information in the same way in different applications.
   We make it simpler for application developers to think about link-format because they know how it looks like in JSON.  But that is a side effect.

Switching to the how from the why:
-- That is not rocket science -- [showing slide] this is essentially the technical content of the draft.
-- The main decision is what name are we using for the Path component of the link.
-- We settled on href because this is already taken so there can't be a conflict.
-- One little detail: Content-Format (ct) looks like a number in link-format, but looks like a string in the JSON.
   We don't have a distinction between number and string in the link-format... so we are treating everything as a string.

Grüße, Carsten