URI Templates
From Well Designed Urls WiKi
As of this writing, URI Templates are a draft proposal of the IETF that allow you to, among other things, specify rules for URL Construction.
URL Templates use braces to denote template variable, for example:
http://www.mycarsite.com/{make}/{model}/{year}/
Assuming make=toyota, model=4runner and year=1999 you get:
http://www.mycarsite.com/toyota/4runner/1999/
URI Templates are also potentially very useful for specifying URL Rewrite Rules in a format simpler than Regular Expressions that mere-mortals can actually understand and use.
[edit]
Specification Authors
[edit]
Resources
- About URI Templates
- URI Template Draft Proposal, Expires Expires: May 1, 2007
- Mark Nottingham's URL Templates Javascript File
[edit]

