RE: [whatwg] Proposing URI Templates for WebForms 2.0

Mark>> compelling use cases for this, but we haven't seen those yet AFAIK.

What classifies as a "compelling use-case" in your mind?  

-Mike Schinkel 
President; NewClarity LLC 
Organizer: Atlanta Web Entrepreneurs
http://www.linkedin.com/in/mikeschinkel
http://twitter.com/mikeschinkel
http://mikeschinkel.com
http://atlanta-web.org


-----Original Message-----
From: uri-request@w3.org [mailto:uri-request@w3.org] On Behalf Of Mark
Nottingham
Sent: Friday, October 31, 2008 6:38 PM
To: Ian Hickson
Cc: Jerome Louvel; whatwg@lists.whatwg.org; uri@w3.org;
rest-discuss@yahoogroups.com
Subject: 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 Saturday, 1 November 2008 01:59:46 UTC