Ruby on Rails

This course describes how to write database-backed Web Applications using the Ruby on Rails (also pronounced RoR, or Rails) Framework. Students are taken through the various steps of creating a full-fledged Web Application. Topics include the MVC paradigm, object relational mapping, fill in forms, sessions, validation techniques, testing, and various other Rails topics.

STUDENTS ENROLLED

    • Chapter 1: An Overview Of Ruby on Rails
      1. What is Ruby on Rails?
      2. Downloading Rails
      3. A Rails Application
      4. Structure of a Rails Application
      5. Building the Controller
      6. Views
      7. A Quick Review
      8. Rails Conventions
      9. Embedded Ruby
      10. Extended Time Functions
      11. The render Method
      12. The link_to Method
      13. One Last Thought
    • Chapter 2: Fill in Forms
      1. Introduction
      2. Creating a Form
      3. Submitting a Form
      4. Other Form Elements – Checkboxes
      5. Radio Buttons
      6. Rails Helper Methods
      7. Loading the Form
      8. Submitting the Form
      9. Perspective
    • Chapter 3: Databases and Rails
      1. Review of MVC
      2. Entities and Relationships
      3. Databases and Models
      4. database.yml
      5. Adding the Model
      6. Migrations
      7. The Index Page
      8. The Ruby Console
      9. Listing the Rows of a Database Table
      10. Scaffolding
    • Chapter 4: Validation Techniques
      1. Introduction
      2. form_for
      3. Data Validation
      4. Required Fields
      5. Validating Numerical Fields
      6. Validating Uniqueness
      7. Validating Lengths
      8. Validating Formats
      9. Writing Your Own Validation Methods
      10. The errors Object
      11. Validation Summary
    • Chapter 5: Style
      1. Adding Style to Your Application
      2. The Actions and the Templates
      3. Displaying the New Templates
      4. Higher Level Templates
      5. Adding Style
      6. Cascading Style Sheets
      7. More Style
    • Chapter 6: Users
      1. Introduction
      2. Maintaining State
      3. Preparing an Application for Sessions
      4. Registering Users
      5. Registration
      6. The flash Hash
      7. Validation of the Form
      8. Logging In
      9. Logging Out
      10. Protected Pages
      11. Filters
    • Chapter 7: Putting it All Together
      1. Introduction
      2. The Business Application
      3. Database Terminology
      4. Linking Two Models
      5. Adding Tasks
      6. The Database Tables
      7. Displaying an Employee Task
      8. Deleting a Task
      9. Listing Both Employees and Tasks
      10. Migrations
      11. application_helpers.rb
      12. Editing a Record
      13. Summary
    • Chapter 8: Testing the Application
      1. Introduction
      2. Test::Unit
      3. Testing Your Own Classes
      4. Testing in Rails � Unit Testing
      5. Testing Models
      6. Fixtures
      7. Testing Controllers
      8. test_helper.rb
      9. rake
      10. ntegration Testing

    A typical student in this course has either been tasked with writing a Rails application, or has been tasked with evaluating the Rails framework. Thus, this course should be attended by developers and managers alike, and possibly system administrators.

    Students should have been through a course in the Ruby Programming language. They should also have an understanding of HTML. Students should also have experience with a SQL compliant database such as MySQL.

    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 .rhtml (template) files
    • Understand the Create, Read, Update, and Destroy (CRUD) paradigm
    • Validate Model data
    • Test Rails applications
    • Use the Rails console to debug applications

    • PC Workstation for use during training
    • Student Manual

    Course Reviews

    N.A

    ratings
    • 5 stars0
    • 4 stars0
    • 3 stars0
    • 2 stars0
    • 1 stars0

    No Reviews found for this course.

    © Euler. All rights reserved.
    X
    Contact Us to Register