The Ruby Way, Second Edition 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
More Buying Choices
Have one to sell? Sell yours here
or
Get a £5.50 Amazon.co.uk Gift Card
The Ruby Way: Solutions and Techniques in Ruby Programming (Addison-Wesley Professional Ruby)
 
 
Start reading The Ruby Way, Second Edition on your Kindle in under a minute.

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

The Ruby Way: Solutions and Techniques in Ruby Programming (Addison-Wesley Professional Ruby) [Paperback]

Hal Fulton
5.0 out of 5 stars  See all reviews (2 customer reviews)
RRP: £29.99
Price: £27.49 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £2.50 (8%)
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.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Only 1 left in stock--order soon (more on the way).
Want guaranteed delivery by Thursday, May 31? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Kindle Edition £20.62  
Paperback £27.49  
Trade In this Item for up to £5.50
Get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade in The Ruby Way: Solutions and Techniques in Ruby Programming (Addison-Wesley Professional Ruby) for an Amazon.co.uk gift card of up to £5.50, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.
There is a newer edition of this item:
The Ruby Way: Solutions and Techniques in Ruby Programming The Ruby Way: Solutions and Techniques in Ruby Programming
Currently unavailable

Frequently Bought Together

The Ruby Way: Solutions and Techniques in Ruby Programming (Addison-Wesley Professional Ruby) + The Ruby Programming Language + Programming Ruby 1.9: The Pragmatic Programmers' Guide
Price For All Three: £72.65

Show availability and delivery details

Buy the selected items together


Product details

  • Paperback: 888 pages
  • Publisher: Addison Wesley; 2 edition (25 Oct 2006)
  • Language English
  • ISBN-10: 0672328844
  • ISBN-13: 978-0672328848
  • Product Dimensions: 22.9 x 17.8 x 5 cm
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Bestsellers Rank: 356,171 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Hal Edwin Fulton
Discover books, learn about writers, and more.

Visit Amazon's Hal Edwin Fulton Page

Product Description

Product Description

Ruby is an agile object-oriented language, borrowing some of the best features from LISP, Smalltalk, Perl, CLU, and other languages. Its popularity has grown tremendously in the five years since the first edition of this book.

 

The Ruby Way takes a “how-to” approach to Ruby programming with the bulk of the material consisting of more than 400 examples arranged by topic. Each example answers the question “How do I do this in Ruby?” Working along with the author, you are presented with the task description and a discussion of the technical constraints. This is followed by a step-by-step presentation of one good solution. Along the way, the author provides detailed commentary and explanations to aid your understanding.

 

Coverage includes

 

•    An overview of Ruby, explaining terminology and basic principles

•    Operations on low-level data types (numbers, strings, regular expressions, dates)

•    The new regular expression engine (Oniguruma)

•    Internationalization (I18N) and message catalogs in Ruby

•    Operations on hashes, arrays, and other data structures such as stacks, trees, and graphs

•    Working with general I/O, files, and persistent objects

•    Database coverage including MySQL, SQLite, Oracle, DBI, and more

•    Ruby-specific techniques in OOP and dynamic programming

•    Graphical interfaces in Ruby (Tk, GTK+, Fox, and Qt)

•    Working with Ruby threads for lightweight multitasking

•    Everyday scripting and system administration in Ruby

•    Working with image files, PDFs, YAML, XML, RSS, and Atom

•    Testing, debugging, profiling, and packaging Ruby code

•    Low-level network programming and client-server interaction

•    Web development tools including Rails, Nitro, Wee, IOWA, and more

•    Working with distributed Ruby, Rinda, and Ring

•    Ruby development tools such as IDEs, documentation tools, and more

 

The source code for the book can be downloaded from www.rubyhacker.com

 

 

Hal Fulton has worked for over 15 years with variousforms of Unix, including AIX, Solaris, and Linux. He was first exposed to Ruby in 1999, and in 2001 he began work on the first edition of this book–the second Ruby book published in the English language. He has attendednumerous Ruby conferences and has given presentations at several of those, including the first European Ruby Conference. 

 

He has two degrees in computer science from the University of Mississippi and taught computer science for four years before moving to Austin, Texas to work as a contractor for variouscompanies, including IBM Austin.  Hal currently works at Broadwing Communications in Austin, Texas, maintaining a large data warehouse and related telecom applications, working daily with C++, Oracle, and, of course, Ruby.

 

 

