Upload
hassen-taidirt
View
271
Download
2
Embed Size (px)
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.
Citation preview
vs.
With love, by Hassen Taidirt
twitter.com/htaidirtlinkedin.com/in/htaidirt
What Ruby frameworkdo I have to choose
for my next Web Application ?
Ruby on Rails vs. Sinatra
Fight…
Ruby on Rails
Focused on writingModel Driven Web Apps
Sinatra
Focused on dealing withHTTP from the server side
Ruby on Rails
For big projects(full website integration)
Sinatra
For micro-style projects(API & small sites)
Ruby on Rails
Assumes everything shouldbe solved by a single tool
This makes more assumptionsabout your application
Sinatra
You choose the toolssuitable for your project
Requires the developer to spend more time thinking about
architecture & tooling
You own your code
Ruby on Rails
Opinionated conventions
“Convention Over Configuration”
Sinatra
YOU CHOOSE WHAT YOU WANT
Ruby on Rails
You will
Start heavier& thenremove unnecessary things
Sinatra
You will
Start lighter& then
add necessary things
Ruby on Rails (conclusion)
Better if you just want“To get things done”
Sinatra (conclusion)
Better if you want tocontrol everything
& use your own opinions
So, what framework will you choose for your
next project?
Hassen Taidirt – [email protected] -- twitter.com/htaidirt