Ruby on Rails

Contact Us for Dates
3 days practical workshop for up to 12 people.
Only £1185
Ruby is an open source object-oriented programming language, and is the substrate layer for the Ruby on Rails MVC web application framework.

Layout

This course is a mixture of lectures and hands on exercises designed to reinforce the topics learnt

Training Course Objectives

  • Installing Ruby on Rails
  • Writing object-oriented Ruby code
  • Implementing Ruby web applications
  • Using MVC architecture effectively
  • Database management using ActiveRecord
  • Advanced techniques
  • Best practices

Training Course Prerequisites

  • Familiarity with an OO language, e.g. Java, C#, C++, Python
  • Web development experience

Chapters

Chapter 1 Introduction to Ruby on Rails

  • Overview of Ruby on Rails
  • Installing Ruby on Rails
  • Using Ruby Version Manager (RVM)

Chapter 2 Ruby language essentials

  • Hello World in Ruby
  • Writing object-oriented Ruby code
  • Types and variables
  • If-tests and loops
  • Methods
  • Blocks and iterators
  • Arrays and hashes

Chapter 3 Ruby framework essentials

  • Establishing a development environment
  • Generating static web pages
  • Generating dynamic web pages
  • Layouts
  • Partials
  • Redirects and flash messages
  • Handling exceptions and errors

Chapter 4 Implementing MVC solutions

  • Overview of Model View Controller architecture
  • Convention over configuration in Rails
  • Managing forms
  • Best practices

Chapter 5 Database management and ActiveRecord

  • Creating a database model
  • Adding records
  • Populating the database
  • Implementing search queries
  • Editing and deleting records
  • Validation
  • Scope

Chapter 6 Implementing associations

  • Overview of associations
  • 1-1 associations
  • 1-many associations
  • Many-many associations
  • Polymorphic associations

Chapter 7 Scaffolding

  • Overview of scaffolding
  • Creating a scaffold
  • Defining routes
  • Implementing the controller
  • Implementing views

Chapter 8 Going further with routes

  • Route naming conventions
  • Specifying parameters
  • Defining route constraints
  • Managing redirects
  • Selecting specific routes

Chapter 9 State management

  • Cookies
  • Session
  • Configuring session state

Chapter 10 Using JavaScript

  • The role of JavaScript in Rails
  • Using jQuery
  • Using CoffeeScript
  • JavaScript helpers
  • Ajax

Chapter 11 Additional techniques

  • Caching
  • Bundling
  • Internationalization
  • Testing
  • Deployment