Sinatra LogoIf you’re looking for a way to prototype an interface, especially one that would benefit from interacting with live data, having a lightweight and easy to use/learn backend is essential. Sinatra fits the bill nicely. It is a Ruby framework for developing web applications. A List Apart has a great tutorial on prototyping with Sinatra, which will get you up and running pretty quickly.

Recently, I needed to cobble together a quick web service to support a hardware project I am working on. The above mentioned tutorial saved me a lot of time. Once I had the service running locally, it was easy to get it deployed to Heroku where the web service was no longer dependent on my laptop running the webserver.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Learn More)