Service-Oriented Design with Ruby and Rails and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Kindle Edition
 
   
Sell Back Your Copy
For a $9.47 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Service-Oriented Design with Ruby and Rails (Addison-Wesley Professional Ruby Series)
 
 
Start reading Service-Oriented Design with Ruby and Rails on your Kindle in under a minute.

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

Service-Oriented Design with Ruby and Rails (Addison-Wesley Professional Ruby Series) [Paperback]

Paul Dix (Author)
4.5 out of 5 stars  See all reviews (6 customer reviews)

List Price: $49.99
Price: $36.62 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.37 (27%)
  Special Offers Available
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
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Friday, February 3? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $17.69  
Paperback $36.62  
Sell Back Your Copy for $9.47
Whether you buy it used on Amazon for $28.00 or somewhere else, you can sell it back through our Book Trade-In Program at the current price of $9.47.
Used Price$28.00
Trade-in Price$9.47
Price after
Trade-in
$18.53

Book Description

0321659368 978-0321659361 August 27, 2010 1
The Complete Guide to Building Highly Scalable, Services-Based Rails Applications

 

Ruby on Rails deployments are growing, and Rails is increasingly being adopted in larger environments. Today, Rails developers and architects need better ways to interface with legacy systems, move into the cloud, and scale to handle higher volumes and greater complexity. In Service-Oriented Design with Ruby and Rails Paul Dix introduces a powerful, services-based design approach geared toward overcoming all these challenges. Using Dix’s techniques, readers can leverage the full benefits of both Ruby and Rails, while overcoming the difficulties of working with larger codebases and teams.

 

Dix demonstrates how to integrate multiple components within an enterprise application stack; create services that can easily grow and connect; and design systems that are easier to maintain and upgrade. Key concepts are explained with detailed Ruby code built using open source libraries such as ActiveRecord, Sinatra, Nokogiri, and Typhoeus. The book concludes with coverage of security, scaling, messaging, and interfacing with third-party services.


Service-Oriented Design with Ruby and Rails will help you

  • Build highly scalable, Ruby-based service architectures that operate smoothly in the cloud or with legacy systems
  • Scale Rails systems to handle more requests, larger development teams, and more complex code bases
  • Master new best practices for designing and creating services in Ruby
  • Use Ruby to glue together services written in any language
  • Use Ruby libraries to build and consume RESTful Web services
  • Use Ruby JSON parsers to quickly represent resources from HTTP services
  • Write lightweight, well-designed API wrappers around internal or external services
  • Discover powerful non-Rails frameworks that simplify Ruby service implementation
  • Implement standards-based enterprise messaging with Advanced Message Queuing Protocol (AMQP)
  • Optimize performance with load balancing and caching
  • Provide for security and authentication

Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Service-Oriented Design with Ruby and Rails (Addison-Wesley Professional Ruby Series) + Rails 3 Way, The (2nd Edition) (Addison-Wesley Professional Ruby Series) + Rails AntiPatterns: Best Practice Ruby on Rails Refactoring (Addison-Wesley Professional Ruby Series)
Price For All Three: $97.14

Show availability and shipping details

Buy the selected items together


Editorial Reviews

About the Author

Paul Dix is co-founder and CTO at Market.io. In the past, he has worked at Google, Microsoft, McAfee, Air Force Space Command, and multiple startups, filling positions as a programmer, software tester, and network engineer. He has been a speaker at multiple conferences, including RubyConf, Goruco, and Web 2.0 Expo, on the subjects of service-oriented design, event-driven architectures, machine learning, and collaborative filtering. Paul is the author of multiple open source Ruby libraries. He has a degree in computer science from Columbia University.

Product Details

  • Paperback: 320 pages
  • Publisher: Addison-Wesley Professional; 1 edition (August 27, 2010)
  • Language: English
  • ISBN-10: 0321659368
  • ISBN-13: 978-0321659361
  • Product Dimensions: 9 x 6.9 x 0.7 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (6 customer reviews)
  • Amazon Best Sellers Rank: #117,722 in Books (See Top 100 in Books)

More About the Author

I've been using Ruby and involved with the NYC.rb meetup since the fall of 2005. During that time I've done Rails applications for the New York Jets, Flavorpill, BBC, Channel 4 UK, KGB, Efficiency 2.0, and my current employer Benchmark Solutions. I first started working with service architectures in Ruby at KGB. There we had a complex application with search, real-time indexing, and machine learning. That was in addition to all the standard web application stuff. Due to the complexity of the various pieces, we split it off into multiple services and I've been interested in the topic since.

My formal background is in CS with an emphasis on AI, machine learning, search, and natural language processing. I suppose that accounts for my other passion: machine learning. I organize the machine learning meetup in NYC which regularly features speakers from leading universities and labs giving talks about the latest in the field.

