W3C home > Mailing lists > Public > uri@w3.org > October 2008

Re: [whatwg] Proposing URI Templates for WebForms 2.0

From: Mark Nottingham <mnot@mnot.net>
Date: Sat, 1 Nov 2008 09:37:36 +1100
Cc: Jerome Louvel <contact@noelios.com>, whatwg@lists.whatwg.org, uri@w3.org, rest-discuss@yahoogroups.com
Message-Id: <D180CE85-F9B2-458C-A139-FB1827DAEB13@mnot.net>
To: Ian Hickson <ian@hixie.ch>

+1, although I'd say it a bit differently.

Doing it in script precludes unintended reuse, e.g., for  
accessibility, search engines, and so forth; it's not a good solution  
*if* there are compelling use cases for this, but we haven't seen  
those yet AFAIK.

Cheers,


On 29/10/2008, at 6:20 AM, Ian Hickson wrote:

>
> On Fri, 12 Jan 2007, Jerome Louvel wrote:
>>
>> Even though the URI template RFC is not finalized yet, we already  
>> have a
>> complete support for it, on the server-side, in the Restlet  
>> framework.
>> We happily use them for our URI-based routing and I think they add  
>> a lot
>> of expressiveness while keeping a simple syntax. Usage example:
>> http://www.restlet.org/tutorial#part11
>>
>> They are also supported in WADL, the RESTful description language,  
>> and
>> in the OpenSearch specification. Extending their usage to HTML forms
>> sounds like a logical and useful step.
>
> It seems to me like URI templates can be trivially done from script  
> and
> from the server side already; given the poor backwards-compatibility  
> story
> of URI templates, what do we gain from adding it to the language?
>
> -- 
> Ian Hickson               U+1047E                ) 
> \._.,--....,'``.    fL
> http://ln.hixie.ch/       U+263A                /,   _.. \   _ 
> \  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'-- 
> (,_..'`-.;.'
>


--
Mark Nottingham     http://www.mnot.net/
Received on Friday, 31 October 2008 22:38:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:12 UTC