Sinatra: Up and Running and over one million other books are available for Amazon Kindle. Learn more

Vous voulez voir cette page en français ? Cliquez ici.


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Start reading Sinatra: Up and Running on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Sinatra: Up and Running [Paperback]

Alan Harris , Konstantin Haase

List Price: CDN$ 20.99
Price: CDN$ 18.66 & eligible for FREE Super Saver Shipping on orders over CDN$ 25. Details
You Save: CDN$ 2.33 (11%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 1 left in stock (more on the way).
Ships from and sold by Amazon.ca. Gift-wrap available.
Want it delivered Tuesday, May 28? Choose One-Day Shipping at checkout.

Formats

Amazon Price New from Used from
Kindle Edition CDN $8.41  
Paperback CDN $18.66  

Book Description

Dec 1 2011

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

Customers Who Bought This Item Also Bought


Product Details


Product Description

About the Author

Alan Harris is a software engineer with a decade of professional experience, and author of several books on software development spanning multiple platforms and languages. He has delivered numerous scalable, elegant solutions for companies ranging from non-profits to military subcontractors; he has also been a featured contributor in the developerWorks community. He currently works and resides in the DC area.

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.


Customer Reviews

There are no customer reviews yet on Amazon.ca
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.8 out of 5 stars  10 reviews
7 of 7 people found the following review helpful
4.0 out of 5 stars not a book for beginners Jan 8 2012
By niteshade - Published on Amazon.com
Format:Paperback
I can sense the quality of this book. As other reviews have stated, it is clear and concise, and I will keep it on my bookshelf for future reference. It has a certain zen feel, and if you can follow everything in this book, you will be a force of nature.

This is not, however a book for Ruby beginners, or for novice (or perhaps even intermediate) developers looking to Sinatra for an alternative to the complex behemoth that is Rails. Don't be lulled by the thin size of this book: it is dense. After the first chapter, when it considers the rich array of paths Sinatra offers, it delves into the HTTP specification, the underlying architecture of Sinatra, hacking the Sinatra system itself, Rack, and modular applications.

However, these deeper and back-end topics are the entire beast. Besides a cursory few examples in the first chapter, there is little attention paid to organizing applications, design patters, or best-practices. There's not much hand-holding, in other words.

If you see yourself needing to manually distinguish MIME types or define custom HTTP headers, this book seems great. It's a book for computer scientists looking to add another weapon to their arsenal. It is not a book for dilettantes or the inexperienced. However, I have a sneaking suspicion I will come back to this book after I get used the Sinatra system.
11 of 13 people found the following review helpful
5.0 out of 5 stars It's just right. A perfect introduction. Dec 14 2011
By Peter Cooper - Published on Amazon.com
Format:Paperback
An interesting quirk of Scandinavian society is the concept of Jante Law. It knocks down standing out and being individual, in favor of communal harmony. It's typically used in a negative context to lament restrictions and lack of risk taking within Nordic society but the flip side of the Jante coin is "lagom": the idea and ideal of having just the right amount of something.

Sinatra Up and Running is, second to K&R, the most "lagom" technical book I've read. At a mere 102 pages you may wonder whether it's worth buying - it is. Unlike most technical books - yes, including mine - it skips the waffle and provides a perfect level of detail going through from what Sinatra is, to how it works, and on to an example project that covers just 13 pages. Don't be fooled, though, this isn't one of those tiny format O'Reilly handbooks; it's a regular, full size book - just a thin one!

It's a good book and well written. I enjoyed it and picked up or was reminded of quite a few interesting bits and pieces. I'll probably refer to it from time to time. If your Sinatra experiences are rather on and off or you've not played with it for a while, it's a great, well-paced introduction. If, however, you're already a Sinatra guru and/or working with Sinatra on a day by day basis and have all of the main patterns memorized, there's not a great deal you're going to get out of it. Buy it to be a completionist or to support the authors, but if you want a book demonstrating in depth how to integrate Sinatra with everything or how to big giant Web applications, this isn't for you.

Inexperienced Rubyists may also find the book's direct no-nonsense style intimidating. If you know what a code block is, you're good to go. This may seem like a bizarre observation to most Rubyists, but I've encountered many beginners who've wanted to "build a Web site" and immediately leapt into an advanced Rails book, only to be confused. If you're still new to Ruby, read The Well Grounded Rubyist or Beginning Ruby first.

And I'm going to stop here, because that would be lagom :-)
2 of 2 people found the following review helpful
5.0 out of 5 stars Fast, Thorough Introduction April 12 2012
By Ryan Riley - Published on Amazon.com
Format:Kindle Edition|Amazon Verified Purchase
I read this book through in its entirety in just a few days. It was short but thorough, and I thought it covered all the necessities rather well. Even if you don't use either Ruby or Sinatra, I'd recommend picking this up to find out just how simple building web applications should be.

Listmania!

Create a Listmania! list

Look for similar items by category


Feedback


Amazon.ca Privacy Statement Amazon.ca Shipping Information Amazon.ca Returns & Exchanges