Data Structures and Algorithms with Object-Oriented Design Patterns in Ruby

Sponsor Advertisement

  • Author: Bruno R. Preiss
  • Format: online HTML
  • Price: free

Create sound software designs with data structures that use modern object-oriented design patterns!

Author Bruno Preiss presents the fundamentals of data structures and algorithms from a modern, object-oriented perspective.

The text promotes object-oriented design using Ruby and illustrates the use of the latest object-oriented design patterns. Virtually all the data structures are discussed in the context of a single class hierarchy.

This framework clearly shows the relationships between data structures and illustrates how polymorphism and inheritance can be used effectively.

Continue reading

Objects on Rails

Sponsor Advertisement

  • Author: Avdi Grimm
  • Format: online HTML
  • Price: free

This is not a Rails tutorial. This is the complete text of Objects on Rails, a “developer’s notebook” documenting some guidelines, techniques, and ideas for applying classic object-oriented thought to Ruby on Rails applications. This book is aimed at the working Rails developer who is looking to grow and evolve Rails projects while keeping them flexible, maintainable, and robust. Using the development of a blog app as its example, the focus is on pragmatic solutions which tread a “middle way” between the expedience of the Rails “golden path”, and rigid OO purity.

Continue reading

Clever Algorithms: Nature-Inspired Programming Recipes

Sponsor Advertisement

  • Author: Jason Brownlee PhD
  • Format: online HTML
  • Price: free

The book describes 45 algorithms from the field of Artificial Intelligence. All algorithm descriptions are complete and consistent to ensure that they are accessible, usable and understandable by a wide audience.

This book provides a handbook of algorithmic recipes from the fields of Metaheuristics, Biologically Inspired Computation and Computational Intelligence that have been described in a complete, consistent, and centralized manner. These standardized descriptions were carefully designed to be accessible, usable, and understandable. Most of the algorithms described in this book were originally inspired by biological and natural systems, such as the adaptive capabilities of genetic evolution and the acquired immune system, and the foraging behaviors of birds, bees, ants and bacteria. An encyclopedic algorithm reference, this book is intended for research scientists, engineers, students, and interested amateurs. Each algorithm description provides a working code example in the Ruby Programming Language.

Continue reading

Learning Ruby

Sponsor Advertisement

 

  • Author: Daniel Carrera
  • Format: online HTML, archived HTML
  • Price: free

This beginner book on Ruby covers the fundamentals of writing a program and the fundamental concepts needed to perform any task.

Continue reading

Ruby Cookbook and Language Reference

Sponsor Advertisement

  • Author: Ryan Davis
  • Format: online HTML
  • Price: free

A language guide and reference, by Ryan Davis, The Language Freak. This was a work in progress and not fully completed. The author has since abandoned the project, but there may still be merit in listing this as an available free book, since some of his completed chapters may be of help to someone.

Continue reading

PLEAC-Ruby

Sponsor Advertisement

  • Author: PLEAC Project
  • Format: online HTML
  • Price: free

Following the Perl Cookbook spirit, the PLEAC Project aims to gather fans of programming, in order to implement the solutions in other programming languages.

In this book, you’ll find an implementation of the Solutions of the Perl Cookbook in the Ruby language.

Continue reading

Why’s Poignant Guide to Ruby

Sponsor Advertisement

  • Author: Why the Lucky Stiff
  • Format: online HTML, archived HTML, PDF
  • Price: free

A programming adventure for Ruby beginners illustrated with cartoon foxes.

Continue reading

Beginning Ruby: From Novice to Professional, Second Edition

Sponsor Advertisement

  • Author: Peter Cooper
  • Format: PDF (NOTE: Please read author’s full page before downloading)
  • Price: free

Beginning Ruby is a Ruby programming book aimed at newcomers to the language. It’s written in an instructional format and walks through basic programming concepts through to building Web apps, database apps, networking daemons, and GUI based apps. It’s well suited for someone new to programming as well as experienced developers who are just new to dynamic languages.

Continue reading

Mr. Neighborly’s Humble Little Ruby Book

Sponsor Advertisement

  • Author: Jeremy McAnally
  • Format: online HTML
  • Price: free

A book on Ruby programming, written in a style described as “a beautiful display of pragmatically chunky bacon, wrapped in a nutshell.” Or something like that.

Continue reading

Programming Ruby: The Pragmatic Programmer’s Guide

Sponsor Advertisement

  • Author: David Thomas and Andrew Hunt
  • Format: online HTML
  • Price: free

Ruby is an increasingly popular, fully object-oriented dynamic programming language, hailed by many practitioners as the finest and most useful language available today. When Ruby first burst onto the scene in the Western world, the Pragmatic Programmers were there with the definitive reference manual, Programming Ruby: The Pragmatic Programmer’s Guide.

In the Ruby community, this book is commonly known as “The PickAxe” because of the pickaxe on the cover.

The book is now in its fourth edition, and the complete first edition of this book is freely available under the Open Publication License v1.0,

Continue reading