Beginning Ruby: From Novice to Professional

Front Cover
Apress, Jul 21, 2009 - Computers - 656 pages

Based on the bestselling first edition, Beginning Ruby: From Novice to Professional, Second Edition is the leading guide for every type of reader who wants to learn Ruby from the ground up.

The new edition of this book provides the same excellent introduction to Ruby as the first edition plus updates for the newest version of Ruby, including the addition of the Sinatra and Ramaze web application frameworks and a chapter on GUI development so developers can take advantage of these new trends.

Beginning Ruby starts by explaining the principles behind object-oriented programming and within a few chapters builds toward creating a full Ruby application. By the end of the book, in addition to in-depth knowledge of Ruby, you'll also have basic understanding of many ancillary technologies such as SQL, XML, web frameworks, and networking.

Introduces readers to the Ruby programming language Takes readers from basic programming skills to web development with topics like Ruby-based frameworks and GUI programming Covers many ancillary technologies in order to provide a broader picture (e.g., databases, XML, network daemons) What you’ll learn Understand the basics of Ruby and object-oriented building blocks. Work with Ruby libraries, gems, and documentation. Work with files and databases. Write and deploy Ruby applications. Explore Ruby web frameworks and aspects of network programming with Ruby. Develop desktop and GUI applications with Ruby. Who this book is for

Beginning programmers, programmers new to Ruby, and web developers interested in knowing the foundations of the language.

Table of Contents Let’s Get It Started: Installing Ruby Programming == Joy: A Whistle-Stop Tour of Ruby and Object Orientation Ruby’s Building Blocks: Data, Expressions, and Flow Control Developing Your First Ruby Application The Ruby Ecosystem Classes, Objects, and Modules Projects and Libraries Documentation, Error Handling, Debugging, and Testing Files and Databases Deploying Ruby Applications and Libraries Advanced Ruby Features Tying It Together: Developing a Larger Ruby Application Web Application Frameworks: Rails, Sinatra, and Ramaze Ruby and the Internet Networking, Sockets, and Daemons GUI-Based Desktop Application Development Useful Ruby Libraries and Gems

What people are saying - Write a review

We haven't found any reviews in the usual places.


Files and Databases
Deploying ruby applications and Libraries
advanced ruby Features
Developing a Larger ruby application
rails Sinatra and ramaze
ruby and the Internet
Networking Sockets and Daemons
GUIBased Desktop application Development

Data expressions and Flow Control
Developing Your First ruby application
the ruby ecosystem
Classes Objects and Modules
projects and Libraries
Documentation error handling Debugging and testing
Useful ruby Libraries and Gems
Ruby Primer and Review for Developers
Ruby Reference
Useful Resources

Other editions - View all

Common terms and phrases

About the author (2009)

Peter Cooper is an experienced Ruby developer, trainer, and publisher who runs Ruby Inside, the most popular blog in the Ruby and Rails worlds, with 18,000 subscribers. He also curates RubyFlow, a popular Ruby community link blog. Over the past few years he has developed, launched, and sold two startups (Feed Digest and Code Snippets), both powered by Ruby and Rails.

Bibliographic information