WebForms 2.0 and URI Templates?

I've recently been reviewing the current draft of WebForms 2.0 [1], and I am
wondering if any of you are aware of potential for usage of URI Templates in
the @action attribute of the <form> element?

For example, consider the following:

	<form method="get"
action="http://www.welldesignedurls.org/{category}/{era}/">
		<p>Where would you like to go?
			<select name="category">
				<option value="standards">Standards</option>
				<option value="proposals">Proposals</option>
				<option value="ideas">Ideas</option>
			</select>/<select name="era">
				<option value="past">Past</option>
				<option value="present">Present</option>
				<option value="future">Future</option>
			</select>
			<button type="submit">Go!</button>
		</p>
	</form>

The above, as I envision it, could result in submiting a GET request to any
of the following URLs:

	http://www.welldesignedurls.org/standards/past/
	http://www.welldesignedurls.org/standards/present/	
	http://www.welldesignedurls.org/standards/future/
	http://www.welldesignedurls.org/proposals/past/
	http://www.welldesignedurls.org/proposals/present/	
	http://www.welldesignedurls.org/ideas/future/
	http://www.welldesignedurls.org/ideas/past/
	http://www.welldesignedurls.org/ideas/present/	
	http://www.welldesignedurls.org/ideas/future/

My questions are:
-- Has anyone considered this already?
-- Do you see any problems with it?
-- Has anyone proposed this to WHATWG already?
    -- If not, would provide support for me to propose to the WHATWG?

I think this would be tremendously valuable in creating much cleaner URLs on
the web and see a small window of time to get it incorporated.  

-- 
-Mike Schinkel
http://www.mikeschinkel.com/blogs/
http://www.welldesignedurls.org/

[1] http://www.whatwg.org/specs/web-forms/current-work/

Received on Tuesday, 26 December 2006 22:38:42 UTC