I'm pauldix on Twitter, Github, and most every other service on the web. Feel free to drop me a line to talk about Ruby, services, or machine learning.

 

Customer Reviews

6 Reviews
5 star:
 (5)
4 star:    (0)
3 star:    (0)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.5 out of 5 stars (6 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

11 of 11 people found the following review helpful:
5.0 out of 5 stars Great intro to scalable designs for Ruby programmers, September 11, 2010
Amazon Verified Purchase(What's this?)
I'm a little tired right now to give a thorough review, but I wanted to get something down to benefit other potential buyers. First off, let me give some background on myself so you have a point of reference. I've been programming web software and services as a hobby for the last 10 years. My forte has always been with Perl, with a recent desire to try newer languages like Python and Ruby. My particular interest in this book stems from a new project I'm working on that lends itself to a service-oriented design from the get-go. I have no other experience with Ruby or Rails except for short periods of "play time" with Rails when it first became popular, years ago. But I'm *very* experienced with service-oriented and scalable internet architectures (I work for OmniTI), so I expected much of the book to be a rehash of what I'm exposed to on a daily basis anyways.

The author (Paul Dix) immediately throws the reader into a sample web service, typical to any modern REST web application. What I really appreciated was how he stressed the test-driven development approach via rspec, although it might have been beneficial to give a bit more background into the advantages of TDD and the specifics of rspec within Ruby and Rails testing. Nevertheless there is sufficient coverage of the process to get the reader off on the right foot. There are a few bugs in the included code examples that have either been fixed in the github repository ([...]).

Chapter 2 describes the philosophies and methodologies behind service-oriented designs and the differentiators to SOA, XML-RPC and related books such as "RESTful Web Services". Paul makes a sane argument for service-oriented designs with Ruby over the monolithic Rails applications we've seen as Rails has continued to grow in popularity, introduced to larger production loads. The reader learns about isolating services and the benefits (testing, resiliency, performance) associated with various levels of separation.

Chapter 3 gives experienced Rails developers an example migration by segmenting a "typical" Rails installation into independent services. This had limited value to me, since I plan to write Ruby web applications from scratch. But there is still value in a series of well-presented diagrams demonstrating the MVC equivalence of service-oriented design.

Chapter 4 (along with the "RESTful Primer" appendix) provide an excellent overview of RESTful web services and API design. As there is no formal REST specification, much of this is based on accepted industry practices, but the coverage is thorough and very digestible.

This is all I have time to write up at the moment. Suffice it to say I'm very pleased with this book and will continue to refer back to it as I develop in Ruby. Although the book is designed for experienced Rails programmers, I have no reservation in suggesting this to beginner Ruby/web developers... so long as they have another core Ruby reference at their disposal.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


12 of 13 people found the following review helpful:
5.0 out of 5 stars Along with Metaprogramming Ruby, a must read for Ruby/Rails devs, September 12, 2010
This review is from: Service-Oriented Design with Ruby and Rails (Addison-Wesley Professional Ruby Series) (Paperback)
I never review books on Amazon. But I wrote a review for Metaprogramming Ruby (Feb 2010 Pragmatic Programmers) because it was just such a must-read. And I'm writing one for this, because it's also a must-read. The target audience for this book is the intermediate Rails developer who has his all-in-one app with background processing, and is wondering "what next"? "What if tomorrow users start joining my site by the droves?" "What if I'm written up on TC / Digg / Slashdotted tomorrow?"

If I HAD to give criticism, the only thing I could think of is that this book goes into implementation details for some subjects but not others. For example, it has pages and pages of code to illustrate how to write a service in rails, Sinatra, Rack, but skips over a lot of ops related stuff. If you were going about implementing the ideas in this book, those issues would confront you far before you write your services, do your load balancing and edge caching, etc. I would love for Dix to write a second book on that topic. That's just nitpicking, though - part of the reason I think Dix went into depth with the code goes back to the target audience: it is very helpful to show Sinatra and Rack analogues to a guy who has only used Rails.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


4 of 4 people found the following review helpful:
5.0 out of 5 stars The best ruby book I've read in a long time, October 27, 2010
Amazon Verified Purchase(What's this?)
This review is from: Service-Oriented Design with Ruby and Rails (Addison-Wesley Professional Ruby Series) (Paperback)
It's rare that I read a ruby book these days and learn something new in every chapter, but I did from this book. The title doesn't do the book justice. The ruby examples use Rack, Sinatra and Rails (including Rails 3 examples) to demonstrate how to quickly build and test REST services and service clients.

It covers everything from high-level architecture decisions, like when to introduce services and how to decide what goes where, to seemingly small details, like dealing with serving pagination links in apis.

The only downside is that it could have gone into more detail about how to run apps with multiple services locally.

I read it cover to cover, and frequently refer to it. I highly recommend it to anyone working on moderate to large Rails apps. It completely demystified SOA for me.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews




Only search this product's reviews



Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject