Browse Subject Headings
Ruby Recipes : A Problem-Solution Approach
Ruby Recipes : A Problem-Solution Approach
Click to enlarge
Author(s): Mandal, Malay
ISBN No.: 9781484224687
Pages: xxviii, 226
Year: 201612
Format: Trade Paper
Price: $ 41.99
Dispatch delay: Dispatched between 7 to 15 days
Status: Available

Chapter 1 : A taste of Ruby Chapter-goal : Brief discussion of Ruby installation, and gentle introduction to some very basic programs. Pages : 11 (appox) Some sub topics : 1. Ruby installation 2. Running a program from command prompt 3. assignment to variable 4. basic for loop 5. interactive Ruby shell Chapter 2 : Filing cabinet Chapter-goal : Gentle introduction to file input output, and a few other Ruby features, along with some associated case studies. Pages : 24 (appox) Some sub topics : 1.


Reading input from console 2. Command line arguments 3. Reading from a file 4. Writing to a file 5. Processing line by line 6. Basic exception handling Chapter 3 : Elementary Chapter-goal : Gentle introduction to some basic language elements in some detail, along with relevant examples / case studies Pages : 25 (appox) Some sub topics : 1. Variables and operators 2. Strings 3.


Control flow structures - if, while, for etc. 4. Comment in a code 5. Introduction to functions 6. Exception handling in some detail Chapter 4 : Collections Chapter-goal : Gentle introduction to some of the main collection classes in some detail, along with relevant examples / case studies Pages : 24 (appox) Some sub topics : 1. Arrays 2. Ranges 3. Hashes 4.


Iterators 5. Some related API functions usage Chapter 5 : First flight Chapter-goal : A lot of examples, case studies, with mostly materials learnt so far, with a few new feature introduction as necessary. Pages : 18 (appox) Some sub topics : 1. Task 1: Get the total price 2. Task 2: querying the employee file 3. Task 3: Dividing files into subdirectories 4. Task 4: Adding header comments 5. Task 5: Balance from transactions Chapter 6 : Regular Expressions Chapter-goal : A detailed coverage of working with regular expressions.


Pages : 42 (appox) Some sub topics : 1. Introduction to regulare expressions 2. Character classes 3. Quantifiers 4. Anchors 5. Backtracking 6. Replacement Chapter 7 : Paraphernalia Chapter-goal : Gentle introduction to certain ruby tricks and extra topics Pages : 23 (appox) Some sub topics : 1. Handling date and time 2.


Multiple assignments 3. Pre defined variables 4. Predefined Constants 5. True, False and Nil 6. Return from block Chapter 8 : Cruising along Chapter-goal : Some more tasks / case studies with the knowledge. Pages : 28 (appox) Some sub topics : 1. Task 1: Remove block commented code 2. Task 2: Create or Replace 3.


Task 3: Getting distinct table names from code 4. processing XML as text Chapter 9 : Classes and Structures Chapter-goal : Gentle introduction to object oriented side of ruby, along with use of Struct Pages : 14 (appox) Some sub topics : 1. Classes and objects 2. Subclassing and inheritance 3. working with Struct 4. Modules Chapter 10 : Functional programming facet of Ruby Chapter-goal : Some introduction to functional programming. What Ruby offers towards that, along with some relevant case studies Pages : 39 (appox) Some sub topics : 1. Functional Programming paradigm 2.


Lambdas and Closures 3. Some use cases for functional programming 4. Mimicking behaviour of map and flatMap Chapter 11 : Applicability Chapter-goal : Gentle introduction to few more tools, like database connectivity, and web services with some relevant examples. Pages : 18 (appox) Some sub topics : 1. Database connectivity 2. Web services with Ruby 3. Multithreading Chapter 12 : Data and log handling Chapter-goal : Gentle introduction to some APIs for handling JSON and XML data. Parsing of common web server log for useful informations.


Pages : 23 (appox) Some sub topics : 1. XML handling 2. JSON handling 3. Log parsing 4. Task : sorting time differences.


To be able to view the table of contents for this publication then please subscribe by clicking the button below...
To be able to view the full description for this publication then please subscribe by clicking the button below...
Browse Subject Headings