Ruby is an agile object-oriented language, borrowing some of the best features from LISP, Smalltalk, Perl, CLU, and other languages. Its popularity has grown tremendously in the five years since the first edition of this book. The Ruby Way takes a "how-to" approach to Ruby programming with the bulk of the material consisting of more than 400 examples arranged by topic. Each example answers the question "How do I do this in Ruby?" Working along with the author, you are presented with the task description and a discussion of the technical constraints. This is followed by a step-by-step presentation of one good solution. Along the way, the author provides detailed commentary and explanations to aid your understanding. Coverage includes * An overview of Ruby, explaining terminology and basic principles * Operations on low-level data types (numbers, strings, regular expressions, dates) * The new regular expression engine (Oniguruma) * Internationalization (I18N) and message catalogs in Ruby * Operations on hashes, arrays, and other data structures such as stacks, trees, and graphs * Working with general I/O, files, and persistent objects * Database coverage including MySQL, SQLite, Oracle, DBI, and more * Ruby-specific techniques in OOP and dynamic programming * Graphical interfaces in Ruby (Tk, GTK+, Fox, and Qt) * Working with Ruby threads for lightweight multitasking * Everyday scripting and system administration in Ruby * Working with image files, PDFs, YAML, XML, RSS, and Atom * Testing, debugging, profiling, and packaging Ruby code * Low-level network programming and client-server interaction * Web development tools including Rails, Nitro, Wee, IOWA, and more * Working with distributed Ruby, Rinda, and Ring * Ruby development tools such as IDEs, documentation tools, and more The source code for the book can be downloaded from www.rubyhacker.com Hal Fulton has worked for over 15 years with variousforms of Unix, including AIX, Solaris, and Linux. He was first exposed to Ruby in 1999, and in 2001 he began work on the first edition of this book-the second Ruby book published in the English language. He has attendednumerous Ruby conferences and has given presentations at several of those, including the first European Ruby Conference. He has two degrees in computer science from the University of Mississippi and taught computer science for four years before moving to Austin, Texas to work as a contractor for variouscompanies, including IBM Austin. Hal currently works at Broadwing Communications in Austin, Texas, maintaining a large data warehouse and related telecom applications, working daily with C++, Oracle, and, of course, Ruby.
Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.
Descrizione libro Addison-Wesley Professional, 2006. Condizione libro: New. Brand New, Unread Copy in Perfect Condition. A+ Customer Service! Summary: ForewordAcknowledgmentsAbout the Author1 Ruby in Review1.1 An Introduction to Object Orientation1.1.1 What Is an Object?1.1.2 Inheritance1.1.3 Polymorphism1.1.4 A Few More Terms1.2 Basic Ruby Syntax and Semantics1.2.1 Keywords and Identifiers1.2.2 Comments and Embedded Documentation1.2.3 Constants, Variables, and Types1.2.4 Operators and Precedence1.2.5 A Sample Program1.2.6 Looping and Branching1.2.7 Exceptions1.3 OOP in Ruby1.3.1 Objects1.3.2 Built-in Classes1.3.3 Modules and Mixins1.3.4 Creating Classes1.3.5 Methods and Attributes1.4 Dynamic Aspects of Ruby1.4.1 Coding at Runtime1.4.2 Reflection1.4.3 Missing Methods1.4.4 Garbage Collection (GC)1.5 Training Your Intuition: Things to Remember1.5.1 Syntax Issues1.5.2 Perspectives in Programming1.5.3 Ruby's case Statement1.5.4 Rubyisms and Idioms1.5.5 Expression Orientation and Other Miscellaneous Issues1.6 Ruby Jargon and Slang1.7 Conclusion2 Working with Strings2.1 Representing Ordinary Strings2.2 Representing Strings with Alternate Notations2.3 Using Here-Documents2.4 Finding the Length of a String2.5 Processing a Line at a Time2.6 Processing a Byte at a Time2.7 Performing Specialized String Comparisons2.8 Tokenizing a String2.9 Formatting a String2.10 Using Strings As IO Objects2.11 Controlling Uppercase and Lowercase2.12 Accessing and Assigning Substrings2.13 Substituting in Strings2.14 Searching a String2.15 Converting Between Characters and ASCII Codes2.16 Implicit and Explicit Conversion2.17 Appending an Item Onto a String2.18 Removing Trailing Newlines and Other Characters2.19 Trimming Whitespace from a String2.20 Repeating Strings2.21 Embedding Expressions Within Strings2.22 Delayed Interpolation of Strings2.23 Parsing Comma-Separated Data2.24 Converting Strings to Numbers (Decimal and Otherwise)2.25 Encoding and Decoding rot13 Text2.26 Encrypting Strings2.27 Compressing Strings2.28 Counting Characters in Strings2.29 Reversing a String2.30 Removing Duplicate Characters2.31 Removing Specific Characters2.32 Printing Special Characters2.33 Generating Successive Strings2.34 Calculating a 32-Bit CRC2.35 Calculating the MD5 Hash of a String2.36 Calculating the Levenshtein Distance Between Two Strings2.37 Encoding and Decoding base64 Strings2.38 Encoding and Decoding Strings (uuencode/uudecode)2.39 Expanding and Compressing Tab Characters2.40 Wrapping Lines of Text2.41 Conclusion3 Working with Regular Expressions3.1 Regular Expression Syntax3.2 Compiling Regular Expressions3.3 Escaping Special Characters3.4 Using Anchors3.5 Using Quantifiers3.6 Positive and Negative Lookahead3.7 Accessing Backreferences3.8 Using Character Classes3.9 Extended Regular Expressions3.10 Matching a Newline with a Dot3.11 Using Embedded Options3.12 Using Embedded Subexpressions3.13 Ruby and Oniguruma3.13.1 Testing the Presence of Oniguruma3.13.2 Building Oniguruma3.13.3 A Few New Features of Oniguruma3.13.4 Positive and Negative Lookbehind3.13.5 More on Quantifiers3.13.6 Named Matches3.13.7 Recursion in Regular Expressions3.14 A Few Sample Regular Expressions3.14.1 Matching an IP Address3.14.2 Matching a Keyword-Value Pair3.14.3 Matching Roman Numerals3.14.4 Matching Numeric Constants <. Codice libro della libreria ABE_book_new_0672328844
Descrizione libro Addison-Wesley Professional, 2006. Paperback. Condizione libro: New. book. Codice libro della libreria 0672328844
Descrizione libro Condizione libro: New. New. Soft Cover International edition. Different ISBN and Cover image but contents are same as US edition.Perfect condition. Ship by express service to USA, Canada, Australia, France, Italy, UK, Germany and Netherland. Customer satisfaction our priority. Codice libro della libreria ABE-190516-123335
Descrizione libro Condizione libro: Brand New. New. Soft Cover International edition. Different ISBN and Cover image but contents are same as US edition. Customer Satisfaction guaranteed!!. Codice libro della libreria SHAK123335
Descrizione libro Condizione libro: New. Brand New Paperback International Edition.We Ship to PO BOX Address also. EXPEDITED shipping option also available for faster delivery. Codice libro della libreria AUSB-46825
Descrizione libro Addison-Wesley Professional, 2006. Paperback. Condizione libro: New. Codice libro della libreria P110672328844
Descrizione libro Addison-Wesley Professional, 2006. Condizione libro: New. Brand new! Please provide a physical shipping address. Codice libro della libreria 9780672328848
Descrizione libro Addison Wesley, 2006. Paperback. Condizione libro: Brand New. 2nd edition. 839 pages. 9.00x7.00x2.00 inches. In Stock. Codice libro della libreria zk0672328844