Marc Hadley | 2 Jan 2007 20:08
Picon

Re: URI and IRI Templating (What did I get myself into?)

On Dec 26, 2006, at 5:17 PM, Mike Schinkel wrote:

>
> Mark Nottingham wrote:
>> Your proposal puts the encoding information into the variable name.
>> That's one option, but I'm reluctant to encourage putting
>> this kind of thing in there, as it encourages URI Templates
>> to become URI Schemas, and they'll quickly become unreadable.
>> Encoding is by no means the last thing we'll want to
>> associate with a particular variable.
>
> Do you mind listing off what you are thinking of in terms of other  
> things to
> associate?
>
PMFJI. A few things that occur to me are: type information (integer,  
boolean, enumerated value etc), default values, and whether an empty  
value is permissible.

Marc.

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.

Attachment (smime.p7s): application/pkcs7-signature, 2442 bytes
Mike Schinkel | 3 Jan 2007 04:36
Picon
Gravatar

RE: URI and IRI Templating (What did I get myself into?)


Marc Hadley wrote
> Mike Schinkel wrote:
> > Mark Nottingham wrote:
> >> Your proposal puts the encoding information into the variable name.
> >> That's one option, but I'm reluctant to encourage putting 
> this kind 
> >> of thing in there, as it encourages URI Templates to become URI 
> >> Schemas, and they'll quickly become unreadable.
> >> Encoding is by no means the last thing we'll want to 
> associate with a 
> >> particular variable.
> >
> > Do you mind listing off what you are thinking of in terms of other 
> > things to associate?
> >
> PMFJI. 

Hey, that's what mailing lists are for, right? ;-)

> A few things that occur to me are: type information 
> (integer, boolean, enumerated value etc), default values, and 
> whether an empty value is permissible.

Thank you. That helps me clarify.

--

-- 
-Mike Schinkel
http://www.mikeschinkel.com/blogs/
http://www.welldesignedurls.org/
(Continue reading)


Gmane