Book Review - Everyday Scripting With Ruby: For Teams, Testers And You by Brian Marick

Part of: The RAM Review

Everyday Scripting With Ruby is a book that is geared toward the computer user who is not afraid to scale new heights to try to improve their skills. The premise is that people who use computers routinely do many repetitive tasks that would be better offloaded for a computer to do. Often they think that programming it themselves is too hard, and they cannot justify hiring someone to write a program to handle their menial tasks. Using the Ruby language, anyone who is comfortable with a computer can now learn automate these tasks with a little training.

Ruby is an object-oriented scripting language that originated from Japan. It takes some of the best features from some of the best languages and combines them to make a simple and easy to use yet powerful system for processing tasks. It is freely available as open source software and is available on many platforms including Windows, Mac OS X and Linux.

Everyday Scripting With Ruby targets three audiences. First the "Tester," the person who is involved with the development of software but thinks that programming is too hard. The second target audience is the "Analyst" or someone who manipulates a lot of data. With Ruby scripts, they can automate mundane tasks and free up more time for more rewarding things. Finally, this book is for the programmer who hates to use complex programming languages to accomplish these smaller tasks.

The book is divided into an introduction and five sections. The introduction and getting started section is an overview of what will be accomplished and the best method for success. It will also provides assistance for installing Ruby on a computer and making sure that everything is running correctly. The next sections build four separate projects with the purpose of enhancing the reader's skills and building his or her knowledge of Ruby.

"The Basics" is a project that will teach the reader how to create a system to compare two text file "inventories." The reader is given an old file and then needs to create a new file. The goal is to create a dynamic script, that when run, will note changes in the two files. While the program is somewhat trivial, it teaches a lot of important concepts within the Ruby language without getting bogged down on a complex project. The techniques would be handy for automatically comparing differences in many other files such as logs.

Continued on the next page Page 1 — Page 2

Article tags

Spread the word
Bookmark and Share
Profile image for t-michael-testi

Article Author: T. Michael Testi

T. Michael Testi is a writer and a photographer out of Edmond Oklahoma. You can see his photographic and art work at T Michael Imaging.

Visit T. Michael Testi's author pageT. Michael Testi's Blog

Read comments on this article, and add some feedback of your own
  • No image found
  • No image found
  • No image found

Article comments

Add your comment, speak your mind

Personal attacks are NOT allowed.
Please read our comment policy.
Please preview your comment.

blogcritics lists for May 27, 2012

fresh articles Most recent articles site-wide

fresh comments Most recent comments site-wide

most comments Most comments in 24hrs

top writers Most prolific Blogcritics for April

top commenters Most prolific Commenters in 24 hrs