Beginning Ruby: From Novice to Professional, 3rd Edition

Beginning Ruby: From Novice to Professional, 3rd EditionReviews
Author: Peter Cooper
Pub Date: 2016
ISBN: 978-1-4842-1279-0
Pages: 585
Language: English
Format: PDF
Size: 13 Mb


Learn the principles behind object-oriented programming and within a few chapters create a fully functional Ruby application. You’ll also gain a basic understanding of many ancillary technologies such as databases, XML, web frameworks, and networking – some of which are needed as part of a fully functioning Ruby application.
Based on the bestselling first and second editions, Beginning Ruby, Third Edition is a leading guide to learn Ruby from the ground up. The new edition of this book provides the same excellent introduction to Ruby as the previous editions plus updates for the newest version of Ruby 2.3. This book can also be used as a textbook or companion to a textbook on beginning Ruby programming.
The light and agile Ruby programming language remains a very popular open source scripting option for developers building today’s web and even some enterprise applications. And, now, Ruby also has applications using the Raspberry Pi, popular among hobbyists and makers. Many former Java developers still use Ruby on Rails today, the most popular framework for building Ruby applications.
What You’ll Learn

  • What are the fundamentals of Ruby and its object-oriented building blocks
  • How to work with Ruby libraries, gems, and documentation
  • How to work with files and databases
  • How to write and deploy Ruby applications
  • What are the various Ruby web frameworks and how to use them
  • How to do network programming with Ruby and more

This book is for beginning programmers, programmers new to Ruby, and web developers interested in learning and knowing the foundations of the Ruby programming language.


Table of Contents

Part 1: Foundations and Scaffolding
1: Let’s Get It Started: Installing Ruby
2: Programming == Joy: A Whistle-Stop Tour of Ruby and Object Orientation
3: Ruby’s Building Blocks: Data, Expressions, and Flow Control
4: Developing Your First Ruby Application
5: The Ruby Ecosystem

Part 2: The Core of Ruby
6: Classes, Objects, and Modules
7: Projects and Libraries
8: Documentation, Error Handling, Debugging, and Testing
9: Files and Databases
10: Distributing Ruby Code and Libraries
11: Advanced Ruby Features
12: Tying It Together: Developing a Larger Ruby Application

Part 3: Ruby Online
13: Two Web Application Approaches: Rails and Sinatra
14: Ruby and the Internet
15: Networking and Sockets
16: Useful Ruby Libraries

A: Ruby Primer and Review for Developers
B: Useful Resources