Home > Store > Programming > Ruby

Ruby Way, The

  • By Hal Fulton
  • Published Dec 17, 2001 by Sams. Part of the Addison-Wesley Professional Ruby Series series.
    • Copyright 2002
    • Dimensions: 7-3/8" x 9-1/8"
    • Pages: 600
    • Edition: 1st
    • Book
    • ISBN-10: 0-672-32083-5
    • ISBN-13: 978-0-672-32083-5
    • eBook
    • ISBN-10: 0-7686-5878-0
    • ISBN-13: 978-0-7686-5878-1

Register your product to gain access to bonus material or receive a coupon.

  • Description
  • Downloads
  • Sample Content
  • Updates

The Ruby Way assumes that the reader is already familiar with the subject matter. Using many code samples it focuses on "how-to use Ruby" for specific applications, either as a stand-alone language, or in conjunction with other languages.

Topics covered include:

  • Simple data tasks;
  • Manipulating structured data;
  • External data manipulation;
  • User interfaces;
  • Handling threads;
  • System programming;
  • Network and web programming;
  • Tools and utilities.

Note: The appendices offer instruction on migrating from Perl and Python to Ruby, and extending Ruby in C and C++.

Downloads

Source code for the examples developed in the book for the Windows platform - 105 kb -- trw-src.zip
Source code for the examples developed in the book for Linux/UNIX platforms - 56 kb -- trw-src.tar.gz

Online Sample Chapter

Manipulating Structured Data in Ruby

Table of Contents



Introduction.


1. Ruby in Review.

Some Words on Object Orientation. Basic Ruby Syntax and Semantics. OOP in Ruby. Dynamic Aspects of Ruby. Training Your Intuition: Things to Remember.



2. Simple Data Tasks.

Strings. Regular Expressions. Numbers. Times and Dates. Summary.



3. Manipulating Structured Data.

Working with Arrays. Working with Hashes. Working with Stacks and Queues. Working with Trees. Working with Graphs. Summary.



4. External Data Manipulation.

Working with Files and Directories. Performing Higher-Level Data Access. Connecting to External Databases. Summary.



5. OOP and Dynamicity in Ruby.

Everyday OOP Tasks. More Advanced Techniques. Working in Advanced Programming Disciplines. Summary.



6. Graphical Interfaces for Ruby.

Ruby/Tk. Ruby/GTK. FX/Ruby (FOX). Other GUIs. Summary.



7. Ruby Threads.

Creating and Manipulating Threads. Synchronizing Threads. Summary.



8. Scripting and System Administration.

Running External Programs. Command-Line Options and Arguments. The Shell Library. Accessing Environment Variables. Scripting in Microsoft Windows. Working with Files, Directories, and Trees. Miscellaneous Scripting Tasks. Summary.



9. Network and Web Programming.

Network Servers. Network Clients. Ruby and the Web Server. Ruby and CGI Programming. Distributed Ruby. XML Parsing in Ruby. Summary.



Appendix A. From Perl to Ruby.


Appendix B. From Python to Ruby.


Appendix C. Tools and Utilities.


Appendix D. Resources on the Web (and Elsewhere).


Appendix E. What's New in Ruby 1.8.


Index.

Errata

Get Adobe Acrobat ReaderNote: You will need the Free Adobe Acrobat Reader to view the file(s) for the book. If you do not already have Acrobat installed on your machine, click the "Get Acrobat Reader" button to download and install.


Click on the links below to display the PDF file in a new window. Right-click on the link and select Save As if you want to download it to your hard drive.

0672320835errata.pdf (46 KB)

 
Best Value

Book + eBook Bundle  $71.98  $47.19

Book Price: $35.99
eBook Price: $11.20

Add To Cart

This book includes Instant Online Access with Safari and free shipping!

Instant Online Access with Safari Books Online

With your book purchase you are entitled to free, instant online access to that book on Safari Books Online for 45 days. After you've completed your purchase, you will receive instructions on how to log into Safari Books Online. If you do not want to receive online access to the book, simply uncheck the box for Instant Online Access in your cart.

Add To Cart

Book  $39.99  $35.99

Usually ships in 24 hours.

This book includes Instant Online Access with Safari and free shipping!

Instant Online Access with Safari Books Online

With your book purchase you are entitled to free, instant online access to that book on Safari Books Online for 45 days. After you've completed your purchase, you will receive instructions on how to log into Safari Books Online. If you do not want to receive online access to the book, simply uncheck the box for Instant Online Access in your cart.

Add To Cart

eBook  $31.99  $28.79

About this eBook

Requires the free Adobe® Reader® software.

Download after purchase.

Information Before downloading this DRM-encrypted Adobe® Reader® PDF file, be sure to:


  • Install Adobe Reader 6.x, 7.x, or the free Adobe Digital Editions software on your machine. Adobe Reader and Adobe Digital Editions software only works for Macintosh and Windows. The Linux and Unix versions of Adobe Reader do not have the plug-ins required to decrypt the eBook.
  • Activate the DRM through the Adobe Reader software or at Adobe's DRM Activator site.
  • Follow the procedures as specified by Adobe.
  • Visit our eBook FAQ page for more information.

Also available in other formats.

Safari Books Online

What is this?

Online access to books, videos, and tutorials from Addison Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media and others - starting as low as $22.99. Learn more and start a free trial.

Start Reading Online
Informit Network