This book will help you understand the basic concepts of Sinatra and build lightweight web applications. The book follows a step-by-step course, right from setting up Ruby and installing Sinatra to inculcating best practices for writing beautiful code. By the end, you will have a running Sinatra app ready and the confidence to write more apps by yourself.
Chapter 1, Introduction to Sinatra, helps you set up Sinatra and see a sample Hello World app, followed by a quick comparison with Rails.
Chapter 2, Introduction to Ruby, is intended for Ruby newbies, which helps in setting up Ruby using
rvm and understanding how to write code in Ruby.
Chapter 3, Hello World, helps you write the skeleton of a ToDo app and understand ...