Ruby Programming & Ruby On Rails
Course
In London-City
Description
-
Type
Course
-
Location
London-city
Ruby Programming & Ruby on Rails Course Overview Ruby is a high level Interpreted, Object Oriented, rapid development language deployed in many scenarios in the modern world. This Ruby on Rails course is designed to give delegates the knowledge to develop / maintain Ruby scripts and Rails based projects. Who will the Course Benefit? Programmers who need to write & maintain scripts in Ruby and projects based on Ruby on Rails. Learning Objectives Course Objectives Knowledge of Ruby to write, modify, maintain and understand Ruby and Ruby on Rails. Skills Gained The delegate will learn to: Declare variables and initialise themConstruct expressions with arithmetic, logical and relational operatorsUse iterative type statementsUse conditional statementsRead/write filesManipulate text using regular expressionUse and create Ruby ObjectsUse built-in library functionsWork with REST and describe the purpose of REST and the Rails MVC architectureUse RAILS and describe the purpose of Rails RoutesCreate a project using Ruby and RailsCreate and customise a Rails Application using scaffold and the SQLite3 database
Facilities
Location
Start date
Start date
About this course
Experience of programming in another programming language is required.
Reviews
Subjects
- Programming
- Project
Course programme
Course ContentsCourse 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
- Opening and closing files
- Reading from and writing to files
- Labs
- Arrays and hashes
- Building an array
- The %w shortcut
- Nesting arrays
- Hash keys
- Iiterators
- 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
- 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
- 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
- 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
Ruby Programming & Ruby On Rails