Programming Ruby: A Pragmatic Programmer's Guide (Paperback)
David Thomas, Andrew Hunt, Dave Thomas
- 出版商: Addison Wesley
- 出版日期: 2000-12-15
- 售價: $1,840
- 貴賓價: 9.5 折 $1,748
- 語言: 英文
- 頁數: 564
- 裝訂: Paperback
- ISBN: 0201710897
- ISBN-13: 9780201710892
-
相關分類:
Ruby
已過版
買這商品的人也買了...
-
$2,010$1,910 -
$2,170$2,062 -
$399VB.Net Developer's Guide (Paperback)
-
$1,110$1,055 -
$1,850$1,758 -
$2,010$1,910 -
$750$593 -
$750$675 -
$450$356 -
$480$432 -
$490$382 -
$1,190$1,131 -
$750$585 -
$480$374 -
$580$458 -
$620$490 -
$580$522 -
$450$351 -
$299Scripted GUI Testing with Ruby
-
$580$458 -
$620$527 -
$950$808 -
$320$253 -
$880$695 -
$680$537
相關主題
商品描述
Description
Leverage Ruby, the new object-oriented scripting language that delivers unprecedented power, flexibility, and clarity!
- The start-to-finish Ruby tutorial and reference by the two leading Ruby developers.
- Written with the pragmatic programmer wit and style readers love!
- Comprehensive Ruby 1.6 reference.
Dave Thomas is an independent consultant specializing in solving complex business problems using advanced technologies and software engineering approaches. With Andrew Hunt, he co-authored The Pragmatic Programmer: From Journeyman to Master (Addison-Wesley, 2000). Andrew Hunt designs and implements innovative Unix software solutions for Toolshed Technologies, Inc. He is fluent in many programming languages and an expert at Unix system troubleshooting and system integration. A member of the IEEE Computer Society's Technical Committee for Computer Languages, Hunt co-authored The Pragmatic Programmer.
Table Of Contents
Foreword.Preface.
1. Roadmap.
I. FACETS OF RUBY.
2. Ruby New.Some Basic Ruby.
Arrays and Hashes.
Control Structures.
Regular Expressions.
Blocks and Iterators.
Reading and `Riting.
Onward and Upward.
3. Classes, Objects, and Variables.
Objects and Attributes.
Class Variables and Class Methods.
Access Control.
Variables.
4. Containers, Blocks, and Iterators.
Blocks and Iterators.
5. Standard Types.
Strings.
Ranges.
Regular Expressions.
6. More about Methods.
Calling a Method.
7. Expressions.
Miscellaneous Expressions.
Assignment.
Conditional Execution.
Case Expressions.
Loops.
Variable Scope and Loops.
8. Exceptions, Catch, and Throw.
Handling Exceptions.
Raising Exceptions.
Catch and Throw.
9. Modules.
Mixins.
Iterators and the Enumerable Module.
Including Other Files.
10. Basic Input and Output.
Opening and Closing Files.
Reading and Writing Files.
Talking to Networks.
11. Threads and Processes.
Controlling the Thread Scheduler.
Mutual Exclusion.
Running Multiple Processes.
12. When Trouble Strikes.
Interactive Ruby.
But It Doesn't Work!
But It's Too Slow!
II. RUBY IN ITS SETTING.
13. Ruby and Its World.
Program Termination.
Environment Variables.
Where Ruby Finds Its Modules.
Build Environment.
14. Ruby and the Web.
Embedding Ruby in HTML.
Improving Performance.
15. Ruby Tk.
Widgets.
Binding Events.
Canvas.
Scrolling.
Translating from Perl/Tk Documentation.
16. Ruby and Microsoft Windows.
Running Ruby Under Windows.
Win32API.
Windows Automation.
17. Extending Ruby.
Writing Ruby in C.
Sharing Data Between Ruby and C.
Memory Allocation.
Creating an Extension.
Embedding a Ruby Interpreter.
Bridging Ruby to Other Languages.
Ruby C Language API.
III. RUBY CRYSTALLIZED.
18. The Ruby Language.
The Basic Types.
Names.
Variables and Constants.
Predefined Variables.
Expressions.
Boolean Expressions.
If and Unless Expressions.
Case Expressions.
Loop Constructs.
Method Definition.
Invoking a Method.
Aliasing.
Class Definition.
Module Definitions.
Access Control.
Blocks, Closures, and Proc Objects.
Exceptions.
Catch and Throw.
19. Classes and Objects.
Class and Module Definitions.
Top-Level Execution Environment.
Inheritance and Visibility.
Freezing Objects.
20. Locking Ruby in the Safe.
Tainted Objects.
21. Reflection, ObjectSpace, and Distributed Ruby.
Looking at Classes.
Calling Methods Dynamically.
System Hooks.
Tracing Your Program's Execution.
Marshaling and Distributed Ruby.
Compile Time? Runtime? Anytime!
IV. RUBY LIBRARY REFERENCE.
22. Built-In Classes.
Array.
Bignum.
Binding.
Class.
Continuation.
Dir.
Exception.
FalseClass.
File.
File::Stat.
Fixnum.
Float.
Hash.
Integer.
IO.
MatchData.
Method.
Module.
NilClass.
Numeric.
Object.
Proc.
Range.
Regexp.
String.
Struct.
Struct::Tms.
Symbol.
Thread.
ThreadGroup.
Time.
TrueClass.
23. Built-in Modules.
Comparable.
Enumerable.
Errno.
FileTest.
GC.
Kernel.
Marshal.
Math.
ObjectSpace.
Process.
24. Standard Library.
Date.
English.
Find.
File.
GetoptLong.
mkmf.
ParseDate.
profile.
PStore.
Tempfile.
Mutex.
ConditionVariable.
timeout.
WeakRef.
25. Object-Oriented Design Libraries.
Delegate.
Observer.
Singleton.
26. Network and Web Libraries.
BasicSocket.
IPSocket.
TCPSocket.
SOCKSSocket.
TCPServer.
UDPSocket.
UNIXSocket.
UNIXServer.
Socket.
Higher-Level Access.
Net::FTP.
Net::HTTP.
Net::HTTPResponse.
Net::POP.
Net::APOP.
Net::POPMail.
Net::SMTP.
Net::Telnet.
CGI Development.
CGI.
CGI::Session.
27. Microsoft Windows Support.
WIN32OLE_EVENT.
Win32API.
V. APPENDICES.
A: Embedded Documentation.
Cross References.
Method Names.
Including Other Files.
Using rdtool.
Mandatory Disclaimer.
B: Interactive Ruby Shell.
Initialization File.
Commands.
Restrictions.
rtags, xmp, and the Frame Class.
C: Support.
Download Sites.
Usenet Newsgroup.
Mailing Lists.
Bug Reporting.
D: Bibliography.
Index. 0201710897T04062001