By Hal Fulton

Ruby is an agile object-oriented language, borrowing the superior positive aspects from LISP, Smalltalk, Perl, CLU, and different languages. Its attractiveness has grown drastically within the 5 years because the first variation of this publication.   The Ruby manner takes a “how-to” method of Ruby programming with the majority of the fabric which include greater than four hundred examples prepared by means of subject. each one instance solutions the query “How do I do that in Ruby?” operating in addition to the writer, you're awarded with the duty description and a dialogue of the technical constraints. this is often by means of a step by step presentation of 1 reliable resolution. alongside the best way, the writer presents distinct observation and motives to help your realizing.   insurance contains   •    an summary of Ruby, explaining terminology and easy ideas •    Operations on low-level facts forms (numbers, strings, common expressions, dates) •    the recent general expression engine (Oniguruma) •    Internationalization (I18N) and message catalogs in Ruby •    Operations on hashes, arrays, and different info buildings akin to stacks, bushes, and graphs •    operating with normal I/O, documents, and chronic gadgets •    Database insurance together with MySQL, SQLite, Oracle, DBI, and extra •    Ruby-specific innovations in OOP and dynamic programming •    Graphical interfaces in Ruby (Tk, GTK+, Fox, and Qt) •    operating with Ruby threads for light-weight multitasking •    daily scripting and approach management in Ruby •    operating with picture documents, PDFs, YAML, XML, RSS, and Atom •    trying out, debugging, profiling, and packaging Ruby code •    Low-level community programming and client-server interplay •    net improvement instruments together with Rails, Nitro, Wee, IOWA, and extra •    operating with allotted Ruby, Rinda, and Ring •    Ruby improvement instruments comparable to IDEs, documentation instruments, and extra   The resource code for the e-book may be downloaded from     Hal Fulton has labored for over 15 years with variousforms of Unix, together with AIX, Solaris, and Linux. He used to be first uncovered to Ruby in 1999, and in 2001 he all started paintings at the first variation of this book–the moment Ruby booklet released within the English language. He has attendednumerous Ruby meetings and has given displays at a number of of these, together with the 1st ecu Ruby Conference.    He has levels in laptop technological know-how from the collage of Mississippi and taught laptop technological know-how for 4 years sooner than relocating to Austin, Texas to paintings as a contractor for variouscompanies, together with IBM Austin.  Hal at present works at Broadwing Communications in Austin, Texas, retaining a wide information warehouse and comparable telecom purposes, operating day-by-day with C++, Oracle, and, after all, Ruby.    

Show description

Read Online or Download The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (2nd Edition) PDF

Similar object-oriented software design books

Java & XML: Solutions to Real-World Problems

With the XML ''buzz'' nonetheless dominating speak between web builders, there is a genuine have to the right way to minimize during the hype and positioned XML to paintings. Java & XML indicates how one can use the APIs, instruments, and methods of XML to construct real-world purposes. the result's code and knowledge which are transportable. This moment version provides chapters on complicated SAX and complicated DOM, new chapters on cleaning soap and knowledge binding, and new examples all through.

Data Structures for Computational Statistics

Because the starting of the seventies computing device is accessible to exploit programmable pcs for varied initiatives. through the nineties the has built from the large major frames to non-public workstations. these days it's not basically the that is even more strong, yet workstations can do even more paintings than a major body, in comparison to the seventies.

Object-Oriented Analysis, Design and Implementation: An Integrated Approach

The second one version of this textbook contains revisions according to the suggestions at the first variation. In a brand new bankruptcy the authors supply a concise advent to the rest of UML diagrams, adopting an analogous holistic procedure because the first variation. utilizing a case-study-based procedure for supplying a finished creation to the rules of object-oriented layout, it includes:A sound footing on object-oriented suggestions resembling sessions, gadgets, interfaces, inheritance, polymorphism, dynamic linking, and so on.

Extra resources for The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (2nd Edition)

Sample text

A language is both a toolbox and a playground; it has a practical side, but it also serves as a test bed for new ideas that may or may not be widely accepted by the computing community. One of the most far-reaching of these ideas is the concept of object-oriented programming (OOP). Although many would argue that the overall significance of OOP is evolutionary rather than revolutionary, no one can say that it has not had an impact on the industry. Twenty-five years ago, object orientation was for the most part an academic curiosity; today it is a universally accepted paradigm.

When computers became smaller and cheaper, high-level languages also became more popular. These were inefficient from the computer's point of view but efficient from the human perspective. Ruby is simply a later development in this line of thought. Some, in fact, have called it a VHLL (Very High-Level Language); though this term is not well-defined, I think its use is justified here. The computer is supposed to be the servant, not the master, and, as Matz has said, a smart servant should do a complex task with a few short commands.

After all, Ruby is highly dynamic and extensible. There might be reasons that the two levels should differ here and there, probably for accommodating to the inconvenience of the real world. But in general, the thought processes can and should be the same. Ruby could be implemented in Ruby, in true Hofstadter-like fashion, 37 38 though it is not at the time of this writing. We don't often think of the etymology of the word way; but there are two important senses in which it is used. On the one hand, it means a method or technique, but it can also mean a road or path.

Download PDF sample

Rated 4.16 of 5 – based on 48 votes