The Ruby Way, Second Edition and over 450,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

Buy New
 

or
Sign in to turn on 1-Click ordering.
 
 
Buy Used
Used - Very Good See details
$25.42 & this item ships for FREE with Super Saver Shipping. Details

or
Sign in to turn on 1-Click ordering.
 
   
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
54 used & new from $14.89

Have one to sell? Sell yours here

or

Get a $5.60 Amazon.com Gift Card
 
   
The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (2nd Edition)
 
 
Start reading The Ruby Way, Second Edition on your Kindle in under a minute.

Don’t have a Kindle? Get your Kindle here.

The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (2nd Edition) (Paperback)

~ Hal Fulton (Author)
Key Phrases: def initialize, def meth, default iterator, Other Enumerables, Ruby Application Archive, Mon Jul (more...)
4.5 out of 5 stars  See all reviews (22 customer reviews)

List Price: $49.99
Price: $31.49 & this item ships for FREE with Super Saver Shipping. Details
You Save: $18.50 (37%)
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 Tuesday, March 23? Choose One-Day Shipping at checkout. Details
31 new from $21.97 23 used from $14.89

Formats

Amazon Price New from Used from
Kindle Edition $28.34  
Paperback $31.49  

Frequently Bought Together

The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (2nd Edition) + The Rails Way + The Ruby Programming Language
Total List Price: $144.97
Price For All Three: $92.52

Show availability and shipping details

  • This item: The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (2nd Edition) by Hal Edwin Fulton

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • The Rails Way by Obie Fernandez

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • The Ruby Programming Language by Yukihiro Matsumoto

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought


Editorial Reviews

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.

 

 

About the Author

Hal Fulton has two degrees in computer science from the University of Mississippi. He taught computer science for four years at the community college level before moving to Austin, Texas, for a series of contracts (mainly at IBM Austin). He has worked for more than 15 years with various forms 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, which was the second Ruby book in the English language. He has attended six Ruby conferences and has given presentations at four of those, including the first European Ruby Conference in Karlsruhe, Germany. He currently works at Broadwing Communications in Austin, Texas, working on a large data warehouse and related telecom applications. He works daily with C++, Oracle, and of course, Ruby.

 

Hal is still active daily on the Ruby mailing list and IRC channel, and has several Ruby projects in progress. He is a member of the ACM and the IEEE Computer Society. In his personal life, he enjoys music, reading, writing, art, and photography. He is a member of the Mars Society and is a space enthusiast who would love to go into space before he dies. He lives in Austin, Texas.

 


Product Details

  • Paperback: 888 pages
  • Publisher: Addison-Wesley Professional; 2 edition (November 4, 2006)
  • Language: English
  • ISBN-10: 0672328844
  • ISBN-13: 978-0672328848
  • Product Dimensions: 9.1 x 7 x 2.1 inches
  • Shipping Weight: 2.6 pounds (View shipping rates and policies)
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (22 customer reviews)
  • Amazon.com Sales Rank: #118,446 in Books (See Bestsellers in Books)

More About the Author

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

Visit Amazon's Hal Edwin Fulton Page

Inside This Book (learn more)




What Do Customers Ultimately Buy After Viewing This Item?

The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (2nd Edition)
48% buy the item featured on this page:
The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (2nd Edition) 4.5 out of 5 stars (22)
$31.49
The Ruby Programming Language
23% buy
The Ruby Programming Language 5.0 out of 5 stars (30)
$26.39
Programming Ruby 1.9: The Pragmatic Programmers' Guide (Facets of Ruby)
10% buy
Programming Ruby 1.9: The Pragmatic Programmers' Guide (Facets of Ruby) 4.8 out of 5 stars (4)
$29.44
Beginning Ruby: From Novice to Professional, Second Edition
10% buy
Beginning Ruby: From Novice to Professional, Second Edition 4.9 out of 5 stars (31)
$26.39

Tags Customers Associate with This Product

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

Your tags: Add your first tag
 

 

Customer Reviews

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

 
43 of 46 people found the following review helpful:
5.0 out of 5 stars This is one of my favorite Ruby books, November 8, 2006
By Curt Hibbs (St. Louis, MO USA) - See all my reviews
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.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
15 of 15 people found the following review helpful:
4.0 out of 5 stars random access for someone already knowing Ruby, December 6, 2006
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.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
17 of 18 people found the following review helpful:
4.0 out of 5 stars A good choice for a second Ruby book..., December 24, 2006
By Thomas Duff "Duffbert" (Portland, OR United States) - See all my reviews
(TOP 50 REVIEWER)    (REAL NAME)    (VINE VOICE)   
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... :)
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

4.0 out of 5 stars Bulky but comprehensive
Quite good as reference, even if sometimes you can get the information faster by just googling it, often the book gives you a more reasoned explanation and better pointers to... Read more
Published 3 months ago by Leonardo Soto Munoz

2.0 out of 5 stars Not for everyone
If you want to learn or expand your knowledge and/or proficiency in Ruby as quickly as possible, this is NOT the book for you! Read more
Published 16 months ago by Torli Birnbauer

5.0 out of 5 stars Wow, what an incredible book and so many angles not usually covered!
I am thrilled by this book. So many books cover things like sockets without going into detail on important things like non-blocking I/O... which is what you usually need. Read more
Published 18 months ago by Donald S. Wilde

4.0 out of 5 stars A great reference point throughout your Ruby development lifetime
The Ruby Way

Ruby is best described as an object-oriented language, and is very similar to Smalltalk. Read more
Published 18 months ago by Christos Partsenidis

5.0 out of 5 stars Excellent
This book is very thorough and a pleasure to read- there are great code examples in it as well.
Published 19 months ago by James M. Schorr

4.0 out of 5 stars Good Book for beginners
It is an excellent book for people new to Ruby, or having previous background in ObjectOriented languages. It provides detailed write ups with working examples.
Published 21 months ago by S. khosa

4.0 out of 5 stars A great way to explore Ruby
This book can serve as a cookbook and also can double up as a ruby tutorial. Whenever i read a recipe, i'm pulled into at least 2 or 3 of the neighboring recipes too. Read more
Published 21 months ago by Srini

5.0 out of 5 stars An excellent language reference.
This book is an excellent reference on the Ruby language. I have this book, the pickaxe, and the cookbook. But the book I always turn to first is the ruby way. Read more
Published on February 25, 2008 by G. J. Weber

5.0 out of 5 stars Best Ruby book currently available
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. Read more
Published on January 26, 2008 by Thing with a hook

5.0 out of 5 stars This and "The Rails Way": Always-On-Your-Desk Books
It's a good book for learning the Ruby language, and at almost 800 pages it's one of those books that will usually be sitting nearby (next to the Pickaxe book).
Published on January 6, 2008 by Larry

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
 


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



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.