Ruby-on-Rails - A 3 Day Course
Synopsis
Ruby-on-Rails is a web application framework. Following the principles of DRY (Don’t Repeat Yourself) and “Convention over Configuration”, Ruby-on-Rails enables web application developers to create dynamic and easily deployed websites in a very short amount of time. Based on the powerful Ruby language Rails is a set of Ruby templates and scripts used to build an entire web application and connect with a wide variety of database back-ends.
This training will help a beginner to gain an understanding of the basics of web applications and work your way to developing a full-on web application.
Course Objectives
After completing this course, delegates will be able to:
- Program in Ruby
- Understand the Rails Framework
- Harness the speed and ease of developing a Rails application
- Create and use XML in Rails applications
- Use Ajax in Rails applications
- Build dynamic database-driven web sites
Intended Audience
Anyone involved in editing or writing copy for corporate websites, intranets or email communication.
Prerequisites
Delegates are required to have a solid knowledge of HTML.
Additional knowledge of XML, SQL and any Server Side / Object Orientated programming Language would be an advantage.
Publicly scheduled dates, locations, and prices
A schedule of dates for this subject is not currently available. Please call 0800 651 0338 or use our contact form to enquire about places and availability.
Course Contents
What Rails Is
- Web Applications & Rails
- What Rails can Do
- Where Rails Came From
- Rails Philosophies
- More Rails Philosophies
- MVC
- Model
- Controller
Tools
- Command Line
- Text Editor
- Rails & Ruby Overview
Rails & Ruby In Detail
- Rails Application Directory
- Rails Scripts
- Generate Script
- Generate Script - Models
- Generate Script - Controllers
- Generate Script - Mailer
- Generate Script - Scaffold
- Generate Script - Other Generators
- Server Script
- Console Script
The Basics
- Your First Rails Application
- Creating a MySQL Database
- Connecting to MySQL with Rails
- Generating a Model
- Basic Links
- Basic Forms
Models
- ActiveRecord
- Attributes
- Date-Time Fields
- Primary Keys
Advanced Models
- Model Relationships
- Model Relationships - One-to-One
- Model Relationships - One-to-Many
- Model Relationships - Many-to-Many
- Basic Searches
- Advanced Searches
Scaffolding
- What is Scaffolding
- Modifying Scaffolding Pt.1
- Modifying Scaffolding Pt.2
Controllers
- What are Controllers
- Routing
- URL Generation
- Cookies
- Sessions
- Talking Between Actions
- Filters
Views
- What are Views
- RHTML
- Assistance
- More Assistance
- Assistance - Forms
- Assistance - Text Fields & Areas
- Text Field & Area Tags
- Form Assistance - Date/Time Fields
- Form Assistance - Selection Lists
- Form Assistance - Radio Buttons & Checkboxes
- Form Assistance - File Uploads Pt.1
- Form Assistance - File Uploads Pt.2
- Form Assistance - Links
- Pagination
- Layouts
- Partial Page Templates
Testing
- What is Testing
- Testing Models
- Testing Controllers
Security
- Security Overview
- SQL Issues
- CSS Issues
Ajax
- What is AJAX or Web 2.0
- Some GUI Tricks
- Some More Tricks
Deployment
- Choosing a Production Platform
- Basics of Deployment
- Backups
Finishing It Up
- Rails Resources
- Where to Go Next
