Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
Chapter 1, "Ruby in Review", introduces the basics of the language. This is a must-read section for those who are new to Ruby.
Chapter 2, "Simple Data Tasks". Accomplishing various tasks with String, regular expression, Number, Time, and Date types is explained here. Don't let the "Simple" in the chapter's title mislead you, though
Chapter 5 deals with "OOP and Dynamicity in Ruby".
Chapter 6, "Graphical Interfaces for Ruby", covers the creation of GUIs using three GUI bindings: Tk, GTK, and Fox. It's a nice treatment but not an exhaustive treatment.
Chapter 9, "Network and Web Programming", covers a lot of ground: SMTP, threaded servers, mod_ruby, e_ruby, the CGI and FastCGI modules, Ruby-based HTTP servers, distributed Ruby (also called drb), and XML parsing. Several large case studies are presented, including a peer-to-peer chess server, a message board, and a distributed stock ticker simulation. While two XML parsers are presented (XMLParser and NQXML) the popular pure-Ruby REXML module is not covered here.
Downsides:
There are a few errors in the code so do check out the listed websites on the book for errata.
Would you recommend the product? yes | Price you paid?: None indicated | Rating: 9
Pros:
Nice flow and easy to understand language has been used.
Cons:
Some code snippets are wrong and some core issues have not been treated exhaustively.
The book is very good and is a must in your cupboard. Maybe you need to buya new cupboard 'cause this doesn't really fit in with the Harry Potter books.
Some core issues have not been given due importance but that can be understood as the book promises to deliver a lot, and does. The book deals with many wide aspects of Ruby and thus, some things have been missed out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.