Radhika Technosoft head
Ruby on rails online training
Radhika Technosoft head

Ruby on Rails, often simply Rails, is an open source web application framework which runs via the Ruby programming language. It is a full-stack framework: it allows creating pages and applications that gather information from the web server, talk to or query the database, and render templates out of the box. As a result, Rails features a routing system that is independent of the web server.

Ruby on Rails emphasizes the use of well-known software engineering patterns and principles, such as active record pattern, convention over configuration (CoC), don't repeat yourself (DRY), and model–view–controller (MVC).

1. Getting Started with Rails

Installing Rails

Platform requirements

  • Supported database back ends
  • Ruby installation
  • Instant Rails for Windows

Creating a new application

  • The 'rails' command
  • Tour of the Rails application layout

Application configuration and bootstrapping

  • Creating the databases
  • Configuring database.yml
  • Setting the default route

Connecting to a Rails application

  • Controller/action/id URL semantics
  • Dispatcher and routing roadmap
  • Basic custom route creation
  • Examining the log files

Rails tools

  • Managing tasks with rake (Ruby make)
  • The application console

The Model/View/Controller (MVC) framework architecture

  • Separation of concerns
  • MVC in the application directory layout

The Rails philosophy: "Convention over configuration"

Version control manager (git, GitHub)

Plugins and Gems

Ruby Language Skills and Techniques

Running Ruby

  • Command-line Ruby
  • The Interactive Ruby (irb) console

Objects, variables, and methods

  • Basic object-orientation concepts
  • Naming conventions
  • Variable assignment
  • Local vs. instance variables
  • Method-calling semantics
  • Method arguments and return values

Classes and modules

  • Instantiating classes
  • Mixing in modules
  • Modules as namespaces

Built-in classes

  • String
  • Array
  • Hash
  • Symbol
  • Numeric's

Blocks and iterations

  • Blocks vs. methods vs. lambdas
  • Collection iteration
  • Single-object iteration

Model Design and Database Management

Domain modeling for Rails and Ruby

  • Describing the "what" of the application
  • Creating Active Record models with "generate"

Object-relational mapping with ActiveRecord

  • ActiveRecord models and Ruby classes
  • ActiveRecord associations
    -One-to-one, one-to-many
    -Many-to-many

"Rails-friendly" SQL

  • Table-naming conventions
  • Primary and foreign keys

Database maintenance with ActiveRecord Migrations

  • Default migrations
  • Customizing migrations
  • Migrating backwards

Controller Actions and View Templates

Basics of controller/view interaction

  • Creating controllers and views with "generate"
  • Default rendering rules
  • Shared controller/template instance variables
  • Separating controller logic from view specifics

HTML templating with Embedded Ruby (ERb)

  • Rules of ERb processing
  • Layouts
  • Using master and partial templates

Fine-tuning controllers and view

  • Controller filters
  • Redirecting requests
  • Default and custom view helper methods

Writing and processing HTML forms in Rails

  • Using form helper methods
  • "Magic" field initialization from instance variables
  • Accessing CGI data through the "params" hash

Ajax calls and RJS (Ruby/JavaScript) templates

  • Basic DOM updating with Ajax
  • Using RJS for composite Ajax calls

Application Testing

Rails unit tests

  • The Ruby TestUnit framework
  • Writing fixtures
  • Addressing test failures and errors

Functional (controller) tests

  • Triggering controller requests from tests
  • Examining controller responses

Ruby and Rails Resources

Mailing lists

Websites

Books

IRC channels

our services Radhika Technosoft head RADHIKA Technosoft, a pioneer in software training has brought monumental changes in the methods and services offered. We're not an organization who puts across implausible claims. Since our inception, our services are exactly what we promised. On a given note, our service offerings are Online training, Corporate training, Certification, Web development and Job support.

our courses Radhika Technosoft head RADHIKA Technosoft is one of the trusted training institutes that offer online training for WEBSPHERE, SAP, ORACLE, PROFESSIONAL COURSES, works with a mission to make online software learning easier for all the students across the world.

Radhika Technosoft our courses websphere
Radhika Technosoft our courses sap
Radhika Technosoft our courses oracle
Radhika Technosoft our courses professional courses
Radhika Technosoft our courses java
Radhika Technosoft our courses microsoft
Radhika Technosoft our courses tibko
Radhika Technosoft our courses websphere
Radhika Technosoft our courses sap
Radhika Technosoft our courses oracle
Radhika Technosoft get in touch

Radhika Technosoft get in touch message get in touch
Feel free to get in touch with us.

contact us

Radhika Technosoft
No.1, 4th floor ideal home township,
Raja Rajeshwari Nagar,
Bangalore - 560098

social network
  • Facebook
    Radhika Technosoft Social icon
  • Linkedin
    Radhika Technosoft Social icon
  • Twitter
    Radhika Technosoft Social icon
  • Google Plus
    Radhika Technosoft Social icon

Copyrights @ All rights reserved | Privacy Policy | Sitemap Login

Scroll Up