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
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
Claude_CodeでSEOを最適化する_AI_Ops_Community_Vol.2__マーケティングx_AIはここまで進化した.pdf
riku_423
2
540
セキュリティについて学ぶ会 / 2026 01 25 Takamatsu WordPress Meetup
rocketmartue
1
300
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
210
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.1k
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.3k
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
920
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
17k
Cosmos World Foundation Model Platform for Physical AI
takmin
0
830
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
OCI Database Management サービス詳細
oracle4engineer
PRO
1
7.4k
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
0
880
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
350
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Are puppies a ranking factor?
jonoalderson
1
2.7k
Balancing Empowerment & Direction
lara
5
880
Chasing Engaging Ingredients in Design
codingconduct
0
110
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
62
49k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
820
Everyday Curiosity
cassininazir
0
130
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.9k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
KATA
mclloyd
PRO
34
15k
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”