Ruby : Visual QuickStart Guide
معرفی کتاب «Ruby : Visual QuickStart Guide» نوشتهٔ Ullman, Larry، منتشرشده توسط نشر Peachpit Press; Pearson Education [distributor] در سال 2008. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است. «Ruby : Visual QuickStart Guide» در دستهٔ بدون دستهبندی قرار دارد.
this Book Is For Those New To Programming Or That Know Other Programming Languages And Would Like To Know Ruby. The Book Teaches The Fundamentals Of Object-oriented Programming And Starts With Creating A Basic Program. Everything Is Covered Such As Control Structures And Variables, Taking Input, And Creating Output. Moving From The Basic To More Advanced Topics, A Solid Understanding Of Ruby Is Taught In Logical Progression. The Book Ends With An Overview Of The Web Development Framework, Ruby On Rails. Cover......Page 1 Table of Contents......Page 6 Introduction......Page 10 Chapter 1: Getting Started......Page 16 Installation on Windows......Page 17 Installation on Mac OS X......Page 19 Testing an Installation......Page 22 Ruby Documentation......Page 24 Interactive Ruby......Page 27 Customizing irb......Page 31 Chapter 2: Simple Scripts......Page 34 Creating a Basic Script......Page 35 Execution on Windows......Page 37 Command-Line Execution......Page 39 Making Scripts Executable......Page 41 Creating Output......Page 43 Taking Input......Page 45 Making Comments......Page 47 Chapter 3: Simple Types......Page 50 Creating Numbers......Page 51 Performing Arithmetic......Page 53 Numeric Methods......Page 55 Creating Strings......Page 58 Interpolation and Escaping......Page 60 Common String Methods......Page 63 Creating Multiline Strings......Page 65 Using Constants......Page 68 Dates and Times......Page 70 Chapter 4: Arrays, Ranges, and Hashes......Page 74 Creating Arrays......Page 75 Common Array Methods......Page 78 Adding Elements......Page 82 Removing Elements......Page 85 Arrays and Strings......Page 87 Using Ranges......Page 89 Creating a Hash......Page 92 Common Hash Methods......Page 94 Chapter 5: Control Structures......Page 96 Operators......Page 97 Basic Conditionals......Page 100 Extended Conditionals......Page 104 The Conditional Operator......Page 107 Case Statements......Page 111 Basic Loops......Page 115 Numeric Iterators......Page 119 Collection Iterators......Page 122 Chapter 6: Creating Methods......Page 126 Simple Methods......Page 127 Returning Values......Page 129 Taking Arguments......Page 133 Default Argument Values......Page 136 Using self......Page 138 Variable-Length Arguments......Page 140 Methods and Blocks......Page 144 Chapter 7: Creating Classes......Page 148 Simple Classes......Page 149 Instance Variables......Page 153 Using Accessors......Page 156 Creating Constructors......Page 159 Defining Operators......Page 163 Other Special Methods......Page 172 Validation and Duck Typing......Page 177 Chapter 8: Inheritance and More......Page 182 Basic Inheritance......Page 183 Overriding Methods......Page 188 Chaining Methods......Page 191 Access Control......Page 195 Class Variables......Page 201 Class Methods......Page 204 Chapter 9: Modules and Includes......Page 210 Modules as Namespaces......Page 211 Modules as Mixins......Page 215 Requiring Files......Page 219 Ruby Standard Library......Page 224 Chapter 10: Regular Expressions......Page 226 Performing Matches......Page 227 Defining Simple Patterns......Page 230 Using Anchors......Page 233 Using Quantifiers......Page 236 Using Character Classes......Page 239 Using Modifiers......Page 243 Finding Matches......Page 245 Performing Substitutions......Page 249 Chapter 11: Debugging and Error Handling......Page 254 Using the Ruby Debugger......Page 255 Exception Handling......Page 261 Handling Exceptions by Type......Page 265 Raising Exceptions......Page 268 Unit Testing......Page 273 Chapter 12: RubyGems......Page 280 Installing RubyGems......Page 281 Managing and Installing Gems......Page 284 Using Gems......Page 288 The creditcard Gem......Page 291 The Highline Gem......Page 293 The RedCloth Gem......Page 299 Chapter 13: Directories and Files......Page 302 The Basics......Page 303 Accessing Directory Contents......Page 306 Directory and File Properties......Page 309 Permissions......Page 312 Creating, Moving, Copying, and Deleting......Page 316 Reading from Files......Page 319 Writing to Files......Page 322 Using FasterCSV......Page 326 Chapter 14: Databases......Page 330 Getting Started......Page 331 Executing Simple Queries......Page 334 Inserting Records......Page 336 Retrieving Records......Page 341 Performing Transactions......Page 345 Chapter 15: Networking......Page 350 Creating a Socket Server......Page 351 Using Threads......Page 354 Creating a Socket Client......Page 359 HTTP Connections......Page 362 Handling RSS Feeds......Page 366 Chapter 16: Ruby on Rails......Page 370 A Rails Primer......Page 371 Getting Started......Page 373 Database Configuration......Page 376 Creating the Database......Page 379 Trying the Site......Page 384 Customizing Models......Page 386 Customizing Views......Page 390 Customizing Controllers......Page 397 Chapter 17: Dynamic Programming......Page 402 OS Integration......Page 403 Tainted Data......Page 407 Safe Levels......Page 411 Procs and Lambdas......Page 415 B......Page 422 C......Page 423 D......Page 424 G......Page 425 I......Page 426 M......Page 427 O......Page 428 R......Page 429 S......Page 430 U......Page 431 Z......Page 432 For those new to programming, as well as programmers that know other languages, this is the ultimate task-based tutorial to Ruby.A complete end-to-end solution for learning Ruby -- an object-oriented programming language.Written by programmer and experienced author Larry Ullman -- his Visual QuickStart Guides on PHP, MySQL, and C++ are coveted by programmers.Ruby and the Web development framework, Ruby on Rails, continue to gain in popularity and market share. For those new to programming, as well as programmers who know other languages, this is the ultimate task-based tutorial to Ruby. Ruby is a dynamic object-oriented programming language that can be used for just about any purpose: text processing, system utilities, Web development and graphical applications. Ruby is most often run through an interpreter and is an open source project: it's free for anyone to use, modify or distribute A practical handbook for both novice programmers and those new to Ruby furnishes a task-based tutorial on Ruby, explaining how to use the object-oriented programming language as well as its Web-development framework Ruby on Rails, in a variety of applications. Original. (Beginner/Intermediate) Designed for those new to programming, this text teaches the fundamentals of object-oriented programming and starts with creating a basic program. Moving to more advanced topics, a solid understanding of Ruby is taught in logical progression.
دانلود کتاب Ruby : Visual QuickStart Guide