The Ruby Way: Solutions and Techniques in Ruby Programming (3rd Edition) (Addison-Wesley Professional Ruby)

3.91 avg rating
( 298 ratings by Goodreads )
 
9780321714633: The Ruby Way: Solutions and Techniques in Ruby Programming (3rd Edition) (Addison-Wesley Professional Ruby)

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

 

 

"synopsis" may belong to another edition of this title.

About the Author:

Hal Fulton first began using Ruby in 1999. In 2001, he started work on The Ruby Way, which was the second Ruby book published in English. Fulton was an attendee at the very first Ruby conference in 2001 and has presented at numerous other Ruby conferences on three continents, including the first European Ruby Conference in 2003. He holds two degrees in computer science from the University of Mississippi and taught computer science for four years. He has worked for more than 25 years with various forms of UNIX and Linux. He is now at Simpli.fi in Fort Worth, Texas, where he works primarily in Ruby.

 

André Arko first encountered Ruby as a student in 2004, and reading the first edition of this book helped him decide to pursue a career as a Ruby programmer. He is team lead of Bundler, the Ruby dependency manager, and has created or contributes to dozens of other open source projects. He works at Cloud City Development as a consultant providing team training and expertise on Ruby and Rails as well as developing web applications.

 

André enjoys sharing hard-won knowledge and experience with other developers, and has spoken at over a dozen Ruby conferences on four continents. He is a regular volunteer at RailsBridge and RailsGirls programming outreach events, and works to increase diversity and inclusiveness in both the Ruby community and technology as a field. He lives in San Francisco, California.

 

Review:

Praise for The Ruby Way, Third Edition

 

“Sticking to its tried and tested formula of cutting right to the techniques the modern day Rubyist needs to know, the latest edition of The Ruby Way keeps its strong reputation going for the latest generation of the Ruby language.”

 

Peter Cooper

Editor of Ruby Weekly

 

“The authors’ excellent work and meticulous attention to detail continues in this latest update; this book remains an outstanding reference for the beginning Ruby programmer– as well as the seasoned developer who needs a quick refresh on Ruby. Highly recommended for anyone interested in Ruby programming.”

 

Kelvin Meeks

Enterprise Architect

 

Praise for Previous Editions of The Ruby Way

 

“Among other things, this book excels at explaining metaprogramming, one of the most interesting aspects of Ruby. Many of the early ideas for Rails were inspired by the first edition, especially what is now Chapter 11. It puts you on a rollercoaster ride between ‘How could I use this?’ and ‘This is so cool!’ Once you get on that rollercoaster, there’s no turning back.”

 

David Heinemeier Hansson

Creator of Ruby on Rails,

Founder at Basecamp

 

“The appearance of the second edition of this classic book is an exciting event for Rubyists–and for lovers of superb technical writing in general. Hal Fulton brings a lively erudition and an engaging, lucid style to bear on a thorough and meticulously exact exposition of Ruby. You palpably feel the presence of a teacher who knows a tremendous amount and really wants to help you know it too.”

 

David Alan Black

Author of The Well-Grounded Rubyist

 

“This is an excellent resource for gaining insight into how and why Ruby works. Assomeone who has worked with Ruby for several years, I still found it full of new tricks and techniques. It’s accessible both as a straight read and as a reference that one can dip into and learn something new.”

 

Chet Hendrickson

Agile software pioneer

 

“Ruby’s a wonderful language–but sometimes you just want to get something done. Hal’s book gives you the solution and teaches a good bit about why that solution is good Ruby.”

 

Martin Fowler

Chief Scientist, ThoughtWorks

Author of Patterns of Enterprise Application Architecture

 

"About this title" may belong to another edition of this title.

Top Search Results from the AbeBooks Marketplace

1.

Fulton, Hal
Published by Pearson P T R (2015)
ISBN 10: 0321714636 ISBN 13: 9780321714633
New Quantity Available: 1
Seller:
Paperbackshop-US
(Wood Dale, IL, U.S.A.)
Rating
[?]

Book Description Pearson P T R, 2015. PAP. Book Condition: New. New Book. Shipped from US within 10 to 14 business days. Established seller since 2000. Bookseller Inventory # KB-9780321714633

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 27.19
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds

2.

Fulton, Hal
Published by Prentice Hall
ISBN 10: 0321714636 ISBN 13: 9780321714633
New Quantity Available: > 20
Seller:
INDOO
(Avenel, NJ, U.S.A.)
Rating
[?]

Book Description Prentice Hall. Book Condition: New. Brand New. Bookseller Inventory # 0321714636

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 31.26
Convert Currency

Add to Basket

Shipping: US$ 3.50
Within U.S.A.
Destination, Rates & Speeds

3.

Fulton, Hal; Arko, André
Published by Addison-Wesley Professional
ISBN 10: 0321714636 ISBN 13: 9780321714633
New PAPERBACK Quantity Available: 1
Seller:
Lakeside Books
(Benton Harbor, MI, U.S.A.)
Rating
[?]

Book Description Addison-Wesley Professional. PAPERBACK. Book Condition: New. 0321714636 Brand New! Not Overstocks or Low Quality Book Club Editions! Direct From the Publisher! We're not a giant, faceless warehouse organization! We're a small town bookstore that loves books and loves it's customers! Buy from us and you get great service as well as a great price! Your business is valued and your satisfaction is guaranteed!. Bookseller Inventory # OTF-S-9780321714633

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 36.22
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds

4.

Hal Fulton
ISBN 10: 0321714636 ISBN 13: 9780321714633
New Paperback Quantity Available: 1
Seller:
Grand Eagle Retail
(Wilmington, DE, U.S.A.)
Rating
[?]

Book Description Paperback. Book Condition: New. 3rd. Paperback. 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 Andre Arko have thoroughly updated this .Shipping may be from multiple locations in the US or from the UK, depending on stock availability. 816 pages. 1.246. Bookseller Inventory # 9780321714633

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 43.55
Convert Currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, Rates & Speeds

5.

Hal Fulton
Published by Addison-Wesley Professional
ISBN 10: 0321714636 ISBN 13: 9780321714633
New Paperback Quantity Available: 1
Seller:
BuySomeBooks
(Las Vegas, NV, U.S.A.)
Rating
[?]

Book Description Addison-Wesley Professional. Paperback. Book Condition: New. Paperback. 816 pages. Dimensions: 0.0in. x 0.0in. x 0.0in.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 IO, 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 This item ships from multiple locations. Your book may arrive from Roseburg,OR, La Vergne,TN. Paperback. Bookseller Inventory # 9780321714633

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 46.57
Convert Currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, Rates & Speeds

6.

Fulton, Hal
Published by Pearson Education (2015)
ISBN 10: 0321714636 ISBN 13: 9780321714633
New Quantity Available: 1
Seller:
Books2Anywhere
(Fairford, GLOS, United Kingdom)
Rating
[?]

Book Description Pearson Education, 2015. PAP. Book Condition: New. New Book. Shipped from UK in 4 to 14 days. Established seller since 2000. Bookseller Inventory # PB-9780321714633

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 34.93
Convert Currency

Add to Basket

Shipping: US$ 11.92
From United Kingdom to U.S.A.
Destination, Rates & Speeds

7.

Hal Fulton
Published by Addison Wesley
ISBN 10: 0321714636 ISBN 13: 9780321714633
New Paperback Quantity Available: 1
Seller:
THE SAINT BOOKSTORE
(Southport, United Kingdom)
Rating
[?]

Book Description Addison Wesley. Paperback. Book Condition: New. New copy - Usually dispatched within 2 working days. Bookseller Inventory # B9780321714633

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 40.30
Convert Currency

Add to Basket

Shipping: US$ 9.19
From United Kingdom to U.S.A.
Destination, Rates & Speeds

8.

Hal Fulton, André Arko
Published by Pearson Education 2015-03-12, Upper Saddle River, NJ (2015)
ISBN 10: 0321714636 ISBN 13: 9780321714633
New paperback Quantity Available: 1
Seller:
Blackwell's
(Oxford, OX, United Kingdom)
Rating
[?]

Book Description Pearson Education 2015-03-12, Upper Saddle River, NJ, 2015. paperback. Book Condition: New. Bookseller Inventory # 9780321714633

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 42.27
Convert Currency

Add to Basket

Shipping: US$ 7.95
From United Kingdom to U.S.A.
Destination, Rates & Speeds

9.

HalFulton; Arko André
Published by Addison Wesley (2015)
ISBN 10: 0321714636 ISBN 13: 9780321714633
New Softcover Quantity Available: 1
Seller:
Rating
[?]

Book Description Addison Wesley, 2015. Book Condition: New. Bookseller Inventory # TH9780321714633

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 48.11
Convert Currency

Add to Basket

Shipping: US$ 3.51
From Germany to U.S.A.
Destination, Rates & Speeds

10.

Hal Fulton; André Arko
Published by Addison-Wesley Professional (2015)
ISBN 10: 0321714636 ISBN 13: 9780321714633
New Paperback Quantity Available: 1
Seller:
Irish Booksellers
(Rumford, ME, U.S.A.)
Rating
[?]

Book Description Addison-Wesley Professional, 2015. Paperback. Book Condition: New. book. Bookseller Inventory # M0321714636

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 54.19
Convert Currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, Rates & Speeds

There are more copies of this book

View all search results for this book