Ruby Recipes
A Problem-Solution Approach
(Sprache: Englisch)
Solve your Ruby programming problems that occur during your day-to-day scripting work. This book contains a varied selection of practical and interesting code recipes designed to make your coding life easier. Ruby Recipes includes solutions to problems in...
Voraussichtlich lieferbar in 3 Tag(en)
versandkostenfrei
Buch (Kartoniert)
29.95 €
Produktdetails
Produktinformationen zu „Ruby Recipes “
Klappentext zu „Ruby Recipes “
Solve your Ruby programming problems that occur during your day-to-day scripting work. This book contains a varied selection of practical and interesting code recipes designed to make your coding life easier. Ruby Recipes includes solutions to problems in working with data, handling exceptions, writing blocks, and using regular expressions. This book provides ready scripts for both simple complex scripting tasks, which you can use readily or with only minor modifications. These scripts cover areas such as collections, classes and structures, functional programming, and log handling. With these handy recipes at your fingertips, you will be able to solve those niggling problems and become even more efficient.
What You Will Learn
- Install and run Ruby
- Read and write data
- Write functions
- Work with arrays, ranges, hashes, and iterators
- Handle dates and time
- Process XML as text
- Master OOP concepts such as classes, objects, subclassing, and inheritance
- Connect to databases
Who This Book Is For
Programmers new to Ruby, and web developers interested in knowing the foundations of the language.
Inhaltsverzeichnis zu „Ruby Recipes “
Chapter 1 : A taste of RubyChapter-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
... mehr
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
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
... weniger
Autoren-Porträt von Malay Mandal
A Master of Engineering (Mechanical Engineering) from IISc, Bangalore ('94), Malay is working in IT for the last 22 or so years. He worked across multiple geographical locations (India, Japan, Singapore, UK ..), across multiple technology stack and for quite a few well known organisations (Telstra, JP Morgan, Citigroup etc.). He quite often actively learns new things, and his creation (other than books) include Apps in Google Play, and some small wooden pieces of furniture at home.
Bibliographische Angaben
- Autor: Malay Mandal
- 2016, 1st ed., XXVIII, 226 Seiten, Maße: 15,5 x 23,5 cm, Kartoniert (TB), Englisch
- Verlag: Springer, Berlin
- ISBN-10: 148422468X
- ISBN-13: 9781484224687
- Erscheinungsdatum: 09.12.2016
Sprache:
Englisch
Kommentar zu "Ruby Recipes"
0 Gebrauchte Artikel zu „Ruby Recipes“
Zustand | Preis | Porto | Zahlung | Verkäufer | Rating |
---|
Schreiben Sie einen Kommentar zu "Ruby Recipes".
Kommentar verfassen