InfoQ

Minibook

Mr. Neighborly's Humble Little Ruby Book

Posted by Jeremy McAnally on Jan 28, 2007 05:26 PM

Community
Ruby
Topics
Programming ,
Dynamic Languages
Tags
Language Features


Ruby has taken the programming world by storm.  With the slow decline of Java and the catalyst of Rails, it has risen to become one of the most popular programming languages, rising to #10 on the TIOBE index and winning their "Programming Language of the Year" award.

Mr. Neighborly's Humble Little Ruby Book is a book about this fine language, but it is not a language book per se.  It is perhaps best described as a mix between your favorite novel, your favorite Spanish textbook, and a Richard Simmons exercise video: it walks you through the very basics of working with Ruby, but by the end of it, you'll no doubt be
sweatin' it to the oldies.   It covers the base syntax of the language, including working with values, flow control, and object oriented programming, into some of the library functionality of Ruby, such as databases, web services, and string manipulation.

Expect this book to rock your world.  Or at least teach you a programming language.

144 pages, 6"x9"

Free download, buy the print version for $9.95

If you enjoyed reading the free downloadable version, please support the author as well as future InfoQ books by purchasing the print copy for only $9.95, or: Login to download this book FREE (PDF)

Table of contents


1 Welcome to Ruby
Basic Concepts of Ruby
Types in Ruby
Collections
Variables and the Like

2 Break it down now!
Methods
Blocks and Proc Objects
Modules
Files

3 Hustle and flow (control)
Conditionals
Loops
Exceptions

4 The System Beneath
Filesystem Interaction
Threads and Forks and Processes
Environment variables, command line
Win32 and Beyond

5 Looking Beyond Home
Networking and the Web
It's Like Distributed or Something...
Data my base, please!

6 It's a Library!
String Manipulation
Date/Time
Hashing and Cryptography
Unit testing

Appendix A Links and the Like
Appendix B High Performance Ruby with C/C++

Author Bio


Jeremy McAnally is a husband, developer, author, college student, and aspiring panda trainer who resides in Knoxville, TN with his wife.  He enjoys working with Rails, Ruby, and Indian food.  He recently penned this book and currently working on another book with Manning Publications titled Ruby in Practice.  You can find him at http://www.jeremymcanally.com/, which links to his projects and blogs.

Educational Content

Bindings, Platforms, and Innovation

This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.

Orchestrating Long Running Activities with JBoss / JBPM

This article explores the use of JBoss and jBPM to implement design solutions that effectively address the issue of orchestrating long running activities.

Neo4j - The Benefits of Graph Databases

This presentation covers the use of graph databases as an optimal solution for data that is difficult to fit in static tables, rapidly evolving data or data that has a lot of optional attributes.

Realistic about Risk: Software development with Real Options

This session introduces Real Options and shows how it can help in running your project. Real Options is a decision-making process that can be used to manage risk.

Communication Flexibility Using Bindings

This article discusses the use of bindings on services and references (including the instance of non-configured bindings) as the means to implement SCA communications in a Web and SOA environment.

Writing DSLs in Groovy

After a short introduction to DSLs, Scott Davis plays with the keyboard showing how to approach the creation of a DSL by typing working snippets of Groovy code that get executed.

Scaling Agile with C/ALM (Collaborative Application Lifecycle Management)

IBM Rational and InfoQ present, Scaling Agile with C/ALM, an eBook showing organizations how to become “finely tuned software delivery machines” by enabling team integration and scaling.

Concurrent Programming with Microsoft F#

Amanda Laucher presents a real life enterprise application written in F#. She shows actual code snippets, explaining design decisions and suggesting how to use some of the F# constructs.