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.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Read books on your computer or other mobile devices with our FREE Kindle Reading Apps.
Service-Oriented Design with Ruby and Rails (Addison-Wesley Professional Ruby Series)
 
 

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

Paul Dix

Digital List Price: £27.80 What's this?
Print List Price: £36.99
Kindle Price: £22.24 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £14.75 (40%)
Unlike print books, digital books are subject to VAT.

Formats

Amazon Price New from Used from
Kindle Edition £22.24  
Paperback £31.44  


Product Description

Product Description

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 that was 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

From the Back Cover

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

Product details

  • Format: Kindle Edition
  • File Size: 4640 KB
  • Print Length: 321 pages
  • Page Numbers Source ISBN: 0321659368
  • Publisher: Addison-Wesley Professional; 1 edition (17 Aug 2010)
  • Sold by: Amazon Media EU S.à r.l.
  • Language English
  • ASIN: B00413PHZU
  • Text-to-Speech: Enabled
  • Amazon Bestsellers Rank: #90,802 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


More About the Author

Paul Dix
Discover books, learn about writers, and more.

Visit Amazon's Paul Dix Page

What Other Items Do Customers Buy After Viewing This Item?


Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

Customer Reviews

There are no customer reviews yet on Amazon.co.uk.
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  6 reviews
12 of 12 people found the following review helpful
Great intro to scalable designs for Ruby programmers 12 Sep 2010
By Jason W. Dixon - Published on Amazon.com
Format:Kindle Edition|Amazon Verified Purchase
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.
12 of 13 people found the following review helpful
Along with Metaprogramming Ruby, a must read for Ruby/Rails devs 13 Sep 2010
By Ambert Ho - Published on Amazon.com
Format: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.
4 of 4 people found the following review helpful
The best ruby book I've read in a long time 28 Oct 2010
By Jeff M. Dean - Published on Amazon.com
Format:Paperback|Amazon Verified Purchase
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.

Popular Highlights

 (What's this?)
&quote;
Which data has high read and low write frequency?  Which data has high write or update frequency?  Which joins occur most frequently?  Which parts of the application have clearly defined requirements and design? &quote;
Highlighted by 11 Kindle users
&quote;
Typhoeus is an HTTP library specifically designed for high-speed parallel access to services. &quote;
Highlighted by 9 Kindle users
&quote;
Remember that services should avoid having clients construct URIs whenever possible. &quote;
Highlighted by 9 Kindle users

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
 

Search Customer Discussions
Search all Amazon discussions
   



Look for similar items by category


Look for similar items by subject


Amazon Media EU S.à r.l. GB Privacy Statement Amazon Media EU S.à r.l. GB Delivery Information Amazon Media EU S.à r.l. GB Returns & Exchanges