Slashdot Mirror


Ruby Developer's Guide

Reader Cole Tucker writes with this review: "The Ruby Developer's Guide was written with the intent to provide an overview of Ruby tools used for developing real-world applications. The book touches on a variety of areas, from GUI development to neural networks, and discusses existing Ruby packages that developers can take advantage of. In the end, the book comes out as a Ruby version of the Perl Cookbook." To see what he means by that, read on below for the rest of Cole's assessment of this book. Ruby Developer's Guide author Robert Feldt, Lyle Johnson, and Michael Neuman pages 720 publisher Syngress rating 7 reviewer Cole Tucker ISBN 1-928994-64-4 summary Good introduction to Ruby -- an overview as well as a practical cookbook.

The writers of the book are very enthusiastic about both Ruby and the Ruby Application Archive (RAA), Ruby's response to CPAN. Overall, the text does a very good job demonstrating the base knowledge necessary for each of the libraries introduced and so can be quite useful to any developer with an understanding of core Ruby programming.

Directed towards programmers with a working knowledge of Ruby, the text is a quick read even with working through the examples. It effortlessly introduces the basic concepts of each package worked through and then gives locations where more in-depth information can be gathered. If you wish to work through any of the topics covered without digging through documentation just to obtain a basic grasp of the package, then this book is for you.

The book itself is a Syngress publication, and comes with a "1 year upgrade buyer protection plan" which seems to mean they have an errata page for the book and an "Ask the Author" section on the books website, along with a couple of other features mostly involving email. Looking at the errata page, it seems to be useful and up to date. The "Ask the Author" section also seemed to be fairly well-used by prior customers. Syngress seems to be serious about keeping customers up to date about the state of the book and providing services beyond that.

As for the book's problems, none of which are horrible, but do get old after a while: First, the book is big, and not completely because of content. The examples in the book span pages, and the text used in the source is a larger font that in the rest of the text. The examples also are full applications within themselves, instead of being presented in chunks and then having the full source available online. Another annoyance is each time the book mentions installing a package or library it goes through the whole "$./configure.rb; make; make install" process. The book also appears to have some organization issues, with notes for the text in the table of contents, which just served to irritate me. The final negative thing I noticed was that, though the text assumes programming knowledge of Ruby, the first chapter is dedicated to walking the reader through downloading and installing Ruby. The chapter is a big one too. So the book has a couple of hitches, mostly related to layout or mixed expectations towards the ability of the reader.

If you can deal with these small issues and are interested in the material covered, I can definitely recommend the Ruby Developer's Guide. The content is definitely there and they authors know their stuff.

Chapter List:

  1. Booting Ruby Discusses downloading and installing Ruby, IDE and editor support for Ruby and syntax stylings.

  2. GUI Toolkits for Ruby Covers use of Tk, GTK+, FOX and SWin GUI toolkits with a brush through on others available.

  3. Accessing Databases with Ruby Introduces the Ruby/DBI, Ruby/ODBC, Ruby/LDAp and Ruby DBM-file drivers.

  4. XML and Ruby Talks about the use of XML, including a basic introduction to it and then goes into parsing and creating XML using libraries from the RAA.

  5. Web Services and Distributed Ruby Goes into the libraries used for RPC's, SOAP and running distributed services with Ruby.

  6. WWW and Networking with Ruby Implements a server using high-level and low-level Ruby networking classes, then goes into using Ruby for the web, finishing up with a discussion of mod_ruby and eruby.

  7. Miscellaneous Libraries and Tools This chapter finishes the discussion centered around the RAA, going into graphics programming, data structures, genetic algorithms and other topics that didn't fit into a chapter of their own.

  8. Profiling and Performance Tuning Introduces the aspect of analyzing algorithms in Ruby, profiling your programs and discusses the advantages of similar Ruby constructs depending on what your focus is, with the intent of getting lean, mean programs.

  9. Parse Generators Discusses using Ruby instead of Bison or Yacc for creating a parser, and then goes into the advantages of various Ruby libraries to each other.

  10. Extending and Embedding Ruby Covers writing extensions to Ruby in C and C++ and later embedding Ruby into programs.

You can purchase the Ruby Developer's Guide from bn.com. Want to see your own review here? Just read the book review guidelines, then use Slashdot's handy submission form.

11 of 94 comments (clear)

  1. Does my fp apply by SeorMankypants · · Score: -1, Offtopic

    Will it stick?

    --
    ------------- El nino made me kick my neighbours dog
  2. C A K E by Anonymous Coward · · Score: -1, Offtopic

    Do you think she's swimming in your lies?
    Do you think it's all just murky green?
    Don't you think that she would realize?
    Yeah, do you think she has never seen?

    Cause when the seaweed sinks and the sun gets low,
    When the waves retire to the darkness below,
    I know, I know Ruby sees all.
    I know, I know Ruby sees.

    I can feel the pressure building high.
    You should see you're headed for a storm.
    Don't you see it building in the sky?
    Don't you think it's time to swim to shore?

    Cause when the seaweed sinks and the sun gets low,
    When the waves retire to the darkness below,
    I know, I know Ruby sees all.
    I know, I know Ruby sees all.
    I know, I know Ruby sees.

  3. WTF? by Anonymous Coward · · Score: 0, Offtopic

    What the hell is ruby? Just another IDE?

  4. Off topic? by Anonymous Coward · · Score: -1, Offtopic

    How the FUCK was that off topic tard boy?

    Gents, I do believe we have a dumbass in the ranks of slashdot. Also, to hell with this 20 second limit on entries, I type fast. Also, what the hell is up with this 2 minute hold until I can post again. Slashdot gets lamer by the month.

    PS: This message will most likely be removed by some ass of a moderator.

    1. Re:Off topic? by Anonymous Coward · · Score: -1, Offtopic

      Dude, that was some messed up shite! How can asking a question about the topic be off topic. Some mod needs his ops taken from him.

  5. imagine by Anonymous Coward · · Score: -1, Offtopic

    imagine a beowulf cluster of these

  6. So that's how it's done by Anonymous Coward · · Score: -1, Offtopic

    Man, the book reviews of late really suck. Write a paragraph, then write up the chapter list, throw in a link to Amazon, and boom. You're published.

  7. BUG-SPLAT! by Anonymous Coward · · Score: -1, Offtopic

    Rooby dum langueege. Why need I, when have commun lisp. Git bigg phat joosee bug lots of yellow green bug guts. Bug SPLAT on rooby, antennules legs and eyes plus yellow bug guts dripping and splattering.
    All bug supereeor to hooman.

    BUG-SPLAT!

  8. LUNIX SUCKS!!! LOLOLOLOLOLOLOLOLOLOLOLOLOL!!! by Anonymous Coward · · Score: -1, Offtopic

    LUNIX SUCKS!!!

    1. Re:LUNIX SUCKS!!! LOLOLOLOLOLOLOLOLOLOLOLOLOL!!! by Anonymous Coward · · Score: -1, Offtopic

      Hell yeah man, get the real deal, LINUX! Lunix is for loons and Windows users who are too etarded to know the diff.

  9. damn by Anonymous Coward · · Score: -1, Offtopic

    Damn, my plans foiled by some pesky kid.