Only What

Non-Developers

Need to Know About

Ruby and

Ruby on Rails

by Max Beizer

whoami

Ruby

is not the same thing as

Ruby on Rails

Ruby is a

Language

Rails is a

Framework

A Framework is

Packaged Code

Written in a

Given Language

Ruby

Yukihiro

Matsumoto

or just

Matz

Ruby 1.0

25 December, 1996

Features

Object oriented // Single inheritance // Mixins // Metaclasses // Dynamically-typed // Duck typing // Everything is an expression // Imperative execution // Flexible sytnax // DSLs // Metaprogramming // Lexical closures, iterators and generators, with a unique block syntax // Literal Notation // String Interpolation // Default arguments //

So many more...

That's Nice, Dear

Ruby

often reads like

English

Actual Valid Ruby

exit unless "restaurant".include? "aura"

h/t Why the Lucky Stiff

Ruby Ethos

TIMTOWTDI

MINSWAN

"Ruby was

designed

to make

programmers happy"

-- Matz

Rails

David

Heinemeier

Hansson

or just

DHH

Rails 1.0

13 December, 2005

Ethos

Convention

Over

Configuration

Don't

Repeat

Yourself

Model

View

Controller

All Rails apps

are organized

the same way*

*sort of

Common

Features

Become

Easy to Build

Why Use

Ruby and Rails?

Many

Competitors

Exist

Security Issues

Scalability Issues

According to

BuiltWith.com

Of all sites

using a framework

0.55%

are Rails

Of the top 10k sites

using a framework

3.00%

are Rails

Using Ruby on Rails

Github

Hulu

Shopify

Yammer

Scribd

So Why Use

Ruby on Rails

Again?

Rapid

Happy

Development

Questions?