From the Back Cover

Ruby is an agile object-oriented language, borrowing some of the best features from LISP, Smalltalk, Perl, CLU, and other languages. Its popularity has grown tremendously in the five years since the first edition of this book.

 

The Ruby Way takes a “how-to” approach to Ruby programming with the bulk of the material consisting of more than 400 examples arranged by topic. Each example answers the question “How do I do this in Ruby?” Working along with the author, you are presented with the task description and a discussion of the technical constraints. This is followed by a step-by-step presentation of one good solution. Along the way, the author provides detailed commentary and explanations to aid your understanding.

 

Coverage includes

 

•    An overview of Ruby, explaining terminology and basic principles

•    Operations on low-level data types (numbers, strings, regular expressions, dates)

•    The new regular expression engine (Oniguruma)

•    Internationalization (I18N) and message catalogs in Ruby

•    Operations on hashes, arrays, and other data structures such as stacks, trees, and graphs

•    Working with general I/O, files, and persistent objects

•    Database coverage including MySQL, SQLite, Oracle, DBI, and more

•    Ruby-specific techniques in OOP and dynamic programming

•    Graphical interfaces in Ruby (Tk, GTK+, Fox, and Qt)

•    Working with Ruby threads for lightweight multitasking

•    Everyday scripting and system administration in Ruby

•    Working with image files, PDFs, YAML, XML, RSS, and Atom

•    Testing, debugging, profiling, and packaging Ruby code

•    Low-level network programming and client-server interaction

•    Web development tools including Rails, Nitro, Wee, IOWA, and more

•    Working with distributed Ruby, Rinda, and Ring

•    Ruby development tools such as IDEs, documentation tools, and more

 

The source code for the book can be downloaded from www.rubyhacker.com

 

 

Hal Fulton has worked for over 15 years with variousforms of Unix, including AIX, Solaris, and Linux. He was first exposed to Ruby in 1999, and in 2001 he began work on the first edition of this book–the second Ruby book published in the English language. He has attendednumerous Ruby conferences and has given presentations at several of those, including the first European Ruby Conference. 

 

He has two degrees in computer science from the University of Mississippi and taught computer science for four years before moving to Austin, Texas to work as a contractor for variouscompanies, including IBM Austin.  Hal currently works at Broadwing Communications in Austin, Texas, maintaining a large data warehouse and related telecom applications, working daily with C++, Oracle, and, of course, Ruby.

 

 


Inside This Book (Learn More)
Explore More
Concordance
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product)
 
(9)

Your tags: Add your first tag
 

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

