×

Uh-oh, it looks like your Internet Explorer is out of date.

For a better shopping experience, please upgrade now.

Ruby Cookbook
     

Ruby Cookbook

5.0 3
by Lucas Carlson, Leonard Richardson
 

See All Formats & Editions

Why spend time on coding problems that others have already solved when you could be making real progress on your Ruby project? This updated cookbook provides more than 350 recipes for solving common problems, on topics ranging from basic data structures, classes, and objects, to web development, distributed programming, and multithreading.

Revised for Ruby 2.1,

Overview

Why spend time on coding problems that others have already solved when you could be making real progress on your Ruby project? This updated cookbook provides more than 350 recipes for solving common problems, on topics ranging from basic data structures, classes, and objects, to web development, distributed programming, and multithreading.

Revised for Ruby 2.1, each recipe includes a discussion on why and how the solution works. You’ll find recipes suitable for all skill levels, from Ruby newbies to experts who need an occasional reference. With Ruby Cookbook, you’ll not only save time, but keep your brain percolating with new ideas as well.

Recipes cover:

  • Data structures including strings, numbers, date and time, arrays, hashes, files and directories
  • Using Ruby’s code blocks, also known as closures
  • OOP features such as classes, methods, objects, and modules
  • XML and HTML, databases and persistence, and graphics and other formats
  • Web development with Rails and Sinatra
  • Internet services, web services, and distributed programming
  • Software testing, debugging, packaging, and distributing
  • Multitasking, multithreading, and extending Ruby with other languages

Product Details

ISBN-13:
9781449373719
Publisher:
O'Reilly Media, Incorporated
Publication date:
04/02/2015
Pages:
992
Sales rank:
702,133
Product dimensions:
7.00(w) x 9.20(h) x 2.00(d)

Meet the Author

Lucas Carlson founded AppFog, a PaaS company that leveraged Cloud Foundry and was acquired by CenturyLink. Lucas has been a professional developer for 20 years and specializes in Ruby on Rails development. Lucas has authored Programming for PaaS and the Ruby Cookbook and has written half a dozen libraries in various programming languages and contributed to many others, including Rails and RedCloth.

Leonard Richardson (http://www.crummy.com/) is the author of the Ruby Cookbook (O'Reilly) and of several open source libraries, including Beautiful Soup. A California native, he currently lives in New York.

Customer Reviews

Average Review:

Post to your social network

     

Most Helpful Customer Reviews

See all customer reviews

Ruby Cookbook 5 out of 5 based on 0 ratings. 3 reviews.
Computer_Science_House More than 1 year ago
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.

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.

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.
javajosh9001 More than 1 year ago
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.

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.

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.
Guest More than 1 year ago
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.