Re: [apps-discuss] JSON Hypertext Application Language

Manuel Simoni <msimoni@gmail.com> Sat, 09 June 2012 11:00 UTC

Return-Path: <msimoni@gmail.com>
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 1402621F87CB for <apps-discuss@ietfa.amsl.com>; Sat, 9 Jun 2012 04:00:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 MzwI5Ow+cvhz for <apps-discuss@ietfa.amsl.com>; Sat, 9 Jun 2012 04:00:04 -0700 (PDT)
Received: from mail-qa0-f44.google.com (mail-qa0-f44.google.com [209.85.216.44]) by ietfa.amsl.com (Postfix) with ESMTP id 77D2421F87C7 for <apps-discuss@ietf.org>; Sat, 9 Jun 2012 04:00:04 -0700 (PDT)
Received: by qadz3 with SMTP id z3so1158152qad.10 for <apps-discuss@ietf.org>; Sat, 09 Jun 2012 04:00:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=wqO2TkmBcxtt5dUE7MXtTdQJNdOBlh/PC6aQ/fsecR4=; b=ix9HS+quFtATufsYrcrAIMyUuEdt7kQXRHSzIl6tGzcss7wWuR9DXWA19bCik7rH0E O4AspUC4iwk/ymBJu0uqC/r6axr9CDJz6r9x/2orDww6lfYswaw9kH3qWs9UrBOx8x47 W1HE+R5xdBETFm4j4PWkT2uM1p2aH7tZAb0mhKYseO7Wx9rhhcwOBc5XD8A8cb+H0oji dXf87Y/eDX3c9FPDKeJDhfslx7jv8VTs+skpIqRCfs94K18L6r3Z8MZYTVuwt11vH8er XcBqO/LM6Urus3xP2/EPqO127iG4dgexCQotv5BLdQ+DuI6zQ6DnGewMVwkPwloTHhRp gI7w==
MIME-Version: 1.0
Received: by 10.224.183.17 with SMTP id ce17mr2145925qab.8.1339239603968; Sat, 09 Jun 2012 04:00:03 -0700 (PDT)
Received: by 10.229.191.68 with HTTP; Sat, 9 Jun 2012 04:00:03 -0700 (PDT)
In-Reply-To: <CABkgnnXVFqEhS5oympA7E_GHhzYB+P5TQh1PugK5p16qNWSBVQ@mail.gmail.com>
References: <CANqiZJa7GrBRbiV8X=o3Xkv-WcBEdKEntiZSFhMj4efQiNPEaQ@mail.gmail.com> <CABkgnnXVFqEhS5oympA7E_GHhzYB+P5TQh1PugK5p16qNWSBVQ@mail.gmail.com>
Date: Sat, 09 Jun 2012 13:00:03 +0200
Message-ID: <CAK6sV0n8wOfA+0=_LeE6d86N4PzyWF4so2cZ1RO-GmAJi9e3qQ@mail.gmail.com>
From: Manuel Simoni <msimoni@gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: apps-discuss@ietf.org
Subject: Re: [apps-discuss] JSON Hypertext Application Language
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: Sat, 09 Jun 2012 11:00:05 -0000

On Fri, Jun 8, 2012 at 9:01 PM, Martin Thomson <martin.thomson@gmail.com> wrote:
> On 6 June 2012 18:50, Mike Kelly <mikekelly321@gmail.com> wrote:
>> http://www.ietf.org/id/draft-kelly-json-hal-00.txt
>>
>> Feedback welcome..
>
> Let's test that theory...
>
> I was initially inclined to call this an abomination, but that would
> require fairly strong substantiation.  Let's just go with unnecessary.
>
> Some colleagues gave me an overview of an API that uses something very
> much like this.  And aside from the initial aesthetic reaction, I have
> two complaints:
>
> - _links is almost useless
> - _embedded is an unnecessary optimization

Disagree vehemently on the first point. Generic links in JSON are as
useful as generic links in HTML.

I agree on the second point. _embedded turns the specification from a
generic linking thing into a quite specific application profile. Maybe
there should be two specifications, one for _links, and one for
_embedded?

Manuel Simoni