Practical Ruby Projects and over one million other books are available for Amazon Kindle . Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime free trial required. Sign up when you check out. Learn more
More Buying Choices
Have one to sell? Sell yours here
or
Get a £0.25 Amazon.co.uk Gift Card
Practical Ruby Projects: Ideas for the Eclectic Programmer (Books for Professionals by Professionals)
 
 
Start reading Practical Ruby Projects on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Practical Ruby Projects: Ideas for the Eclectic Programmer (Books for Professionals by Professionals) [Paperback]

Topher Cyll

RRP: £35.49
Price: £30.17 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £5.32 (15%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Want guaranteed delivery by Thursday, May 31? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Kindle Edition £22.63  
Paperback £30.17  
Trade In this Item for up to £0.25
Get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade in Practical Ruby Projects: Ideas for the Eclectic Programmer (Books for Professionals by Professionals) for an Amazon.co.uk gift card of up to £0.25, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.

Frequently Bought Together

Practical Ruby Projects: Ideas for the Eclectic Programmer (Books for Professionals by Professionals) + Practical Reporting with Ruby and Rails (Expert's Voice in Open Source) + Beginning Ruby on Rails E-Commerce: From Novice to Professional
Price For All Three: £85.25

Show availability and delivery details

Buy the selected items together


Product details


Product Description

Product Description

Want to take Ruby to the limit? Looking for new, powerful, and creative ideas that will take Ruby beyond Rails and web programming? If you’re comfortable with Ruby, you’ll be itching to go further—apply Practical Ruby Projects: Ideas for the Eclectic Programmer and become a master of advanced Ruby techniques.

Rubyist Topher Cyll brings several imaginative projects to this book, ranging from making generative music, animations, and turn–based games to implementing simulations, algorithms, and even an implementation of Lisp!

Art, music, theory, and games—this book has it all. Best of all, it’s all done with Ruby.

Each chapter, in addition to making you say “Cool—I hadn’t thought of that before,” looks at solving tricky development problems, enforces best practices, and encourages creative thinking. You’ll be building your own exciting, imaginative ruby projects in no time.

  • Create imaginative and innovative Ruby programming projects.
  • Learn how to solve tricky development problems, be guided by best practices, and be inspired to think creatively.
  • Don’t waste time on the basics—it’s assumed you know the fundamentals of Ruby already.

What you’ll learn

  • How to set up Ruby on Windows, Mac OSX, and Linux
  • How to create UIs with RubyCocoa
  • How to create a Lisp implementation in Ruby
  • How to create generative music and turn–based adventure games in Ruby
  • How to model things and create algorithms in Ruby
  • Several more Ruby best practices and programming techniques that will save you hours of programming time

Who this book is for

This book is for anyone who has mastered the basics of Ruby and wants to learn advanced Ruby techniques.

Table of Contents

  1. Introduction
  2. Making Music with Ruby
  3. Animating Ruby
  4. 4 Pocket Change: Simulating Coin Systems with Ruby
  5. Turn-Based Strategy in Ruby
  6. RubyCocoa
  7. Genetic Algorithms in Ruby
  8. Implementing Lisp in Ruby
  9. Parsing in Ruby

About the Author

Topher Cyll is a software engineer and writer living in Cambridge, Massachusetts. He received his bachelor's degree in computer science from Williams College and works for a small Boston-area startup.

In reverse alphabetical order, he finds programming languages, music, Free Software, education, bioengineering, and beer terribly exciting.

Topher loves Ruby not only for the language itself, but also the light-hearted and intellectually curious community that surrounds it.


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(1)

Your tags: Add your first tag
 

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

There are no customer reviews yet on Amazon.co.uk.
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  5 reviews
12 of 13 people found the following review helpful
Finally a book for experienced Ruby developers 31 Jan 2008
By James Stewart - Published on Amazon.com
Format:Paperback
The past few years have seen the English-language Ruby book market explode. Before the phenomenal success of Rails it was perfectly possible to own every available title (and not use much storage space), but now that would be quite a challenge and lead to considerable redundancy. Having worked my way through quite a few Rails books of late, reading Practical Ruby Projects--a Ruby book that doesn't even mention web frameworks--was both a pleasant diversion and a highly illuminating experience.

Like the last volume I reviewed (Pro JavaScript Design Patterns), this book is unabashedly aimed at experienced programmers. There's a brief paragraph on "getting set up", but no detailed guide to obtaining the tools. Instead we dive right in to a sequence of projects that includes: making music (dipping into calling C code from ruby), animation, simulation, building a strategy game (and adding a RubyCocoa frontend), genetic algorithms, and even implementing lisp and parsers. Once again the "apress roadmap," a diagram intended to show how the skillsets in their different volumes build on one another, is misleading pitching this between "Beginning Ruby" and other volumes I've reviewed like Practical Ruby for System Administration and Pro Active Record. Don't believe it. Though there's little overlap in the material, this is a more advanced volume than either of those and readers should be prepared.

The pace of the book is measured and Topher Cyll does a good job of gradually building up the projects a step at a time. Along the way a variety of practices are demonstrated with many methods stubbed out for demonstration purposes before being filled in when they are needed, and considerable time spent on decoupling code. That latter piece is particularly in evidence in the chapters on building a turn-based strategy game and then developing a RubyCocoa front-end. Despite careful design early on further refactoring is needed to make it easy to apply the front-end and that process is carefully worked through.

Most of the book makes some use of existing libraries. The initial lisp chapter uses the sexp library and the subsequent section on writing a parse relies on rparsec. For the most part, however, use of the libraries is kept to a minimum, allowing for fairly self-contained code. Unit testing is largely ignored until the last chapter, where the need for tests when constructing a grammar/parser is explained and a test-first development model is encouraged. That works well to demonstrate the power of tests for complex (and often brittle) code.

This is not a book designed for public transport reading. Working through chapters on the bus I frequently found myself wanting to reach for my laptop to get a better grasp of how a piece of code worked. While the explanation is generally very good, with material of this complexity there is nothing like running the code and tweaking it to make sure you've understood exactly what each transformation does. It's a book to take your time over, so be prepared!

A few editorial errors have crept in, suggesting a re-organisation of the contents late in the day. In particular an early reference to s-expressions seemed to presume that the lisp and/or parsing chapters were featured early. That's not a big deal and will hopefully be corrected in later printings; the author does encourage skipping around within the book, but there is value in working through it roughly in order, and not just for the two "paired" chapters that explicitly build on one another.

Perhaps the most striking thing about this book is the reminder that even for those of us whose primary programming activity is web development, studying other areas can be extremely helpful. Not only is it helpful to see how other developers structure their code, but tools like genetic algorithms and parsers are likely to be very helpful where web applications require sophisticated processing and/or backend systems. And it never hurts to learn a little lisp. For the ruby developer who's comfortable with the language and wants to stretch out a little, this book would be an excellent investment.

Disclaimer: I was sent a copy of this book for review by the publisher.
13 of 15 people found the following review helpful
Best Ruby Book Since "The Ruby Way" 6 Jan 2008
By Giles D. Bowkett - Published on Amazon.com
Format:Paperback
Most Ruby books milk newbies jumping on the bandwagon for cash. This is a book for experienced Ruby programmers who want to be awesome Ruby programmers. The book of the book is all about parsing and shows you how to implement Lisp in Ruby; the first project is a compact, simple, powerful system for creating music in real time in Ruby. I'm using it to drive Propellerhead Reason from the command line and I'm on page 25. This is an absolutely excellent book. The best Ruby book I've seen in years. The only Ruby book I'd recommend to experts. This is the bomb book.
2 of 2 people found the following review helpful
Feet first and freewheeling 15 Dec 2008
By Ian Dees - Published on Amazon.com
Format:Paperback
The hands-on style of this book is contagious; you'll find yourself really wanting to jump in and try out the code samples. The source is available on Topher's site, but the simplicity and sense of immediacy are such that you may want to just start typing it in yourself. In a few minutes, you're making music or creating a game.

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges