The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (2nd Edition) (Addison-Wesley Professional Ruby Series)

by Addison-Wesley Professional

$44.99
buy from amazon.com
Average Rating: * * * * half star
Sales Rank:74223 (lower is better)
Price Used:$23.00
Shipping:Free Shipping on most orders over $25*
Availability:Usually ships in 24 hours
Label:Addison-Wesley Professional
Pages:888
Binding:Paperback
Publication Date:2006-11-04
Published By:Addison-Wesley Professional
ASIN:0672328844
Category:Book

Authors

Editorial Reviews and Product Descriptions

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.

 

 

Customer Reviews

Wow, what an incredible book and so many angles not usually covered! - Reviewed on 2008-09-06
* * * * *

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. There's enough detail and especially sensible code to make it an excellent reference even thougn it covers many topics.

A real treasure, and very readable as well as insightful. I've still got a lot of material to cover, and I'm looking forward to every minute of it.
A great reference point throughout your Ruby development lifetime - Reviewed on 2008-08-30
* * * *

The Ruby Way

Ruby is best described as an object-oriented language, and is very similar to Smalltalk. Overall, the book is well written and contains useful examples throughout.

However, I feel the first point worth stating is that if you're new to Ruby then this book is not for you. Whilst it does cover Ruby in depth, it is aimed at the developer who has already mastered the basics of the Ruby language. Although readers who are familiar with Object orientated development may be able to grasp the concepts described in the first chapter, there are a number of alternative books that better suit the beginner.

That said, this is a highly comprehensive book. Each section is broken down into logical sections with detailed explanation and code examples, allowing the reader to develop code while they make their way through the book. Each chapter breaks down the core libraries into manageable sections starting with strings, regular expressions, time functions and progressing on to other, more complex areas such as threads, socket programming and distribution of code.

The book seems to lack depth in the basic areas of Ruby development, my main complaint being that structure and syntax are not covered sufficiently for the beginner. Some readers may be able to "read around" this subject, using tutorials or another beginner's guide, however, this defeats the point of buying a book that suggests it is suitable for beginners.

Section 1.5 (training your intuition) is, without a doubt, the section most readers will find beneficial. Providing an easy layout covering syntax issues, case conditions and a useful section relating to "rubyisms", such as differences between subclasses / inheritance and the "singleton" classes and iteration within Ruby. This section includes a vast amount of code examples allowing the user to flick straight to it in order to get real world examples.

Overall rating

I would recommend this book only if you were planning to purchase 2 or 3 beginner books. As an insight into the various libraries and books the book works very well, helping the user quickly grasp the concepts. Rating of this book needs to be performed from two perspectives: The "Ruby newbie" and "Ruby beginner".

Ruby Newbies

5/10: whilst most OOP developers would be able to pick up this book and use it to learn, newcomers would definitely find this hard going. I would recommend "Programming Ruby: The Pragmatic Programmer's Guide, Second Edition" for new developers and OOP developers with no Ruby exposure.

Ruby beginner

8/10: This book will serve as a good reference point throughout your Ruby development lifetime, and you will find yourself referring to it time and time again. Teaching you Ruby one concept at a time helps the beginner grasp the basics without having to delve into chapters of "Hello World" based applications.

Excellent - Reviewed on 2008-08-04
* * * * *

This book is very thorough and a pleasure to read- there are great code examples in it as well.
Good Book for beginners - Reviewed on 2008-06-17
* * * *

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.
A great way to explore Ruby - Reviewed on 2008-06-07
* * * *
1 customer found this review helpful.

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. There's a lot to know about Ruby and this book simplifies the learning, teaching/illustrating one concept at a time.
Read More Customer Reviews »
Go To Amazon Product Page

* - See Amazon Product Page for shipping and pricing details.


Book Subjects