Wattle Software - producers of XMLwriter XML editor
 Bookstore Home | XMLwriter Home | Search | Site Map 
XML Related
 General XML
 XSLT & Stylesheets
 XHTML
 SGML
 XML DTDs
 XML Schema
Web Development
 Web Graphics
 HTML
 Dynamic HTML
Web Services
 General Web Services
 UDDI
 SOAP
 WSDL
 Programming/Scripting 
 PHP Programming
 Perl Programming
 Active Server Pages
 Java Server Pages
 JavaScript
 VBScript
 .NET Programming
 
XMLwriter
 About XMLwriter
 Download XMLwriter
 Buy XMLwriter
XML Resources
 XML Links
 XML Training
 The XML Guide
 XML Book Samples
 

Learning Ruby (Learning)


By Michael Fitzgerald
 
Image of: Learning Ruby (Learning)
Pricing Details:

List Price:$34.99
You save:$11.90 (34%)
Your Price:$23.09
Buy Now

Book Details:

Format:Paperback, 275 pages.
Publisher:O'Reilly Media, Inc. 2007-05-14
ISBN:0596529864

Average Customer Rating:

3.5 3.5 out of 5 stars (16 reviews)

Editorial Reviews:

You don't have to know everything about a car to drive one, and you don't need to know everything about Ruby to start programming with it. Written for both experienced and new programmers alike, Learning Ruby is a just-get-in-and-drive book -- a hands-on tutorial that offers lots of Ruby programs and lets you know how and why they work, just enough to get you rolling down the road.

Interest in Ruby stems from the popularity of Rails, the web development framework that's attracting new devotees and refugees from Java and PHP. But there are plenty of other uses for this versatile language. The best way to learn is to just try the code! You'll find examples on nearly every page of this book that you can imitate and hack. Briefly, this book:
  • Outlines many of the most important features of Ruby
  • Demonstrates how to use conditionals, and how to manipulate strings in Ruby. Includes a section on regular expressions
  • Describes how to use operators, basic math, functions from the Math module, rational numbers, etc.
  • Talks you through Ruby arrays, and demonstrates hashes in detail
  • Explains how to process files with Ruby
  • Discusses Ruby classes and modules (mixins) in detail, including a brief introduction to object-oriented programming (OOP)
  • Introduces processing XML, the Tk toolkit, RubyGems, reflection, RDoc, embedded Ruby, metaprogramming, exception handling, and other topics
  • Acquaints you with some of the essentials of Rails, and includes a short Rails tutorial.
Each chapter concludes with a set of review questions, and appendices provide you with a glossary of terms related to Ruby programming, plus reference material from the book in one convenient location. If you want to take Ruby out for a drive, Learning Ruby holds the keys.


Customer Reviews:

Displaying 6 to 10 of 16 total reviews (Page 2 of 4):

4 out of 5 stars Should be titled: Learning Ruby *Fast*

Michael Fitzgerald directs his book "Learning Ruby" to two audiences:

* "experienced programmers who want to learn Ruby"

For this audience, the book excels. The author suggests that experienced programmers "read the code, skim the explanations as needed". Ruby syntax is very readable, so this works very well. An experienced programmer could learn Ruby in about a day using this technique. You won't know every intricacy of the Ruby language, but you'll know enough to start reading and writing in the real world and where to look for more information.

* "new programmers who want to learn to program"

I think most new programmers would be comfortable with more explanation than this book provides. However, the examples are small, and with some hands-on using Ruby's interactive interpreter (irb) it might work for some.

Following the introduction to the Ruby language, the author includes:

More Fun with Ruby - a mixture of topics including sprintf (for formatting strings), XML handling libraries, RubyGems (a package utility for Ruby that provides access to a repository of re-usable libraries), rDoc (the Ruby documentation generator) and a light introduction to some other advanced topics.

A Short Guide to Ruby on Rails - a nice introduction, followed by a short tutorial.

