Calendar
May 2013 M T W T F S S « Aug 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -
Recent Posts
Categories
Category Archives: URI Templates
Implementations of URI Templates in various languages
Before the URI Templates implementation in C++/Xbyak, I researched implementations of URI Templates. Python (Joe Gregorio himself’s experimental implementation) http://code.google.com/p/uri-templates/ Ruby – Addressable http://addressable.rubyforge.org/ Ruby – uri-templates http://github.com/juretta/uri-templates/tree/master Javascript – url_template http://www.mnot.net/javascript/url_template/ Javascript – Template http://www.snellspace.com/wp/?p=831 Perl – URI::Template http://search.cpan.org/~bricas/URI-Template/ … Continue reading
JIT Compiler for URI Templates (C++/Xbyak)
URI Templates ( http://bitworking.org/projects/URI-Templates/ ) provides the methods to generate similar URIs. For example, a template “/weather/{state}/{city}?forecast={day}” means that it has 3 parameters “state”, “city” and “day”, therefore it can generate URI when giving values for each parameter. Is it … Continue reading