Course description
Ruby is a high level Interpreted, Object Oriented, rapid development language deployed in many scenarios in the modern world.
This Ruby Programming & Ruby on Rails course is designed to give delegates the knowledge to develop and maintain Ruby applications and Rails based projects.
Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.
Who will the Course Benefit?Developers who are required to write, maintain and test Ruby applications and projects based on Ruby on Rails.
Course ObjectivesThis course aims to provide the delegate with the knowledge to be able to produce simple, object oriented Ruby applications, and develop and maintain Rails based projects that exploit all core elements of the language to solve business problems.
Upcoming start dates
Suitability - Who should attend?
Delegates attending this course should have some previous programming experience and be able to define general programming concepts including: compilation, execution, variables, arrays, sequence, selection, iteration, functions, objects, and classes. Moreover delegates should be able to navigate the filesystem (on the command line ideally), edit and save text files and browse the web. This knowledge can be obtained by attendance on the pre-requisite Introduction to Programming course.
Experience to the level as demonstrated in this course is recommended:
- Introduction to Programming
Training Course Content
Ruby Programming & Ruby on Rails Training Course
Course Contents - DAY 1
Course Introduction- Administration and Course Materials
- Course Structure and Agenda
- Delegate and Trainer Introductions
- What is Ruby
- What is it used for
- Installing Ruby?
- Ruby Basics - objects, regular expressions, arrays, hashes, Object Orientation
- Variables and constants
- Operators
- Assignments
- Integer, float and string formats
- Single and double quotes
- Here documents
- Labs
- Blocks and if statement
- Boolean and range operators
- Conditionals - if, unless, case
- Loops - while, for in, until
- break, next, retry and redo
- Labs
- Objects, classes and methods
- Constructors and attributes
- Instance and class variables
- Local and global variables
- Class and object methods
- Including external files - load and require
- Labs
Course Contents - DAY 2
Session 5: INPUT AND OUTPUT IN RUBY- Opening and closing files
- Reading from and writing to files
- Labs
- Arrays and hashes
- Building an array
- The %w shortcut
- Nesting arrays
- Hash keys
- Iterators
- Labs
- Inheritance
- Base classes and subclasses
- What's inherited
- Overriding
- Abstract classes
- Polymorphism
- Multiple Inheritances
- Class structure
- Visibility
- Labs
- Public, private and protected visibility
- Singletons and defs
- Inheritance mixins
- Destructors and garbage collection
- Namespaces and modules
- Hooks
- Freezing objects
- Labs
Course Contents - DAY 3
Session 9: OBJECT ORIENTATION TECHNIQUES- Clusters of classes
- Programming and method standards
- Formal Methods
- Unified Modelling Language (UML)
- Views
- Meta Characters
- Anchors, literals, character groups and counts
- Matching in Ruby
- Modifiers i, o, x and m
- Pattern matching variables
- Labs
- ARGV and $0
- Special variables
- Environment variables
- Pseudo-variables
- Reserved words in Ruby
- Labs
- Begin and end
- Raise and rescue
- Throw and catch
Course Contents - DAY 4
Session 13: REST- What is REST
- RESTful architecture
- A simple REST client
- Install Ruby on Rails on an operating system
- The Model-View-Controller approach
- Rails Conventions
- Rails project structure
- Using RubyGems with Rails
- What is a Route
- Define routes that recognize incoming URLs
- Use named route methods to generate URLs based on the routing scheme
- Apply and understand the RESTful routing conventions
- Design apps to take advantage of the REST conventions in Rails
- What is a Model
- Using ActiveRecord
- Validations
- Associations
- Migrations
Course Contents - DAY 5
Session 17: CONTROLLERS- What is a Controller
- Creating controllers
- Using ActionController
- Writing Actions
- Filters
- What is a View
- Exploring ActionView
- Writing Views for actions
- Partials
- Forms
- Creating the project
- Project Directory structure
- Using the Rails web server
- Creating the initial controller
- Modify the initial index.html file
- Setting the Route
- Creating a resource
- Viewing routes with rake
- What is Scaffolding
- Creating a new project
- Generating the Rail Scaffold
- Customising the application
Customer Outreach Award
We believe that it should be easy for you to find and compare training courses.
Our Customer Outreach Award is presented to trusted providers who are excellent at responding to enquiries, making your search quicker, more efficient and easier, too.
Reviews
Average rating 5
Brian delivered the course at a great pace! I was coming into this course a little worried that I would easily get lost behind like in most other courses but Brian explained thi...
The instructor did very well even though he was suffering with a pretty nasty cold throughout. did very well in answering questions.
Although I've been using Ruby for 7 years,...
Continuing Studies
Further Learning
- Apache Web Server
- Introduction to MySQL
- Python Programming 1
- PHP Developer
Request info
Why StayAhead. From a single person on a scheduled course to large scale training projects StayAhead Training have the expertise and experience to help. Established since 1992, StayAhead Training is recognised as one of the leading independent IT Training specialists...
Brian was very knowledgeable and made the subject interesting and relevant to what I needed to know for my work in this area. Very enjoyable.