Take advantage of Sinatra, the Ruby-based web application library and domain-specific language used by Heroku, GitHub, Apple, Engine Yard, and other prominent organizations. With this concise book, you will quickly gain working knowledge of Sinatra and its minimalist approach to building both standalone and modular web applications.
Sinatra serves as a lightweight wrapper around Rack middleware, with syntax that maps closely to functions exposed by HTTP verbs, which makes it ideal for web services and APIs. If you have experience building applications with Ruby, you’ll quickly learn language fundamentals and see under-the-hood techniques, with the help of several practical examples. Then you’ll get hands-on experience with Sinatra by building your own blog engine.
Learn Sinatra’s core concepts, and get started by building a simple application
Create views, manage sessions, and work with Sinatra route definitions
Become familiar with the language’s internals, and take a closer look at Rack
Use different subclass methods for building flexible and robust architectures
Put Sinatra to work: build a blog that takes advantage of service hooks provided by the GitHub API
Chapter 1 Taking the Stage
Characteristics of Sinatra
Installation
Up and Running
Rock, Paper, Scissors or “The Shape of Things to Come”
As current maintainer of Sinatra, Konstantin is an Open Source developer by heart. Ruby has become his language of choice since 2005. He actively participates in the Ruby community and regularly contributes to different widespread projects, like Rubinius and Rack. In 2010, he successfully took part in the Ruby Summer Of Code, working on Rails internals. Haase is currently studying IT Systems Engineering at the Hasso Plattner Institute in Potsdam, Germany, and works part time as a software engineer at finnlabs in Berlin.
That's a concise explanation about Sinatra and a refreshing reference of other concepts you may need if you want to pick it up quickly and start producing.
Sinatra itself is meant for that, and the book is a quick introduction you will read in a few hours and then come back to it for at least a few days while working through your fresh code.
I enjoyed that, although I hope they will expand it in the future in new releases, covering maybe one or two more specific examples with real applications references. Then it would even better, but I feel like 5 stars is appropriate right now
11/27/2011
(5 of 5 customers found this review helpful)
5.0
This book is a must have
By igmarin
from Leon, Gto, Mexico
About Me Developer, Educator
Pros
Accurate
Concise
Easy to understand
Helpful examples
Well-written
Cons
Best Uses
Intermediate
Novice
Student
Comments about oreilly Sinatra: Up and Running:
If you want to learn Sinatra and you want to improve your skills in the Ruby area this book is for you, I love it!