Ruby Cookbook [NOOK Book]

Overview

Do you want to push Ruby to its limits? The Ruby Cookbook is the most comprehensive problem-solving guide to today's hottest programming language. It gives you hundreds of solutions to real-world problems, with clear explanations and thousands of lines of code you can use in your own projects.

From data structures and algorithms, to integration with cutting-edge technologies,...

See more details below
Ruby Cookbook

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$22.99
BN.com price
(Save 42%)$39.99 List Price

Overview

Do you want to push Ruby to its limits? The Ruby Cookbook is the most comprehensive problem-solving guide to today's hottest programming language. It gives you hundreds of solutions to real-world problems, with clear explanations and thousands of lines of code you can use in your own projects.

From data structures and algorithms, to integration with cutting-edge technologies, the Ruby Cookbook has something for every programmer. Beginners and advanced Rubyists alike will learn how to program with:

  • Strings and numbers
  • Arrays and hashes
  • Classes, modules, and namespaces
  • Reflection and metaprogramming
  • XML and HTML processing
  • Ruby on Rails (including Ajax integration)
  • Databases
  • Graphics
  • Internet services like email, SSH, and BitTorrent
  • Web services
  • Multitasking
  • Graphical and terminal interfaces



If you need to write a web application, this book shows you how to get started with Rails. If you're a system administrator who needs to rename thousands of files, you'll see how to use Ruby for this and other everyday tasks. You'll learn how to read and write Excel spreadsheets, classify text with Bayesian filters, and create PDF files. We've even included a few silly tricks that were too cool to leave out, like how to blink the lights on your keyboard.

The Ruby Cookbook is the most useful book yet written about Ruby. When you need to solve a problem, don't reinvent the wheel: look it up in the Cookbook.

With the introduction of Ruby on Rails, the Ruby scripting language has been a rising star among programmers over the past year. This new book covers all aspects of the language, from the basics to more advanced issues, so that programmers of any level can learn by example and improve their skills.

Read More Show Less

Product Details

  • ISBN-13: 9780596554576
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 7/19/2006
  • Series: Cookbooks (O'Reilly)
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 910
  • Sales rank: 352,838
  • File size: 6 MB

Meet the Author

Lucas Carlson is a professional Ruby programmer who specializes in Rails web development. He has authored a half dozen libraries and contributed to many others, including Rails and RedCloth. He lives in Portland, Oregon and maintains a website at http://rufy.com/.

Leonard Richardson has been programming since he was eight years old. Recently, the quality of his code has improved somewhat. He is responsible for libraries in many languages, including Rubyful Soup. A California native, he now works in New York and maintains a website at http://www.crummy.com/.

Read More Show Less

Table of Contents

1 Strings 1
2 Numbers 39
3 Date and time 87
4 Arrays 123
5 Hashes 159
6 Files and directories 187
7 Code blocks and iteration 237
8 Objects and classes 267
9 Modules and namespaces 315
10 Reflection and metaprogramming 333
11 XML and HTML 371
12 Graphics and other file formats 409
13 Databases and persistence 447
14 Internet services 499
15 Web development : Ruby on Rails 555
16 Web services and distributed programming 616
17 Testing, debugging, optimizing, and documenting 661
18 Packaging and distributing software 701
19 Automating tasks with rake 723
20 Multitasking and multithreading 745
21 User interface 773
22 Extending Ruby with other languages 817
23 System administration 833
Read More Show Less

Customer Reviews

Average Rating 5
( 3 )
Rating Distribution

5 Star

(3)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 3 Customer Reviews
  • Posted February 5, 2009

    Great Cookbook

    Published by acclaimed authors Lucas Carlson and Leonard Richardson, The Ruby Cookbook is an excellent learning tool and reference manual. It is organized into 23 chapters delineating all capabilities of the object-oriented scripting language. Each chapter is broken down into numerous subcategories describing operations, tips and tricks, common problems and their solutions, and other concepts pertaining to the topic of the chapter. Finding what you are looking for is not an issue since all topics are structured seamlessly.<BR/><BR/>Unlike many other programming books I have read, this one does not cut corners and overlook the menial steps experts, such as the authors themselves, would assume the reader to know intuitively. I find this aspect to be exceedingly beneficial in learning how the language behaves and what discrepancies may present themselves as a result of coding between a number of programming languages. While reading this book and learning the language, I had never been confused as a result of missing or vague information. The writing style is captivating, concise, and understandable. I enjoyed reading this book.<BR/><BR/>What I like most about this manual is that it is suited for newbies as well as experts. The introductory topics include the common data structures and how they are implemented, while the later chapters specify advanced functionality and extensions to the language. I recommend this book for all of those who have had some object-oriented programming experience as well as to those who have not but are interested in learning a computing language.

    Was this review helpful? Yes  No   Report this review
  • Posted January 29, 2009

    Ruby for beginners and experts

    Published by acclaimed authors Lucas Carlson and Leonard Richardson, The Ruby Cookbook is both an excellent learning tool and reference manual. It is organized into 23 chapters delineating all capabilities of the object-oriented scripting language. Each chapter is broken down into numerous subcategories describing operations, tips and tricks, common problems and their solutions, and other concepts pertaining to the topic of the chapter. Finding what you are looking for is not an issue since all topics are structured seamlessly.<BR/><BR/>Unlike many other programming books I have read, this one does not cut corners and overlook the menial steps experts, such as the authors themselves, would assume the reader to know intuitively. I find this aspect to be exceedingly beneficial in learning how the language behaves and what discrepancies may present themselves as a result of coding between a number of programming languages. While reading this book and learning the language, I had never been confused as a result of missing or vague information. The writing style is captivating, concise, and understandable. I enjoyed reading this book.<BR/><BR/>What I prefer most about the manual is that it is suited for newbies as well as experts. The introductory topics include the common data structures and how they are implemented, while the later chapters specify advanced functionality and extensions to the language. I recommend this book for all of those who have had some object-oriented programming experience as well as to those who have not but are interested in learning a computing language.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted February 25, 2007

    COOKING WITH RUBY!!

    Do you know just a little bit about Ruby? If you do, then this book is for you. Authors Lucas Carlson and Leonard Richardson, have done an outstanding job of writing a book that includes recipes suitable for all skill levels. Carlson and Richardson, begin by covering Ruby¿s built-in data structures and algorithmic problems. Then, the authors discuss the Ruby idiom and philosophy. Next, they explore popular ways of storing data. They also look at different types of applications. Finally, the authors cover the auxiliary tasks that surround the main programming work of a project. This most excellent book focuses mainly on generic programming techniques. Perhaps more importantly, this book covers specific application frameworks and best practices.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 3 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)