Re: [whatwg] Proposing URI Templates for WebForms 2.0

+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