Re: [Uri-review] Request for review of "ab:" URI scheme

Graham Klyne <GK-lists@ninebynine.org> Tue, 26 April 2011 18:44 UTC

Return-Path: <GK-lists@ninebynine.org>
X-Original-To: uri-review@ietfa.amsl.com
Delivered-To: uri-review@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 795BBE062B for <uri-review@ietfa.amsl.com>; Tue, 26 Apr 2011 11:44:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.499
X-Spam-Level:
X-Spam-Status: No, score=-6.499 tagged_above=-999 required=5 tests=[AWL=0.100, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 Z-UChTPyOtl5 for <uri-review@ietfa.amsl.com>; Tue, 26 Apr 2011 11:44:43 -0700 (PDT)
Received: from relay1.mail.ox.ac.uk (relay1.mail.ox.ac.uk [129.67.1.165]) by ietfa.amsl.com (Postfix) with ESMTP id 7F00CE064A for <uri-review@ietf.org>; Tue, 26 Apr 2011 11:44:42 -0700 (PDT)
Received: from smtp1.mail.ox.ac.uk ([129.67.1.207]) by relay1.mail.ox.ac.uk with esmtp (Exim 4.75) (envelope-from <GK-lists@ninebynine.org>) id 1QEnFV-0001HY-4J; Tue, 26 Apr 2011 19:44:37 +0100
Received: from gklyne.plus.com ([80.229.154.156] helo=Eskarina.local) by smtp1.mail.ox.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <GK-lists@ninebynine.org>) id 1QEnFV-0002AA-3H; Tue, 26 Apr 2011 19:44:37 +0100
Message-ID: <4DB70FFC.2000508@ninebynine.org>
Date: Tue, 26 Apr 2011 19:33:32 +0100
From: Graham Klyne <GK-lists@ninebynine.org>
User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228)
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
References: <BANLkTim8eWcWwKfyERghK2tuSP1rK0SdsA@mail.gmail.com> <4DB1D685.4090706@ninebynine.org> <4DB5D6EE.4080503@isode.com> <4DB6B9B6.8040306@ninebynine.org> <BANLkTinMm0OyBqUNTU_-Er_4w1TK7kW-Eg@mail.gmail.com> <4DB6D2C8.4090806@ninebynine.org> <BANLkTimBP3zHOEn4F_S8-LhqK6+9AkXm6Q@mail.gmail.com> <0E82FA0E66DC3ABE22989712@[17.101.34.182]>
In-Reply-To: <0E82FA0E66DC3ABE22989712@[17.101.34.182]>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Oxford-Username: zool0635
Cc: uri-review@ietf.org, Barry Leiba <barryleiba@computer.org>, draft-ietf-sieve-external-lists.all@tools.ietf.org
Subject: Re: [Uri-review] Request for review of "ab:" URI scheme
X-BeenThere: uri-review@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Proposed URI Schemes <uri-review.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uri-review>, <mailto:uri-review-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/uri-review>
List-Post: <mailto:uri-review@ietf.org>
List-Help: <mailto:uri-review-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uri-review>, <mailto:uri-review-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Apr 2011 18:44:43 -0000

Cyrus Daboo wrote:
> Hi Barry,
> 
> --On April 26, 2011 11:17:32 AM -0400 Barry Leiba 
> <barryleiba@computer.org> wrote:
> 
>> The idea here is that an unadorned addrbook URI refers to an "address
>> book" -- that is, a set of address book entries.  Extension elements
>> can further specify that, reducing the set, or specifying individual
>> entries.  Consider (and don't worry about syntax here):
>>
>> 1. addrbook:personal
>> 2. addrbook:personal?name.contains=fred
>> 3. addrbook:personal?email=fred@example.com
>> 4. addrbook:personal?entry=314159265
>>
>> The first clearly provides a "whole book", a set of entries.  The
>> second is likely to give a set of entries, but the set could have
>> cardinality 1.  The third is likely to give a set of cardinality 1,
>> but it's possible for it to be > 1.  The fourth is specifying a single
>> entry by its unique ID.
> 
> OK, so now I am getting nervous too. What you have just sketched out 
> above is an address book access API. I think this goes way beyond the 
> scope of what was needed in SIEVE. It crosses the boundaries of a whole 
> bunch of other protocols: CardDAV, LDAP, the W3C contacts api etc. Some 
> of those already have URIs that can encode query strings (LDAP) so why 
> are we going to re-invent the wheel here?

Yeah... :)  I had some vaguely similar thought ... why not have a localhost 
option for some existing scheme (similar to file:///)?  But on a brief skim I 
couldn't make the parts line up, so became less sure that was a viable approach.

So, reinvention aside, I think what Barry sketches above is prima facie a 
reasonable approach.  If there's any real advantage to an addrbook: scheme, I 
think it is in part that it can abstract away from a particular protocol or 
mechanism and leave just the essential capabilities exposed.

#g
--