[jose] YASMIN - Yet Another jSon Message notatIoN

Anders Rundgren <anders.rundgren.net@gmail.com> Fri, 27 January 2017 20:13 UTC

Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9AA1B12987A; Fri, 27 Jan 2017 12:13:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 2rIyxTq1qZGI; Fri, 27 Jan 2017 12:13:16 -0800 (PST)
Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F363E129876; Fri, 27 Jan 2017 12:13:15 -0800 (PST)
Received: by mail-wm0-x232.google.com with SMTP id r126so132875473wmr.0; Fri, 27 Jan 2017 12:13:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=Bu4maJe967+MzzhLptogpHu9NfFeISiCdo0xHIEF1gA=; b=KYqIaes5J608ZiSJOqhBw+EiqAzlxZoBHgXI2bZz/ql+8AHql400EgVjz9pp1uqPPk aXVeQQ8Gu5PaSlEskDv1KgLbQIt5XU2Q5+93a4vun7c8YiJVk2ePqWXGAL45a42HZ7g6 hi0ecqG4iPF5rOb2j4mJNsd1znzA3hUjKV06kmXiSX4YCxZLhO2nPlGYd0yFUmdLE3h9 magrYSA6maehguz1MaMyqxzA+b5onGTb6z+/fmTQ+0xuD9lCOBNNd1OOTRgaOdByhpgw KxYekpY6zU/CBaqQhv98+baqVZCKNy8VLljYHb1BFXSCeOZI0W7M5d6GUkUIoQgW7Eh2 5sjg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=Bu4maJe967+MzzhLptogpHu9NfFeISiCdo0xHIEF1gA=; b=NqlqfwVmqaT/lBj+X7IgL1oT7lCDwXBBNlMWOQEwo0dYmQAogLPolBy5+7vpyzxlQb W7H1PNxnuyQYNokmpDsYcWoxuPxjr2AIRU397/io/Zpv+w/v0ZCKCLw20INhxIb+0EzC pNAXUv/yOUWE1Pmx/jOZJJakKeYLIisQeswrhf4TZ4F0AbNZkCfh3Jxlz/er79gq6gvL O9wC6rUMYaiPns/ABrmqFM01uoHnLdmRghTTBwTs1cwQHBcKziaiOLW8gfVtlPxGMehW zZ+gZ2Irk/wruBbD0p6q0BcGaKBcEP2/dFoxVzXkiTlGCtlFyfT/rnLiVkt66k6RJwNe s4qw==
X-Gm-Message-State: AIkVDXL2G2yQsz1xUWjIby7isoCn1wMU+DlU6G1yt6j7gnx+E7QgxL1gWCQZYxCVo4XUDA==
X-Received: by 10.223.160.43 with SMTP id k40mr10114788wrk.24.1485547994064; Fri, 27 Jan 2017 12:13:14 -0800 (PST)
Received: from [192.168.1.79] (124.25.176.95.rev.sfr.net. [95.176.25.124]) by smtp.googlemail.com with ESMTPSA id o42sm9516272wrb.18.2017.01.27.12.13.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jan 2017 12:13:13 -0800 (PST)
From: Anders Rundgren <anders.rundgren.net@gmail.com>
To: "json@ietf.org" <json@ietf.org>, "jose@ietf.org" <jose@ietf.org>
Message-ID: <0000859e-843d-ef5d-e2e3-1a7b1e17baf2@gmail.com>
Date: Fri, 27 Jan 2017 21:13:05 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/jose/5USNTu4aZG_LSeZ6J38g4d3iNuo>
Subject: [jose] YASMIN - Yet Another jSon Message notatIoN
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jan 2017 20:13:17 -0000

WebSocket [1] is claimed to be the most efficient communication method for interactive Web applications.

REST [2] is essentially incompatible with WebSocket although some people try to merge them. That's IMO fairly pointless, since they are building on different concepts.

YASMIN [3], OTOH was *designed from scratch* to support both event-based communication like WebSocket and postMessage(), as well as traditional request/response schemes.

Anders

1] https://tools.ietf.org/rfc/rfc6455.txt

2] https://en.wikipedia.org/wiki/Representational_state_transfer
      https://cyberphone.github.io/doc/web/REST-in-peace.html

3] https://cyberphone.github.io/doc/web/yasmin.html