design

 
Find IT training and SDLC training by State
 

click the map, enter a zip,
or course keyword to find
our current public sessions
    About ASPE Technology  |   Get Credit  |   Contact Us  |   Testimonials  |   Client List

For real-time information or assistance with classes,
call us toll-free at 877-800-5221 or email us at customerservice@aspetech.com



Course HomeCourse DatesCourse DetailsCourse OutlineCourse FacultyCourse Procing
 

COURSE 5275 | 2-DAY SESSION
Hands-On Ruby Programming
Course Outline


I. Introduction

• Language examples
• Simple applications

  1. Command line arguments
  2. Environment variables

• Development tools


II. Elements

• Standard types

  1. Fixnum and Bignum
  2. Float
  3. Ranges

• Strings

  1. Literal string types
  2. Methods

• Operators

  1. Assignment
  2. Arithmetic
  3. Comparison
  4. Conditional

• Variables

  1. Predefined
  2. User defined

• Expressions


III. Control Flow

• If and unless
• Loops
• Case


IV. Methods

• Defining
• Parameters


V. Classes and Objects

• Initialize and new
• Instance methods and attributes
• Class methods and variables
• Access control

  1. Public, Private, and Protected

• Inheritance


VI. Containers

• Arrays

  1. Indexing
  2. Enumerating

• Hashes

  1. Keys
  2. Advantages/disadvantages

• Iterators
• Blocks


V. Input and Output

• IO and File classes

  1. Opening and closing
  2. Reading and writing

• Dir class


VI. Exceptions

• Exception class
• Handling exceptions
• Raising exceptions
• Catch and throw


VII. Modules

• Namespaces
• Mixins
• Enumerable and other modules


VIII. Classes

• Object class
• Class class
• Reflection


IX. Networking

• Socket level access

  1. TCPSocket
  2. TCPServer

• Higher-level protocol access

  1. Net::HTTP
  2. Net::SMTP

X. Threads

• Thread creation
• Thread scheduling
• Mutexes
• Condition variables


XI. Regular Expressions

• Syntax

  1. Basic matching
  2. Anchors
  3. Groups
  4. Substitution
  5. Lookahead and lookbehind

• Methods

  1. Regexp class
  2. String class

XII. Miscellaneous

• Special variables
• Executing other processes
• Garbage collection
• Embedded documentation

XIII. Other Classes

• Built-in
• Standard library


XIV. Unit Testing

• Framework
• Structuring tests


XV. Introduction to Rails

• Model-View-Controller
• Active objects
• Embedding Ruby in HTML






ASPE logo