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
470
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Sinatra is a Hammer
An ignite talk about Sinatra and Rails
Andrew Nesbitt
April 26, 2012
More Decks by Andrew Nesbitt
See All by Andrew Nesbitt
Ecosyste.ms Conference talk at EasyBuild User Meeting
andrew
0
480
Can my friends come too?
andrew
5
2.5k
Elasticsearch on Rails
andrew
1
520
24 Pull Requests
andrew
0
630
Hardware Hacking with JavaScript
andrew
1
390
Robotics 101
andrew
4
970
Learning how to Tinker
andrew
2
1.1k
Nodecopter Pivotal
andrew
1
210
BathRuby on Robots
andrew
0
170
Other Decks in Technology
See All in Technology
Bet AI Day 2026丨Production-Ready AI Agents — エンタープライズの実務を任せるための設計と運用
layerx
PRO
4
2.6k
こんなアーキテクチャ図は嫌だ BEYOND THE TIME: 半年後の自分へ贈る15のメッセージ / 15 of Anti-pattern in AWS Architecture Diagrams
naospon
3
270
Sigmaユーザーのための有用リソース一挙公開 & Sigmaで使えるMCP #sigma_ucj /useful-resources-for-sigma-computing-users-and-mcps-with-sigma
shinyaa31
0
170
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
3
370
2026-09-10 【Snowflake World Tour Tokyo 2026】dbt Core と Snowflake で実現する多層的なデータガバナンス / Multi-Layered Data Governance Powered by dbt Core and Snowflake
civitaspo
0
240
Claude Code本って、 読む必要あるの?
oikon48
1
150
推論の観測、できていますか? 〜 Google Cloud Gemini Enterprise Agent Platformで 3つの Gemini モデルを実測して踏んだ、評価の罠 〜
shukob
PRO
0
180
「図書館」という名前のままでいいのか -Code4Lib JAPANカンファレンス2026 アンカンファレンス報告- / Code4Lib JAPAN Conference 2026: Unconference Report
ykiyota
0
110
AI活用の現在地、 ちゃんと見えてますか?/XPfest-2026
visional_engineering_and_design
0
170
Reactの設計論
uhyo
10
3k
Snowflakeで実現する全社横断の顧客の声(VOC)分析・活用基盤@Snowflake World Tour Tokyo 2026
yuto16
0
120
[DroidKaigi 2026] Making UI specifications visible: Android UI development in the AI agent era supported by Compose Screenshot Testing and galleries
syarihu
0
610
Featured
See All Featured
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.3k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
970
Build your cross-platform service in a week with App Engine
jlugia
234
19k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
490
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
690
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
240
Docker and Python
trallard
47
4.2k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
230
So, you think you're a good person
axbom
PRO
2
2.1k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.1k
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”