| help | account  


Ruby by Example: Concepts and Code
View Larger Image
Kevin C. Baird
No Starch, Paperback, Published June 2007, 312 pages, ISBN 1593271484
List Price: $29.95
Our Price: $17.95
You Save: $12.00 (40% Off)


FREE Shipping on Orders over $40!*
Availability: Out-Of-Stock

Be the First to Write a Review and tell the world about this title!

People who purchase this book frequently purchase:

Books on similar topics, in best-seller order:Books from the same publisher, in best-seller order:

There may be no better way to learn how to program than by dissecting real, representative examples written in your language of choice. Ruby by Example analyzes a series of Ruby scripts, examining how the code works, explaining the concepts it illustrates, and showing how to modify it to suit your needs. Baird's examples demonstrate key features of the language (such as inheritance, encapsulation, higher-order functions, and recursion), while simultaneously solving difficult problems (such as validating XML, creating a bilingual program, and creating command-line interfaces). Each chapter builds upon the previous, and each key concept is highlighted in the margin to make it easier for you to navigate the book.

You'll learn how to:

  • Use the interactive Ruby shell (irb) to learn key features of the language
  • Extend Ruby using RubyGems, the Ruby package manager
  • Create numerical utilities, as well as utilities that process and analyze HTML/XML
  • Implement purely functional and metaprogramming techniques to save time and effort
  • Optimize, profile, and test your code to make sure that it not only does its job, but does it well
  • Create web applications using Rails

Ruby is the fastest growing programming language today, and for good reason: Its elegant syntax and readable code make for prolific and happy programmers. But it can be difficult to understand and implement without a little help. Ruby by Example shows you how to take advantage of Ruby as you explore Ruby's fundamental concepts in action.

 

Table of Contents

Introduction: What is Ruby?
Chapter 1: Interactive Ruby and the Ruby Environment
Chapter 2: Amusements and Simple Utilities
Chapter 3: Programmer Utilities
Chapter 4: Text Manipulation
Chapter 5: Number Utilities
Chapter 6: Functionalism with Blocks and Procs
Chapter 7: Using, Optimizing, and Testing Functional Techniques
Chapter 8: HTML and XML Tools
Chapter 9: More Complex Utilities and Tricks Part I
Chapter 10: More Complex Utilities and Tricks Part II
Chapter 11: CGI and the Web
Chapter12: RubyGems and Rails Preparation
Chapter 13: A Simple Rails Project
Appendix: How Does Ruby Compare to Other Languages?
Index

 

About the Author

Kevin C. Baird received his Ph.D. from the State University of New York at Buffalo. He originally wrote his dissertation in Python but rewrote the project after discovering Ruby, and he hasn't looked back since. He has presented at RubyConf and written articles for Linux Journal, Music & Computers magazine, and the New Interfaces for Musical Expression conference proceedings.




Forgot your password?
FAQs
Shipping Options
Returns
Your Orders
Your Account