Sinatra is a Domain Specific Language (DSL) for quickly creating web applications in Ruby with minimal effort. It is an alternative to other Ruby web application frameworks such as Ruby on Rails, Nitro, Camping, and Rango.
Sinatra is a small and flexible dsl designed and developed by Blake Mizerany (bmizerany) in California. The project was financed mainly by heroku, github and Engine Yard in the past and is now taken care of by travis-ci.
It does not follow the typical model–view–controller pattern used in other frameworks; instead, Sinatra focuses on providing a small set of functionality to help you deal with common web tasks such as templates, routes, sessions, cookies and more.
Hello World with Sinatra:
require 'sinatra'
get '/hi' do
"Hello World!"
end
Books:
Websites: