The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (Addison-wesley Professional Ruby)

The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (Addison-wesley Professional Ruby)

by HalFulton (Author)

Synopsis

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 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

$3.47

Save:$38.05 (92%)

Quantity

1 in stock

More Information

Format: Paperback
Pages: 888
Edition: 2
Publisher: Addison Wesley
Published: 25 Oct 2006

ISBN 10: 0672328844
ISBN 13: 9780672328848
Book Overview:

Ruby is a modern, interpreted, programming language similar to Python and Perl, yet vastly superior to both in many ways. Today many people are suddenly becoming familiar with Ruby by adopting frameworks and applications originally written in Ruby, such as the Ruby on Rails web framework. While only a little bit of Ruby knowledge is necessary to utilize these frameworks, the more Ruby you learn the more capabilities you can achieve. Programming the Ruby Way is written for such developers. using real, well written, code examples Programming the Ruby Way provides solutions to specific tasks that developers need and often struggle with as they hone their Ruby programming skills.


Author Bio

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.