Ruby Cookbook: Recipes for Object-Oriented Scripting

Ruby Cookbook: Recipes for Object-Oriented Scripting

by Lucas Carlson, Leonard Richardson
Ruby Cookbook: Recipes for Object-Oriented Scripting

Ruby Cookbook: Recipes for Object-Oriented Scripting

by Lucas Carlson, Leonard Richardson

Paperback(2nd ed.)

$49.99
Choose Expedited Shipping at checkout for delivery by Thursday, December 8

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


Related collections and offers

Product Details

ISBN-13: 9781449373719
Publisher: O'Reilly Media, Incorporated
Publication date: 04/02/2015
Edition description: 2nd ed.
Pages: 992
Product dimensions: 7.00(w) x 9.20(h) x 2.00(d)

About 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.

Table of Contents

  • Dedication
  • Preface
  • Chapter 1: Strings
  • Chapter 2: Numbers
  • Chapter 3: Date and Time
  • Chapter 4: Arrays
  • Chapter 5: Hashes
  • Chapter 6: Files and Directories
  • Chapter 7: Code Blocks and Iteration
  • Chapter 8: Objects and Classes
  • Chapter 9: Modules and Namespaces
  • Chapter 10: Reflection and Metaprogramming
  • Chapter 11: XML and HTML
  • Chapter 12: Graphics and Other File Formats
  • Chapter 13: Databases and Persistence
  • Chapter 14: Internet Services
  • Chapter 15: Web Development: Ruby on Rails
  • Chapter 16: Web Services and Distributed Programming
  • Chapter 17: Testing, Debugging, Optimizing, and Documenting
  • Chapter 18: Packaging and Distributing Software
  • Chapter 19: Automating Tasks with Rake
  • Chapter 20: Multitasking and Multithreading
  • Chapter 21: User Interface
  • Chapter 22: Extending Ruby with Other Languages
  • Chapter 23: System Administration
  • Colophon

Customer Reviews