A Ruby Reference.

A glossary of Ruby terms.

Throughout the book, the author points out planned additions to version 1.9 of the Ruby language. Those changes would not make this book obsolete.

2 out of 5 stars not so complete

for some important feature of Ruby, it doesn't even have a complete coverage of it. For example, when it talks about "yield" in an iterator, which is a really important feature in Ruby, it never even mentioned yielding a value to the block. it only talks about yielding but not yielding a value. and then the index of the book doesn't have an entry for "iterator" either...

other examples in the book is not very explanatory either. for example, when it talks about variable length parameter, it cares about formatting the output rather than just showing the plain array structure of the passed in value.

more update: when it talks about inheritance, it doesn't even mention the method super()... it is a very important call to make, yet it doesn't talk about it. in its brief example, it says Address can inherit from Name. Now, Name is a class that has first name and last name property. Address doesn't. Is an Address object supposed to have last name and first name values? It is a mix up of classes' properties. It is more accurate that Name and Address can both inherit from the String class, but not one from the other. Otherwise, what about when you have phone number? Have a PhoneNumber class that inherits from the Name again?

1 out of 5 stars Waste of time (and moola)

If you looking for a nice quick intro like 'Learning Perl' - forget it! The book is clearly mistitled. Should be called 'Ruby beginner hacks'. I don't need to know thousand of ways to print something or learn 'another cool Ruby hack'! Please! Beginner needs to know only essentials to get the job done, the rest will come from practice. Questions at the end are really odd, I was expecting at least a couple of good coding exercises.

1 out of 5 stars THIS IN NOT THE BOOK TO LEARN RUBY

Learning Ruby should be high on your `must avoid' list of Ruby texts. This book is a tree-killer and a money-maker for the author and the publisher. The most noteworthy feature of the entire book is in the colophon detailing the sexual habits of the giraffe; you'll just have to get the book to find out what I'm alluding to.

For the most part, the book could easily have been condensed to no more than 10 pages of lists of elements of the Ruby lexicon. The seasoned developer will be extremely frustrated after having invested time and money with very little to show for his/her expenditure. For the novice, general confusion is the best that can be expected.

I am just climbing the Ruby learning curve and cannot make a recommendation as to a better text for a Ruby neophyte; what I can say is `Learning Ruby' is definitely NOT the text. Save your money and look elsewhere.

5 out of 5 stars A great Ruby learning tool

Having never been exposed to Ruby I decided on this book to begin learning the language. At first glance this book isn't a big overwhelming manual as is obvious from the number of pages, but rather a very achievable read that covers the necessary topics of learning a language.

The author starts out by discussing some basic commands, and an overview of the book. This first chapter also includes information on how to get and install Ruby on various operation systems.

By the second chapter the author is giving an overview of the Ruby language that gives the reader some idea of what to expect. And then its off to learning the syntax much as you would expect when learning any language.

For the curious the chapter subjects continue as follows. Conditional statements, strings, math, arrays, hashes, files, classes, more fun with Ruby (covers things like XML, Tk, RubyGems and Rdoc), and finishes up with a brief introduction to Ruby on Rails. The author also includes a great Ruby Reference as an appendix.

CONCLUSION
--
This is a simple book that does a great job of explaining to the reader the basics about Ruby. I liked this book and would recommend this book to those looking to learn Ruby or as a reference.

More Customer Reviews:
Previous Page Next Page


Customers who bought this book were also interested in:


Ruby on Rails: Up and Running


Ruby Cookbook (Cookbooks (O'Reilly))


The Ruby Programming Language


Agile Web Development with Rails, 2nd Edition


Rails Cookbook (Cookbooks (O'Reilly))

 

Find similar books by category...


Search for more:

Search books:  



Google
 
Web XMLwriter.net




Last updated: Wed Nov 19 7:17:30 CST 2008
© Wattle Software 2007. All rights reserved.