Ruby on Rails
Upcoming SlideShare
Loading in...5
×
 

Ruby on Rails

on

  • 510 views

 

Statistics

Views

Total Views
510
Views on SlideShare
510
Embed Views
0

Actions

Likes
0
Downloads
3
Comments
0

0 Embeds 0

No embeds

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…
Post Comment
Edit your comment

Ruby on Rails Ruby on Rails Presentation Transcript

  • Ruby on Rails Presented by: Michael Koza
  • What is Ruby on Rails?
    • Ruby on Rails is an open-source framework for developing web-based Ruby applications.
    • It uses the MVC (Model View Controller) architecture to separate logic from the interface like most web frameworks.
    • Designed to make development time of web-based applications quicker and simpler.
    • Built on the design philosophies known as Convention of Configuration and Don’t Repeat Yourself.
  • Design Philosophies
    • Convention over Configuration
      • The developer only needs to change the code where the expected result would be different than convention (i.e. with variable names)
    • Don’t Repeat Yourself
      • All data is kept in one uniform place
      • Makes database interaction easier on the developer
  • Ruby
    • Similar to Python
      • Single pass interpreted language but supports OOP
    • All variables are pointers to objects
    • Designed with ease to program in, not so much speed efficiency of code.
  • Features
    • MVC
    • Scaffolding
      • Allows you to generate your models and views for basic pages
      • Creates the basic interactions that the pages have with each other
    • Extensive support of JavaScript / AJAX frameworks
      • for GUI and page interactions
      • Comes with Prototype and Script.aculo.us JS frameworks pre-packaged
  • Other useful features
    • Rails supports Object-Relational Mapping
      • Converts database data into virtual objects to make modifications easier
      • Eliminates SQL coding
      • Makes maintenance easier
    • Supports Unit Testing
      • Allows the developer to test their code easily
    • Can validate forms easily
      • No need to write complicated JS functions to validate data in a form
  • Where is it used?
    • http://twitter.com/
      • Similar to Facebook
    • http://www.backpackit.com/
      • Similar to Google Groups
      • Everything is drag and drop using Rails and AJAX
  • More Info on Rails
    • http://www.rubyonrails.org/
    • http://railsurls.com/
    • http://railsforum.com/