4 star
0
3 star
0
2 star
0
1 star
0
Most Helpful Customer Reviews
12 of 12 people found the following review helpful
Format:Paperback
This is the best book which I know if you are interested in general application development with Ruby (I'm referring to the second edition). It gives a detailed introduction to Ruby and the standard library on the first 450 pages. The last part of the book (another 350 pages) gives basic information on how to do multi-threading, GUI development, scripting for system administration, accessing XML and generating PDF, networking, and web applications. The book also gives information about RDoc, RubyGems, and irb ...
Comment | 
Was this review helpful to you?
4 of 4 people found the following review helpful
Format:Paperback
This is a very thorough companion to just about everything in Ruby, starting with the core language features, and then moving onto some of the more important libraries. As such, it has a reasonable overlap with Ruby Cookbook. In most languages, you'd expect the O'Reilly's mighty Cookbook series to come off best, but The Ruby Way edges it in this case. It's that good.

The Ruby Way not only covers more than Ruby Cookbook, it also manages to be a little more cohesive, dispensing best-practices and general wisdom amidst its well-chosen examples. If you already know another programming language, you could probably learn Ruby from this book (in particular, the first chapter contains a great set of reminders and idioms), and it might even be the only Ruby book you'd need.

Apart from its comprehensive coverage of Ruby itself, there's also coverage of important Ruby projects like Rake, gems and Rinda. It even covers more than Rails in its chapter on web frameworks, although it must be admitted that you don't get too much sense of how these really work given the space allotted to them.

One notable characteristic of TRW is that in places, it has a slightly fuddyish writing style, for example, it refers to the use of 'threequals' for the case equality operator as "hip and trendy" (with scare quotes included). I quite enjoyed this. Yes, there are some typos and mistakes in the book, but I didn't find it was a big problem, you can normally work out the correct syntax with the minimum amount of experimentation in irb.

A mighty combination of cookbook and best practices (akin to Effective C++ and Effective Java, although Rubyists probably don't like the comparison to those languages), The Ruby Way is the Must Read of the Ruby literature.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  25 reviews
49 of 53 people found the following review helpful
This is one of my favorite Ruby books 8 Nov 2006
By Curt Hibbs - Published on Amazon.com
Format:Paperback
People in the Ruby development community know me because I started several of the most popular open source Ruby projects (I have been active in Ruby since 2001). If you are serious programming in Ruby then there are two must-have books to keep within reach as you program: Dave Thomas' Programming Ruby; and this book: Hal Fulton's The Ruby Way.

This is really two books in the guise of one. One the surface, The Ruby Way appears to be a cookbook of Ruby recipes, and a very thorough one at that. But The Ruby Way also manages to capture the gestalt of Ruby, that intangible, indefinable philosophy behind the Ruby idioms that old-timers now take for granted.

Every programming language has its own "way" of doing things. You don't want to write Java code in Ruby, or VB code in Ruby, you should be writing *real* Ruby code. If you want to see Ruby code the way it was "meant" to be written, this is your book.
18 of 18 people found the following review helpful
random access for someone already knowing Ruby 6 Dec 2006
By W Boudville - Published on Amazon.com
Format:Paperback
Yes, there are some typos in Fulton's book. But the vast bulk (and it is indeed a big text) can be profitably read. Either by someone wanting to learn Ruby from scratch or by a Ruby programmer searching for a solution to some common problem. For the former, the book may be too long. If you want to come up to speed on Ruby, ab initio, perhaps you might consider a slimmer text.

The book is best suited as a random access resource, for a Ruby programmer. As implied by the title. The 400 odd examples demonstrate a good diversity of usages of the language. Grouped according to broad topics like threads, user interfaces and networks. This helps you focus on finding a possible solution. However, suppose you can't find an exact match. The numerous examples may have one close enough to suggest an easy mod.

Granted, if a relevant example has typos, so that it won't run, that's a drag. But only a minor one. If you already know Ruby, fixing this should be a low level detail.

As far as comparing with other scripting languages, well the book does not do this. No mention at all of Perl or PHP. Probably the author regards this as outside the book's remit. The decision of whether you should use Ruby over those alternatives is something that cannot be answered by this book alone.
19 of 20 people found the following review helpful
A good choice for a second Ruby book... 24 Dec 2006
By Thomas Duff - Published on Amazon.com
Format:Paperback
This is a book I could see being really helpful for someone who's done the Ruby tutorial and now needs to actually *use* the language to do something... The Ruby Way (2nd Edition) by Hal Fulton.

Contents: Ruby in Review; Working with Strings; Working with Regular Expressions; Internationalization in Ruby; Performing Numerical Calculations; Symbols and Ranges; Working with Times and Dates; Arrays, Hashes, and Other Enumerables; More Advanced Data Structures; I/O and Data Storage; OOP and Dynamic Features in Ruby; Graphical Interfaces for Ruby; Threads in Ruby; Scripting and System Administration; Ruby and Data Formats; Testing and Debugging; Packaging and Distributing Code; Network Programming; Ruby and Web Applications; Distributed Ruby; Ruby Development Tools; The Ruby Community; Index

Fulton states in the introduction that this book is not designed to be a "teach yourself Ruby" title. Instead, it's meant to explore the power and utility of the language by means of examples. Think of it as a *really* large cookbook-style volume. In each chapter, there are a series of how-to sections that are practical examinations of a particular technique. For instance, in the regular expressions chapter, you'll see sections such as using anchors, positive and negative lookahead, recursions in regular expressions, and detecting doubled words in text. This solutions-based approach to Ruby is perfect for someone who has covered the basics via a tutorial or some other book, but now has to actually use the language to do something. Personally, I find having a book like this is extremely valuable in making the jump from rank novice to functional developer. I know good code when I steal it... :)
Search Customer Reviews
Only search this product's reviews

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
   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges