Battle on the Ruby Arena: Rails vs Sinatra

15
vs. With love, by Hassen Taidirt twitter.com/htaidirt linkedin.com/in/htaidirt

description

Now that you are a Ruby developer, you might wonder what framework to choose for your web application: Rails or Sinatra. This simple guide will help you, in less than 2 minutes, to choose the right framework for your killing application. Contact me to discuss more.

Transcript of Battle on the Ruby Arena: Rails vs Sinatra

Page 1: Battle on the Ruby Arena: Rails vs Sinatra

vs.

With love, by Hassen Taidirt

twitter.com/htaidirtlinkedin.com/in/htaidirt

Page 2: Battle on the Ruby Arena: Rails vs Sinatra

What Ruby frameworkdo I have to choose

for my next Web Application ?

Ruby on Rails vs. Sinatra

Fight…

Page 3: Battle on the Ruby Arena: Rails vs Sinatra

Ruby on Rails

Focused on writingModel Driven Web Apps

Page 4: Battle on the Ruby Arena: Rails vs Sinatra

Sinatra

Focused on dealing withHTTP from the server side

Page 5: Battle on the Ruby Arena: Rails vs Sinatra

Ruby on Rails

For big projects(full website integration)

Page 6: Battle on the Ruby Arena: Rails vs Sinatra

Sinatra

For micro-style projects(API & small sites)

Page 7: Battle on the Ruby Arena: Rails vs Sinatra

Ruby on Rails

Assumes everything shouldbe solved by a single tool

This makes more assumptionsabout your application

Page 8: Battle on the Ruby Arena: Rails vs Sinatra

Sinatra

You choose the toolssuitable for your project

Requires the developer to spend more time thinking about

architecture & tooling

You own your code

Page 9: Battle on the Ruby Arena: Rails vs Sinatra

Ruby on Rails

Opinionated conventions

“Convention Over Configuration”

Page 10: Battle on the Ruby Arena: Rails vs Sinatra

Sinatra

YOU CHOOSE WHAT YOU WANT

Page 11: Battle on the Ruby Arena: Rails vs Sinatra

Ruby on Rails

You will

Start heavier& thenremove unnecessary things

Page 12: Battle on the Ruby Arena: Rails vs Sinatra

Sinatra

You will

Start lighter& then

add necessary things

Page 13: Battle on the Ruby Arena: Rails vs Sinatra

Ruby on Rails (conclusion)

Better if you just want“To get things done”

Page 14: Battle on the Ruby Arena: Rails vs Sinatra

Sinatra (conclusion)

Better if you want tocontrol everything

& use your own opinions

Page 15: Battle on the Ruby Arena: Rails vs Sinatra

So, what framework will you choose for your

next project?

Hassen Taidirt – [email protected] -- twitter.com/htaidirt