Simon Willison’s Weblog

Subscribe
Atom feed for uritemplates

1 item tagged “uritemplates”

2009

Request Routing With URI Templates in Node.JS. I quite like this approach (though the implementation is a bit “this” heavy for my taste). JavaScript has no equivalent to Python’s raw strings, so regular expression based routing ala Django ends up being a bit uglier in JavaScript. URI template syntax is more appealing.

# 24th November 2009, 9:06 am / django, javascript, node, python, regex, uritemplates