Rails advantages and techniques<br />    SATHISH KUMAR MARIAPPAN<br />
Ruby on Rails - it does scale<br />         			        • Fast, agile development<br />			        •Framework based on Ruby<...
INNOPPL<br />      Why Ruby On Rails?<br />
INNOPPL<br />	Fast Development<br />
INNOPPL<br /><ul><li>  CRUD</li></ul>•  Scaffolding (if you really need to)<br />•  DRY<br />•  AJAX<br />• acts_as_someth...
INNOPPL<br />Maintainable<br />
INNOPPL<br /><ul><li> Very readable code</li></ul>• Implemented documentation system (RDOC)<br />• Tests makes sure you do...
INNOPPL<br />Model View Controller<br />
INNOPPL<br />		Model View Controller<br />• Interface to the database<br />• Business Logic goes here<br />• For the DataB...
INNOPPL<br />			Model View Controller<br /><ul><li> Link between DB (model) and User (view)</li></ul>• HTTP / Sessions / C...
INNOPPL<br />		Model View Controller<br /><ul><li> Web Interface</li></ul>• What the client sees<br />•  For the Designer<...
INNOPPL<br />			Model View Controller<br /><ul><li> Link between DB (model) and User (view)</li></ul>• HTTP / Sessions / C...
INNOPPL<br />		Test-Driven Development<br /><ul><li>Write tests first
 FAIL</li></ul>• Implement<br />• SUCCEED<br /><ul><li> Clean Up</li></ul>• Check-In to Version Management<br />
INNOPPL<br />20.minutes.ago<br />polymorphism<br />1.gigabyte<br />time_ago_in_words<br />prototype<br />Rails features<br...
INNOPPL<br />CONTACT DETAILS<br />            Sathish Kumar Mariappan<br />                Innoppl Technologies<br /> E-ma...
Upcoming SlideShare
Loading in...5
×

Advantages of Rails Framework

719

Published on

Rails advantages and techniques

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total Views
719
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

Advantages of Rails Framework

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

    Clipping is a handy way to collect important slides you want to go back to later.

×