Swing when you're winning - an introduction to Ruby and Sinatra
by Matt Gifford, Lead Developer at MonkehWorks Ltd on Jun 07, 2013
- 719 views
Session originally given at Scotch on the Rocks 2013 in Edinburgh. ...
Session originally given at Scotch on the Rocks 2013 in Edinburgh.
In this session we will explore how to build a RESTful-based application using the Sinatra framework, built on top of the Ruby programming language. We will explore installing Ruby, creating our first Sinatra application, the use of route definitions to handle multiple METHOD request types, including GET and POST requests, data persistence in a SQLite database, and how to return data in multiple formats including JSON and HTML. The RESTful approach and ease of use offered by Sinatra make it a great choice for underlying API requests which you can implement and call from any programming language of your choice.
- Total Views
- Views on SlideShare
- Embed Views