Advantages of Rails Framework
Upcoming SlideShare
Loading in...5
×
 

Advantages of Rails Framework

on

  • 815 views

Rails advantages and techniques

Rails advantages and techniques

Statistics

Views

Total Views
815
Views on SlideShare
814
Embed Views
1

Actions

Likes
0
Downloads
1
Comments
1

1 Embed 1

http://a0.twimg.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • Nice Sathish... you too started loving Rails :)
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Advantages of Rails Framework Advantages of Rails Framework Presentation Transcript

  • Rails advantages and techniques
    SATHISH KUMAR MARIAPPAN
  • Ruby on Rails - it does scale
    • Fast, agile development
    •Framework based on Ruby
  • INNOPPL
    Why Ruby On Rails?
  • INNOPPL
    Fast Development
  • INNOPPL
    • CRUD
    • Scaffolding (if you really need to)
    • DRY
    • AJAX
    • acts_as_something
  • INNOPPL
    Maintainable
  • INNOPPL
    • Very readable code
    • Implemented documentation system (RDOC)
    • Tests makes sure you don’t break anything
  • INNOPPL
    Model View Controller
  • INNOPPL
    Model View Controller
    • Interface to the database
    • Business Logic goes here
    • For the DataBaseAdmin
    class User < ActiveRecord::Base
    has_many:tasks
    end
    class Task < ActiveRecord::Base
    belongs _to :user
    end
  • INNOPPL
    Model View Controller
    • Link between DB (model) and User (view)
    • HTTP / Sessions / Cookies / Post / Get
    • For the Developer
    class TaskController < ApplicationController
    def index
    @tasks = User.find(session[:user_id]).tasks
    end
    end
  • INNOPPL
    Model View Controller
    • Web Interface
    • What the client sees
    • For the Designer
    ...
    <body>
    <% @tasks.each do |task| %>
    <div class=’task’>
    <%= task.content %> is <%= task.status %>
    </div>
    <% end %>
    </body>
  • INNOPPL
    Model View Controller
    • Link between DB (model) and User (view)
    • HTTP / Sessions / Cookies / Post / Get
    • For the Developer
    class TaskController < ApplicationController
    def index
    @tasks = User.find(session[:user_id]).tasks
    end
    end
  • INNOPPL
    Test-Driven Development
    • Write tests first
    • FAIL
    • Implement
    • SUCCEED
    • Clean Up
    • Check-In to Version Management
  • INNOPPL
    20.minutes.ago
    polymorphism
    1.gigabyte
    time_ago_in_words
    prototype
    Rails features
    find_by_sql
    has_and_belongs_to_many
    <%= debug object %>
    cache
    group_by
    link_to_remote
    routes
    REST
    titleize
    delegate
  • INNOPPL
    CONTACT DETAILS
    Sathish Kumar Mariappan
    Innoppl Technologies
    E-mail : sathishkumar.m@innoppl.com
  • INNOPPL
    Thank You