Re: [apps-discuss] I-D Action: draft-nottingham-http-browser-hints-00.txt

Dzonatas Sol <dzonatas@gmail.com> Tue, 17 May 2011 15:55 UTC

Return-Path: <dzonatas@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 96FD4E073D for <apps-discuss@ietfa.amsl.com>; Tue, 17 May 2011 08:55:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.377
X-Spam-Level:
X-Spam-Status: No, score=-2.377 tagged_above=-999 required=5 tests=[AWL=-4.486, BAYES_40=-0.185, FB_WORD2_END_DOLLAR=3.294, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BUIEAJl95YbG for <apps-discuss@ietfa.amsl.com>; Tue, 17 May 2011 08:55:18 -0700 (PDT)
Received: from mail-px0-f179.google.com (mail-px0-f179.google.com [209.85.212.179]) by ietfa.amsl.com (Postfix) with ESMTP id 6814EE073C for <apps-discuss@ietf.org>; Tue, 17 May 2011 08:55:18 -0700 (PDT)
Received: by pxi2 with SMTP id 2so392324pxi.38 for <apps-discuss@ietf.org>; Tue, 17 May 2011 08:55:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=gnDgnHD81C/drxbidghjHhEe3njeHKGs3IFgVKjO6d0=; b=XL5uRyVrKaEP0tQu9CqHHGG++YORBOYfx9B7IMYhKLPyNMSnSCK2eE/Q7M6I4GeFrF itLQqZKjhZh/xeanjdbCjMvUYAhlLGYzjzwTQzaw1PYm1s2ysm15l0AnLp6uVzAbBAiH VKbOxzboAfE1p0Of4/WRHAxaRhCtDGA13Tva4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=Q2dkZ+hrhcWQ0DO+XVqSkXIobbQVtHjWW9AJmrdeXltjemyQMi3LTmE7mkU0gPa9vO gzDjOkd2P/9gBKkIBTxtzsYTh39uQO+KuZqOhdc6Udyrm0oKv9DmTMSpG+sZlvjzgfP1 /E/JXShygLYQbU45j2CIh3IlZewK0JJRka5Io=
Received: by 10.68.68.111 with SMTP id v15mr1252270pbt.310.1305647718125; Tue, 17 May 2011 08:55:18 -0700 (PDT)
Received: from [192.168.0.50] ([70.133.70.225]) by mx.google.com with ESMTPS id q10sm445525pbk.39.2011.05.17.08.55.16 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 May 2011 08:55:17 -0700 (PDT)
Message-ID: <4DD29A37.50301@gmail.com>
Date: Tue, 17 May 2011 08:54:31 -0700
From: Dzonatas Sol <dzonatas@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110307 Icedove/3.0.11
MIME-Version: 1.0
To: apps-discuss@ietf.org
References: <20110517042149.2176.20778.idtracker@ietfa.amsl.com> <1603FA8A-5BBC-4574-815A-2E13850F1D52@mnot.net> <20110517053416.GB26443@1wt.eu> <FC3C8827-D071-4EE8-B7DA-CBA7E26ACF1B@mnot.net> <4DD28114.7010601@gmail.com>
In-Reply-To: <4DD28114.7010601@gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: Re: [apps-discuss] I-D Action: draft-nottingham-http-browser-hints-00.txt
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: Tue, 17 May 2011 15:55:19 -0000

For those interested in interoperability of where I suggested ReSTful 
paradigm, here is one use-case:

Portable web-server in client web-browser, see here for basis without 
network installed:  http://bellard.org/jslinux 
<http://bellard.org/jslinux/tech.html>
Technicals: http://bellard.org/jslinux/tech.html

Imagine several dozens of those in one web page; then, the gist of how 
all instances can update or save themselves through provider means is 
little more obvious. I thought the above is useful reference to further 
design intermediary states and stateful/stateless implementation, 
especially where each instance/region is thought in terms of IPv4 and 
the outer frame is IPv6.

The complete idea of this use-case includes capabilities that enable 
intermediate systems rather be stuck in monolithic support requirements: 
"How do we save all these great ideas and not need to implement one 
single way?"

On 05/17/2011 07:07 AM, Dzonatas Sol wrote:
> On 05/16/2011 11:16 PM, Mark Nottingham wrote:
>>
>>> Thus we should probably have two distinct well known files. In order to
>>> reduce the number of requests, we could suggest that if the 
>>> browser-hints
>>> file does not contain any connection information, then the browser is
>>> invited to get /.well-known/connection-hints too as a complement.
>> I have a pretty strong suspicion that this will end up being too 
>> complex, but let's see what others think.
>>
>
> The ReSTful paradigm is useful here such that any specific field in 
> the browser-hints file can be found by path.
>
> GET /.well-known/browser-hints/max-conns
>
> I'm sure this leads to PUT, POST, and DELETE methods as well for 
> easier connection negotiation, management, and hints of what paths are 
> streams/pipelines, or like capabilities.
>
> For example, I use these next two to combine all data into one stream 
> that appears like a structure, with the specific path:
>
> GET /.well-known/browser-hint/s   # all hints with data in XML format
> GET /.well-known/browser-hint      # list of categories known in XML 
> format
>
> As above:
> GET /.well-known/browser-hints    # suggested default for JSON fromat
>
> I suggest this "symbolic" reservation for *explicit* stream methods 
> and logical devices  (combined path use-cases from SYSV, VMS, and 
> IETF-VWRAP-LLIDL)
> GET /.well-known/browser-hint$
> GET /.well-known/browser-hint$max-conns
>
> Conservative approach to avoid query arguments or extra headers that 
> specify format:
> GET /.well-known/browser-hint.xml         # XML alternative
> GET /.well-known/browser-hint.json         # JSON alternative
> GET /.well-known/browser-hint.json.xml  # json in XML format: 
> https://datatracker.ietf.org/doc/draft-rsalz-jsonx
>
> I think XSLT with optional script can be used for further 
> transformations of paths and streams.
>


-- 
--- https://twitter.com/Dzonatas_Sol ---
Web Development, Software Engineering, Virtual Reality, Consultant