InfoQ

Minibook

Mr. Neighborly's Humble Little Ruby Book

Posted by Jeremy McAnally on Jan 28, 2007

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

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.