Riding IronRuby on Rails

Post on 13-Jan-2015

2.711 views 0 download

Tags:

description

My presentation from NDC2010 about Ruby on Rails and IronRuby.

Transcript of Riding IronRuby on Rails

Riding IronRuby on

Rails Shay Friedman

shay@ironshay.com

http://IronShay.com

@ironshay

The Internet

ASP/ASP.NET PHP

ColdFusion More…

Riding IronRuby on Rails

Shay Friedman Dynamic Languages Leader

shay@ironshay.com http://IronShay.com

@ironshay

Agenda • Introduction

• Main Concepts

• D-E-M-O

• Getting Started

• Q&A

• Summary

Introduction • Started by David Heinemeier Hansson from 37signals

• Released to the public on 2004 and gained

popularity on 2006

• Current version is 2.3.8

Introduction - IronRuby • Microsoft’s implementation of the Ruby language.

• Provides integration with .NET objects.

Main Concepts • MVC

Model

Controller View

Main Concepts • Model-View-Controller

• REST and Routing

http://mysite.com/books/1

BooksController Id = 1

Target Action HTTP Method

show GET

update POST

destroy DELETE

Main Concepts • Model-View-Controller

• REST and Routing

• DRY

Main Concepts • Model-View-Controller

• REST and Routing

• DRY

• CoC

Main Concepts • Model-View-Controller

• REST and Routing

• DRY

• CoC

• Testability

Main Concepts • Model-View-Controller

• REST and Routing

• DRY

• CoC

• Testability

• Extensibility

Demo

Getting Started • Ruby on Rails

o http://rubyonrails.org

• IronRuby o http://IronRuby.net

• IronRuby on Rails Documentation o http://ironruby.net/Documentation/Real_Ruby_Applications/Rails

• IronRuby.Rack o ironruby / Merlin / Main / Hosts / IronRuby.Rack

More Ruby Today • During launch: Ruby Meetup

• Right after launch

o Room 5 – ASP.NET MVC Vs. Ruby on Rails

o Room 6 – Ben Hall, Tesing C# and ASP.NET Applications with Ruby

Q&A

Summary • Introduction

• Main concepts o MVC, REST, DRY, CoC, Testability, Extensibility

• Getting Started

Thank You!

Shay Friedman shay@ironshay.com

http://IronShay.com

@ironshay