Ruby on Rails

From Script | Spoken-Tutorial
Revision as of 12:31, 7 January 2013 by Nancyvarkey (Talk | contribs)

Jump to: navigation, search

Ruby on Rails is the web framework meant for building web based application. Ruby on Rails is also called in short as Rails and RoR.

Ruby on Rails was extracted by David Heinemeier Hansson from his work on Basecamp, a project management tool by 37signals (now a web application company).

Ruby on Rails inherits the rich object oriented design from ruby programming language. Ruby code written in a specific convention to call as Ruby on Rails.

In August 2006 the framework reached a milestone when Apple announced that it would ship Ruby on Rails with Mac OS X v10.5 "Leopard" which was released in October 2007.


Programming Ruby :LEVEL 1

Introduction to Ruby

  • Installation of Ruby
  • Irb
  • Scalars
  • Variables and constants
  • Handling files in ruby

Control Statements

  • Understanding conditional statements and loops
  • If then else statement
  • Ternary Operator
  • Case statement, Iterators
  • Altering control flow statements

Collections

  • Arrays
  • Hashes
  • Sorting
  • Filtering

Programming Ruby:LEVEL 2

Introduction to Object Oriented Analysis and Design

  • Writing classes in ruby
  • Comparison of Linear and Object Oriented Design

Object Oriented Analysis-Ruby way

  • Encapsulation Polymorphism, and Inheritance
  • The three pillar of OOPS.
  • Ruby is duck typing.

Encapsulation and Object Space

  • Attributes of Ruby
  • Getter and Setter methods : attr_read, and attr_write
  • Understanding classes and instance objects
  • Introspection of Objects in run time, reflection in ruby.

Scope in Ruby

  • Method access in ruby public, private and protected
  • Virtual functions in ruby
  • scope in ruby

Inheritance

  • Inheritance in ruby
  • Mixin in ruby

Contributors and Content Editors

Afrin, Minal, Nancyvarkey