Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Sinatra is a Hammer
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Andrew Nesbitt
April 26, 2012
Technology
3
470
Sinatra is a Hammer
An ignite talk about Sinatra and Rails
Andrew Nesbitt
April 26, 2012
Tweet
Share
More Decks by Andrew Nesbitt
See All by Andrew Nesbitt
Ecosyste.ms Conference talk at EasyBuild User Meeting
andrew
0
340
Can my friends come too?
andrew
5
2.3k
Elasticsearch on Rails
andrew
1
470
24 Pull Requests
andrew
0
570
Hardware Hacking with JavaScript
andrew
1
360
Robotics 101
andrew
4
870
Learning how to Tinker
andrew
2
990
Nodecopter Pivotal
andrew
1
170
BathRuby on Robots
andrew
0
150
Other Decks in Technology
See All in Technology
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
240
Cosmos World Foundation Model Platform for Physical AI
takmin
0
870
【Oracle Cloud ウェビナー】[Oracle AI Database + AWS] Oracle Database@AWSで広がるクラウドの新たな選択肢とAI時代のデータ戦略
oracle4engineer
PRO
2
140
OpenShiftでllm-dを動かそう!
jpishikawa
0
100
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
140
ブロックテーマでサイトをリニューアルした話 / 2026-01-31 Kansai WordPress Meetup
torounit
0
460
20260204_Midosuji_Tech
takuyay0ne
1
150
MCPでつなぐElasticsearchとLLM - 深夜の障害対応を楽にしたい / Bridging Elasticsearch and LLMs with MCP
sashimimochi
0
170
FinTech SREのAWSサービス活用/Leveraging AWS Services in FinTech SRE
maaaato
0
130
Azure Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/jat08
thara0402
0
180
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
190
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
Featured
See All Featured
The Invisible Side of Design
smashingmag
302
51k
RailsConf 2023
tenderlove
30
1.3k
Making Projects Easy
brettharned
120
6.6k
KATA
mclloyd
PRO
34
15k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
290
The Cult of Friendly URLs
andyhume
79
6.8k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
65
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
30 Presentation Tips
portentint
PRO
1
210
How STYLIGHT went responsive
nonsquared
100
6k
[SF Ruby Conf 2025] Rails X
palkan
1
750
Transcript
1 Sinatra is a Hammer
2 Websites CSS, Javascript, Forms Emails, Admin, Database Caching, Security
3 Sinatra doesn't give you any of those things
4 Rails is a better hammer
6 Rails gives you lots for free Caching Emailing Migrations
Autoloading Testing View helpers Asset pipeline Generators Namespacing Activerecord
7 And things you might not realize Data seeding Localization
Mountable Engines Cookie abstraction Browser standards mode Session deserialization
8 But wait there’s more... Complex Routing Handling of IP
Spoofing Automatic reloading in development Deserialization of content types like JSON, XML Content negotiation to automatically support MIMEs
9 Security Encrypted cookie store CSRF protection XSS protetion Mass
assignment SQL injection projection Secure password (rails 3.1) Log filtering
10 Community People Plugins Tutorials Shared problems Popular apps
11 Spiking Scaffold code Ship fast Turn into production app
17
12 The enforced structure
13 Maintainability
13 Predicability
14 Work smarter
15 You are not a beautiful or unique snowflake
16 The downsides of using rails Performance Learning curve Hammertime
18 Padrino Good bits of rails built on top of
Sinatra Structure Helpers Performance
19 What is sinatra good for? Non-trivial middleware to support
larger Embedded web interfaces Non-standard apps Internal services Applications Tiny apps Hacking Fun
20 “It depends”