Training Calendar

Mon Tue Wed Thu Fri Sat Sun
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

psmb

Total Visitors


Today: 1
This Week: 12
Last Week: 6
This Month: 23
Last Month: 185
Total: 46494

Developing Web Applications with Ruby on Rails

 

Course Overview

Ruby on Rails course describes how to write database-backed Web Applications using the Ruby on Rails (also pronounced RoR, or Rails) Framework. In this Ruby on Rails 4 days training course, students are taken through the various steps of creating a full-fledged Web Application and this course provides a solid foundation in Ruby as well as Rails. Students are taken through the various steps of creating a full-fledged Web Application. Students will learn to create database-driven websites using Ruby on Rails either static or dynamic pages. They will learn to install Ruby and Rails, to program in Ruby and on Rails applications.

 

 

Benefits of Attendance

Upon completion of this course, students will be able to:

  • Download and install Rails along with various other products that allow one to write Rails applications
  • Understand the Model, View, Controller paradigm and how this applies to Rails applications
  • Understand the directory structure of a Rails application
  • Build non-trivial database backed Web Applications
  • Understand the ActiveRecord classes and how they wrap database tables
  • Understand the interplay between various controller actions and .erb (embedded Ruby) files
  • Understand the Create, Read, Update, and Destroy (CRUD) paradigm
  • Validate Model data
  • Use the Rails console to debug applications

 

Prerequisites

Have knowledge and/or experience in HTML,CSS, SQL,PHP and JavaScript programming.

 

Ruby On Rails – Schedule

Day 1

09.00am – 10.00am

An Overview Of Ruby on Rails

  • What is Ruby on Rails?
  • Overview of Rails Components
  • Installing Rails
  • A Simple Rails Application
  • Starting the Rails Server
10.00am – 10.30am

Breakfast

10.30am – 01.00pm

  • Static Pages Within a Rails Application
  • The Structure of a Rails Application
  • Generating a Controller
  • Rendering the View
  • Adding a Static Page
  • Dynamic Pages with Embedded Ruby
  • Using the render Method
  • Using the link_to Method

01.00pm – 02.00pm

Lunch

02.00pm – 05.00pm

Rails and HTML Forms

  • A Basic HTML Form
  • Processing an HTML Form
  • Working With Form Data
  • Other Form Elements
  • Form Tag Helpers

Day 2

09.00am – 10.00am

Databases and Rails

  • Review of the MVC Architecture
  • Entities and Relationships
  • Databases and Models
  • Rails Database Conventions

10.00am – 10.30am

Breakfast

10.30am – 01.00pm

  • Adding a Model
  • Database Migrations
  • The Rails Database Console
  • Creating a Rails View of a Database Table
  • Scaffolding
  • RESTful Routes and Resources

01.00pm – 02.00pm

Lunch

02.00pm – 05.00pm

Form Helpers and Validation

  • Introduction
  • Form Helpers and form_for
  • Processing Form Helpers
  • From Form to Database
  • Redirection
  • Data Validation

                                                                        Day 3

09.00am – 10.00am

  • Validation Helpers
  • The presence Validator
  • The numericality Validator
  • The uniqueness Validator
  • The length Validator
  • The format Validator

10.00am – 10.30am

Breakfast

10.30am – 01.00pm

  • Custom Validation Methods
  • The errors Object
  • Displaying Validation Errors in the View

Adding Style to an Application

  • Styling
  • Rails and Sass
  • Cascading Style Sheets

01.00pm – 02.00pm

Lunch

02.00pm – 05.00pm

Users

  • Introduction
  • Configuring an Application for Sessions
  • Registering Users
  • The Register Action

Day 4

09.00am – 10.00am

  • The flash Hash
  • Validating the Registration
  • Logging in
  • Logging Out
  • Protected Pages
  • Filters

10.00am – 10.30am

Breakfast

10.30am – 01.00pm

Putting it All Together

  • Introduction
  • The Business Application
  • Database Terminology
  • Linking Two Models
  • Adding Tasks
  • The Database Tables

01.00pm – 02.00pm

Lunch

02.00pm – 05.00pm

  • Displaying Employee Tasks
  • Deleting a Task
  • Listing Employees and Tasks
  • Migrations
  • Editing a Record
  • Summary