Tuesday, February 17, 2009
The Sinatra web app DSL rocks
I had experimented with Sinatra several times before but today I really got into it. Setting up routes, handling GET/POST/PUT/DELETE, etc. takes very little code. I am only using Sinatra for publishing REST style web services (my own SPARQL endpoint server - I usually use the full Sesame library and web portal stack, but I wanted something leaner and more hackable).