Sinatra: Up and Running
Ruby for the Web, Simply
Publisher: O'Reilly Media
Released: November 2011
Pages: 122

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
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillySinatra: Up and Running
 
4.8

(based on 4 reviews)

Ratings Distribution

  • 5 Stars

     

    (3)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Easy to understand (4)
  • Concise (3)
  • Helpful examples (3)
  • Well-written (3)

Cons

    Best Uses

    • Intermediate (4)
      • Reviewer Profile:
      • Developer (4)

    Reviewed by 4 customers

    Sort by

    Displaying reviews 1-4

    Back to top

    (1 of 1 customers found this review helpful)

     
    4.0

    Good reference for all levels

    By Maricris, a well seasoned RoR enthusiast

    from Manila, Philippines

    About Me Developer

    Verified Reviewer

    Pros

    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Expert
      • Intermediate
      • Novice
      • Student

      Comments about oreilly Sinatra: Up and Running:

      The organization of the contents are easy chunks of information. The description are very clear and easy to follow. This will be a good reference to always come back to when you are working with Sinatra.

      (1 of 1 customers found this review helpful)

       
      5.0

      Excellent - highly recommended

      By Ian Oxley

      from Newcastle-upon-Tyne, UK

      About Me Developer

      Verified Reviewer

      Pros

      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Expert
        • Intermediate

        Comments about oreilly Sinatra: Up and Running:

        Sinatra Up and Running is a good read both for web developers who want to start building web applications with Sinatra, and for experienced Ruby developers who want to learn how Sinatra works under the covers.

        The book is organised with the above in mind, making it easy to find the information you need. The first part covers the basics of Sinatra, and focuses on giving you the knowledge you'll need to start writing your own Sinatra powered web applications. Part two gets more technical, and looks at how Sinatra works under the covers, how you can write your own helpers and extensions, how Sinatra can be used as Rack middleware, and you can use it to create modular applications. The final part ties everything together and walks the reader through creating a Sinatra powered blog.

        I enjoyed reading Sinatra: Up and Running. It's well written, and full of code samples to help give you a better understanding of the concepts discussed. If you're looking for a book on Sinatra then I'd recommend this one without hesitation.

        (1 of 1 customers found this review helpful)

         
        5.0

        Quite Good

        By CrashTheuniversE

        from London, UK

        About Me Developer

        Pros

        • Concise
        • Easy to understand

        Cons

          Best Uses

          • Intermediate

          Comments about oreilly Sinatra: Up and Running:

          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

          (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!

            Displaying reviews 1-4

            Back to top

             
            Buy 2 Get 1 Free Free Shipping Guarantee
            Buying Options
            Immediate Access - Go Digital what's this?
            Ebook: $12.99
            Formats:  DAISY, ePub, Mobi, PDF
            Print & Ebook: $21.99
            Print: $19.99