1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
|
<html><title>Programming Ruby: The Pragmatic Programmer's Guide</title><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><STYLE TYPE="text/css"><!--
BODY { margin-left: 1in;
width: 6in;
font-family: helvetica, arial, sans-serif;
}
H1 { color: #000080;
font-family: helvetica, arial, sans-serif;
font-size: 22pt;
margin-left: 0in
}
H2 { color: #000080; font: bold x-large helvetica, sans-serif;
margin-left: 0in }
H3 { color: #000080; font: bold large helvetica, sans-serif; }
H4 { color: #000080; font: italic large helvetica, sans-serif; }
.ruby { background: #fff0f0 }
.header { color: white }
.subheader { color: #ffdddd }
.sidebar { width: 6in }
span.sans { font-family: helvetica, arial, sans-serif }
-->
</STYLE><table bgcolor="#a03030" cellpadding="3" border="0" cellspacing="0"><tr><td colspan="3"><table bgcolor="#902020" cellpadding="20"><tr><td><h1 class="header">Programming Ruby</h1><h3 class="subheader">The Pragmatic Programmer's Guide</h3></td></tr></table></td></tr><tr><td width="33%" align="left"><a class="subheader" href="preface.html">Previous <</a></td><td width="33%" align="center" valign="middle"><a class="subheader" href="index.html">Contents ^</a><br></td><td width="33%" align="right"><a class="subheader" href="intro.html">Next ></a><br></td></tr></table></head><body bgcolor="white">
<!--
Copyright (c) 2001 by Addison Wesley Longman. This
material may be distributed only subject to the terms and
conditions set forth in the Open Publication License, v1.0 or
later (the latest version is presently available at
http://www.opencontent.org/openpub/).
-->
<h1>Roadmap</h1><hr><br>
<P></P>
The main text of this book has four separate parts, each with its own
personality, and each addressing different aspects of the Ruby
language.
<P></P>
In Part I, <em>Facets of Ruby</em>, you'll find a Ruby
tutorial. It starts off with a short chapter on some of the terminology
and concepts that are unique to Ruby. This chapter also includes
enough basic syntax so that the other chapters will make sense. The
rest of the tutorial is a top-down look at the language. There we
talk about classes and objects, types, expressions, and all the other
things that make up the language. We even end with a short chapter on
digging yourself out when trouble strikes.
<P></P>
One of the great things about Ruby is how well it integrates with its
environment. Part II, <em>Ruby in Its Setting</em>, investigates this.
Here you'll find practical information on running Ruby, and using Ruby
with the Web. You'll learn how to create GUI applications using Tk,
and how to use Ruby in a Microsoft Windows environment, including
wonderful things such as making native API calls, COM integration, and
Windows Automation. And you'll discover just how easy it is to extend
Ruby and to embed Ruby within your own code.
<P></P>
Part III, <em>Ruby Crystallized</em>, contains more advanced material.
Here you'll find all the gory details about the language, the metaclass
model, tainting, reflection, and marshaling. You could probably
speed-read this the first time through, but we found ourselves using
the tables in this section even as we were writing the rest of the
book.
<P></P>
The <em>Ruby Library Reference</em> is Part IV. It's big. We document
over 800 methods in more than 40 built-in classes and modules. On top
of that, we have another 70 pages describing some of the more useful
library modules that come with Ruby.
<P></P>
So, how should you read this book? Well, it depends on you.
<P></P>
Depending on your level of expertise with programming in general, and
OO in particular, you may want to read just a few portions of the
book to start with. Here are our recommendations.
<P></P>
If you're a beginner, you may want to start with the tutorial
material in Part I. Keep the library reference close at hand as you
start to write programs. Get familiar with the basic classes such
as <code>Array</code>, <code>Hash</code>, and <code>String</code>. As you become more
comfortable in the environment, you may want to investigate some of
the more advanced topics in Part III.
<P></P>
If you're already comfortable with Perl, Python, Java, or Smalltalk,
then we'd suggest reading the introduction in Chapter 2
first. From there, you may want to take the slower approach
and keep going with the tutorial that follows, or skip ahead to the
gritty details starting in Part III, followed by the
library reference in Part IV.
<P></P>
Experts, gurus, and ``I-don't-need-no-stinking-tutorial'' types can
dive straight into the language reference in Chapter
18, which begins on page 201, skim the
library reference, then use the book as a
(rather attractive) coffee coaster.
<P></P>
Of course, there's nothing wrong with just starting at the beginning
and working your way through.
<P></P>
And don't forget, if you run into a problem that you can't figure out,
help is available. See Appendix C beginning
on page 531 for more information.
<p></p><hr><table bgcolor="#a03030" cellpadding="10" border="0" cellspacing="0"><tr><td width="33%" align="left"><a class="subheader" href="preface.html">Previous <</a></td><td width="33%" align="center" valign="middle"><a class="subheader" href="index.html">Contents ^</a><br></td><td width="33%" align="right"><a class="subheader" href="intro.html">Next ></a><br></td></tr></table><p></p><font size="-1">Extracted from the book "Programming Ruby -
The Pragmatic Programmer's Guide"</font><br><font size="-3">
Copyright
©
2000 Addison Wesley Longman, Inc. Released under the terms of the
<a href="http://www.opencontent.org/openpub/">Open Publication License</a> V1.0.
<br>
This reference is available for
<a href="http://www.pragmaticprogrammer.com/ruby/downloads/book.html">download</a>.
</font></body></html>
|