Skip to content
Scan a barcode
Scan
Paperback The Ruby Way: Solutions and Techniques in Ruby Programming Book

ISBN: 0321714636

ISBN13: 9780321714633

The Ruby Way: Solutions and Techniques in Ruby Programming

(Part of the Addison-Wesley Professional Ruby Series Series)

Select Format

Select Condition ThriftBooks Help Icon

Recommended

Format: Paperback

Condition: Good

$7.89
Save $42.10!
List Price $49.99
Almost Gone, Only 2 Left!

Book Overview

For more than a decade, Ruby developers have turned to The Ruby Way for reliable "how-to" guidance on effective Ruby programming. Now, Hal Fulton and Andr? Arko have thoroughly updated this classic guide to cover new language enhancements and developers' experiences through Ruby 2.1.

The new edition illuminates Ruby 2.1 through 400+ examples, each answering the question: "How do I do this in Ruby?" For each example, they present both a task description and realistic technical constraints. Next, they walk step-by-step through presenting one good solution, offering detailed explanations to promote deeper understanding.

Conveniently organized by topic, The Ruby Way, Third Edition makes it easier than ever to find the specific solution you want--and to write better code by reflecting Ruby's unique philosophy and spirit.

Coverage includes

Ruby 2.1 overview: terminology, philosophy, and basic principles Best practices for strings and regular expressions Efficiently internationalizing your code Performing calculations (including trigonometry, calculus, statistics, and time/date calculations) Working with "Rubyesque" objects such as symbols and ranges Using arrays, hashes, stacks, queues, trees, graphs, and other data structures Efficiently storing data with YAML, JSON, and SQLite3 Leveraging object-oriented and dynamic features, from multiple constructors to program inspection Building GUIs with Shoes 4, Ruby/Tk, Ruby/GTK3, QtRuby, and other toolkits Improving thread performance by understanding Ruby's synchronization methods and avoiding its pitfalls Automating system administration with Ruby Data formats: JSON, XML, RSS, Atom, RMagick, PDF, and more Testing and debugging with RSpec, Minitest, Cucumber, byebug, and pry Measuring Ruby program performance Packaging and distributing code, and managing dependencies with Bundler Network programming: clients, time servers, POP, SMTP, IMAP, Open-URI Web applications: HTTP servers, Rails, Sinatra, HTML generation, and more Writing distributed Ruby software with drb Choosing modern development tools that maximize your productivity

All source code for this book may be downloaded at www.rubyhacker.com.

informit.com/aw

informit.com/ruby

rubyhacker.com/therubyway

therubyway.io

Customer Reviews

4 ratings

Why You'll Love This Book

This book is a bit more advanced than the "Dave & Andy" book(Programming Ruby), but is well worth getting, whether as your first or second Ruby book. I has an amazing collection of simple but extremely useful "How to do (your common algorithm here)" pages that are a godsend to intermediate programmers like me. It also has a wealth of insight into advanced and esoteric language aspects. As a scientist, I really appreciated the author's objective and deep analysis of language topics. This is one of the best language books I've ever bought. If you're not comfortable reading about OO language topics, or if you're fairly new to computer languages in general, consider buying the "Programming Ruby" book as well, or instead. It's a more gentle introduction, and a great book, too.

Call it: How to apply Ruby

I had previously read the fine book: Programming Ruby by David Thomas and Andrew Hunt, but didn't learn enough that I could apply Ruby without a struggle. This book flattened the learning curve just enough that it made writing useful Ruby code fun. The examples are excellent. The writing is clear. If you want to learn Ruby buy this book.

A very good book

This book is very good. It covers a lot of important and interesting topics like Ruby's OOP featurs, Gtk+, Fox, Threads, Network Programming and more. The Text is easy to follow and the examples are also easy to understand. Most of the stuff is presented in a "How do I XYZ" manner which makes the book ideal for looking up all the things a Ruby programmer needs while working with this wonderful programming language. In my opionon a must have for any Ruby Fan.

Actually, it's a Ruby Cookbook

The Ruby Way is actually more of a cookbook, containing numerous code examples for using Ruby to accomplish little tasks, and so highlighting the features and capabilities of the language. As the author points out, this is not a book for the absolute beginner, although folks who have some scripting experience and an awareness of the object-orientedness of Ruby (and know what that means) will be able to figure alot out just by reading the code examples.In such a large volume, Fulton is able to explore subjects at greater depth than some of the other Ruby books. He discusses object persistence, code that can introspectively examine it's own execution, Ruby and GUIs and even small chapters for Perl and Python users. This book helps the new Ruby scripters to become more comfortable with solving problems using Ruby's strengths.
Copyright © 2025 Thriftbooks.com Terms of Use | Privacy Policy | Do Not Sell/Share My Personal Information | Cookie Policy | Cookie Preferences | Accessibility Statement
ThriftBooks ® and the ThriftBooks ® logo are registered trademarks of Thrift Books Global, LLC
GoDaddy Verified and Secured