O'Reilly logo

Learning Sinatra by Manoj Sehrawat, Sudeep Agarwal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Preface

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.

What this book covers

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required