Introduction to Sinatra eBook

Buy the Introduction to Sinatra eBook

Introduction to Sinatra eBook

My name is Satish Talim and I blog at I have published the Introduction to Sinatra eBook. The price is only US$ 9.95. You can download a sample chapter “Sinatra Deployment to Heroku“. Scroll down to read more details about the eBook.

My Introduction to Sinatra eBook is an easy-to-follow guide to everything on Sinatra. It is a complete step-by-step guide to quickly creating tiny web-applications and small services in Ruby. I focused entirely on practical advice with specific, doable how-to tips, tools and techniques. Follow the easy steps and clear tactics to take action today.

Take a look at Sinatra, and you will enjoy the appeal of a simplicity and elegance in development you haven’t felt from Ruby for a long time… a very long time.

What the experts say about Sinatra

Some FUN apps created by the eBook readers

Here are some fun apps created by the Introduction to Sinatra eBook readers and deployed to Heroku:

Yes, you too can build all such applications and many more.

eBook Table of contents

When you read the Introduction to Sinatra eBook, you will learn the essential features of Sinatra that you will end up using every day. The topics are:

  • What is Sinatra?
  • Sinatra Installation and its dependencies
  • Routes
  • set
  • before block
  • pass
  • status
  • Building a trivial Sinatra application
  • Deployment of a Sinatra app to Heroku
  • Views – ERB and HAML
  • Handler
  • Form parameters
  • Layouts
  • Error Handling – 404 and 500
  • Helpers
  • Exercises
    • Hosting a static webpage on Heroku
    • Text String Reversal Service
    • Stock Exchange Quote Service
    • Using Sinatra to access the Google+ API
    • Running a Sinatra app using JRuby
    • A Sorter Web Service in Sinatra
    • Finding Photos on Flickr
    • A Sinatra app to access GEO Info via GeoCoder
    • Sinatra Street View
    • Simple CRUD app with ActiveRecord, SQLite3 and YAML
  • Using Rack Middleware

Who’s it for?

Sinatra Icon

Anyone who knows the Ruby programming language can benefit from the “Introduction to Sinatra eBook“, and is a starting point for people new to Sinatra and a guide to help learn it as quickly and easily as possible.

By the time you complete reading the eBook, you can quickly create your own tiny web-applications in Ruby and write lots of small services.


If you buy the eBook, you can enroll for free in the next “Introduction to Sinatra” course at Email me your Paypal payment Transaction ID at satish [at] rubylearning [dot] org

Buy the Introduction to Sinatra eBook

The eBook is over 70 pages and is in pdf format. The cost of this eBook is only a nominal US$ 9.95 and is collected to help RubyLearning maintain the site and the eBook, and provide quality content to you.

You can buy the Introduction to Sinatra eBook for US$ 9.95 only (updated 6th Aug. 2013) by clicking on the ADD TO CART button below. You can pay by secure PayPal.

Add to Cart View Cart

We will not spam you or share your email id. Kindly refer to our privacy policy. You will require Adobe Acrobat to read the Introduction to Sinatra eBook. Thanks for all the support.

is an author and founder of and where over 45000 participants have learnt Ruby programming from across the globe.

Posted by Satish Talim