Sinatra: Up and Running

Ruby for the Web, Simply

by Alan Harris, Konstantin Haase

Subject categories
ISBNs
  • 1449323987
  • 9781449304232
  • 9781449323981
  • 9781449323974

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

  • O'Reilly Media; November 2011
  • ISBN: 9781449323981
  • Edition: 1
  • Read online, or download in DRM-free PDF or DRM-free ePub (digitally watermarked) format
  • Title: Sinatra: Up and Running
  • Author: Alan Harris; Konstantin Haase
  • Imprint: O'Reilly Media
Subject categories
ISBNs
  • 1449323987
  • 9781449304232
  • 9781449323981
  • 9781449323974