Re: [ogpx] issue : naming of capabilities in OGP
Larry Masinter <masinter@adobe.com> Sun, 31 May 2009 19:39 UTC
Return-Path: <masinter@adobe.com>
X-Original-To: ogpx@core3.amsl.com
Delivered-To: ogpx@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix)
with ESMTP id B01FB3A6C83 for <ogpx@core3.amsl.com>;
Sun, 31 May 2009 12:39:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4
X-Spam-Level:
X-Spam-Status: No, score=-4 tagged_above=-999 required=5
tests=[RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com
[127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ggtg36oDsVS6 for
<ogpx@core3.amsl.com>; Sun, 31 May 2009 12:39:02 -0700 (PDT)
Received: from exprod6og107.obsmtp.com (exprod6og107.obsmtp.com [64.18.1.208])
by core3.amsl.com (Postfix) with ESMTP id D4FA63A6E08 for <ogpx@ietf.org>;
Sun, 31 May 2009 12:38:56 -0700 (PDT)
Received: from source ([192.150.11.134]) by exprod6ob107.postini.com
([64.18.5.12]) with SMTP ID DSNKSiLc0Pr+8XKrRdRGppl2CLSqFxCNDdKW@postini.com;
Sun, 31 May 2009 12:39:00 PDT
Received: from inner-relay-3.eur.adobe.com ([192.150.8.236]) by
outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id n4VJWpao014422;
Sun, 31 May 2009 12:32:52 -0700 (PDT)
Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99])
by inner-relay-3.eur.adobe.com (8.12.10/8.12.9) with ESMTP id n4VJcqY2012772;
Sun, 31 May 2009 12:38:52 -0700 (PDT)
Received: from fe01.corp.adobe.com (10.8.192.82) by nacas01.corp.adobe.com
(10.8.189.99) with Microsoft SMTP Server (TLS) id 8.1.340.0;
Sun, 31 May 2009 12:38:51 -0700
Received: from nambx04.corp.adobe.com ([10.8.127.98]) by fe01.corp.adobe.com
([10.8.192.82]) with mapi; Sun, 31 May 2009 12:38:51 -0700
From: Larry Masinter <masinter@adobe.com>
To: Infinity Linden <infinity@lindenlab.com>, "ogpx@ietf.org" <ogpx@ietf.org>
Date: Sun, 31 May 2009 12:38:48 -0700
Thread-Topic: [ogpx] issue : naming of capabilities in OGP
Thread-Index: AcngoFs42/wzHZ+8Q3qoTzKbYRURYwBhi7zQ
Message-ID: <8B62A039C620904E92F1233570534C9B0118CD95EC85@nambx04.corp.adobe.com>
References: <3a880e2c0905291356w64a89d1an640ed68196225911@mail.gmail.com>
<3a880e2c0905291359r6383f485u12ba2235a963b46d@mail.gmail.com>
In-Reply-To: <3a880e2c0905291359r6383f485u12ba2235a963b46d@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [ogpx] issue : naming of capabilities in OGP
X-BeenThere: ogpx@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Virtual Worlds and the Open Grid Protocol <ogpx.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ogpx>,
<mailto:ogpx-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ogpx>
List-Post: <mailto:ogpx@ietf.org>
List-Help: <mailto:ogpx-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ogpx>,
<mailto:ogpx-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 31 May 2009 19:39:03 -0000
> and if you wanted to get wild and conflate the name of the cap with
> the location of a resource about the cap, you would use a traditonal
> RFC2616 / 2817 http / https url like
> ("http://example.org/capabilities/avatar/place")
Personally I'm pretty neutral, but I know lots of people who
would claim that using the URI of a resource about the capability
as the name of the capability as an important element of
web architecture, i.e., that it isn't "wild" but it is expected.
The main thing that isn't clear is what the namespace denotes,
though, and why any of the other existing capability namespaces
aren't adequate.
If the capabilities are about "world location", for example,
or "presence information" about someone/someone's avatar's
"location", why the namespace of geographic locations aren't
used instead, etc. etc.
Larry
--
http://larry.masinter.net
-----Original Message-----
From: ogpx-bounces@ietf.org [mailto:ogpx-bounces@ietf.org] On Behalf Of Infinity Linden
Sent: Friday, May 29, 2009 1:59 PM
To: ogpx@ietf.org
Subject: [ogpx] issue : naming of capabilities in OGP
hey peeps... just thought i would try to kick off a couple technical
discussions...
so... if you look at the auth spec (
http://tools.ietf.org/html/draft-hamrick-ogp-auth-00 ), you'll note
that the client application is supposed to tell the agent domain what
capabilities (caps) it wants. this assumes the client application
knows the cap names and how to interact with the system hosting the
cap. (we _could_ get into a discussion about service discovery here,
but i'm hoping to limit the discussion on this thread to just the
naming issue.)
currently, capability names are descriptive strings (like
"place/avatar" and so forth.) There is a recommendation that we use
URIs of the following format as cap names:
"standard" capabilities defined by OGP should be identified as a URN
in the format:
URN:OGP:<capability name> ("urn:ogp:/avatar/place" or
"urn:ogp:/eventqueue/get")
private extensions might be identified by URNs like:
URN:OGP:<authority>/<capability name>
("urn:ogp:org.opensimulator/chatsession/create" or even
"urn:ogp:org.example/avatar/place")
so... to define it a little more formally with EBNF, you could say
that the OGP URN looks like:
ogpurn = 'URN:OGP:' , [ authority ] , capname ;
capname = { fragment } ;
fragment = '/' , { alphanumeric } ;
alphanumeric = alpha | digit ;
alphabetic character = "A" | "B" | "C" | "D" | "E" | "F" | "G"
| "H" | "I" | "J" | "K" | "L" | "M" | "N"
| "O" | "P" | "Q" | "R" | "S" | "T" | "U"
| "V" | "W" | "X" | "Y" | "Z" |
"a" | "b" | "c" | "d" | "e" | "f" | "g"
| "h" | "i" | "j" | "k" | "l" | "m" | "n"
| "o" | "p" | "q" | "r" | "s" | "t" | "u"
| "v" | "w" | "x" | "y" | "z" ;
digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ;
(also... insert the appropriate EBNF description of a fqdn for
authority (i'm too lazy to copy it.)
and if you wanted to get wild and conflate the name of the cap with
the location of a resource about the cap, you would use a traditonal
RFC2616 / 2817 http / https url like
("http://example.org/capabilities/avatar/place")
the development for this recommendation is...
* i made the recommendation that since peeps might want to create
extensions to OGP (in fact, OGP is expected to have extensions if for
no other reason than we can test capabilities before they're codified
in an rfc.) i was exposed to the java way of naming classes which is
to start the name of your class as the reverse of each element in your
organization's FQDN. So.. I recommended something like
"com.lindenlab.extension.foo" for linden-specific extensions
"com.ibm.extension.bar" for IBM specific extensions, etc.
* this left open the question of how do we denote standard cap names
that are defined in the spec. putting them under "com.lindenlab" is
inappropriate because OGP is a community effort. and doing the java
thing of putting standard caps under "ogp." is probably bad 'cause
ICANN is going to start allowing peeps to register arbitrary TLDs any
day now; creating a spec that requires SOMEONE to partner with a
registry so we can control the ogp.* namespace to prevent name
collisions is a plan fraught with peril.
* plus... John has an interest in using URLs as opaque cap identifiers.
and the solution that came out of it was using a URN.
this would require us to approach IANA and get a URN NID for OGP which
is a non-zero amount of work.
also... the way i've defined it, we're limiting cap names to ASCII
characters which may be inappropriate in an international world.
-comments?
-questions?
-cheers!
-meadhbh
_______________________________________________
ogpx mailing list
ogpx@ietf.org
https://www.ietf.org/mailman/listinfo/ogpx
- [ogpx] issue : naming of capabilities in OGP Infinity Linden
- Re: [ogpx] issue : naming of capabilities in OGP Larry Masinter
- Re: [ogpx] issue : naming of capabilities in OGP Infinity Linden