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
250
Can my friends come too?
andrew
5
2.3k
Elasticsearch on Rails
andrew
1
410
24 Pull Requests
andrew
0
540
Hardware Hacking with JavaScript
andrew
1
330
Robotics 101
andrew
4
780
Learning how to Tinker
andrew
2
920
Nodecopter Pivotal
andrew
1
150
BathRuby on Robots
andrew
0
130
Other Decks in Technology
See All in Technology
Eval-Centric AI: Agent 開発におけるベストプラクティスの探求
asei
0
130
僕たちが「開発しやすさ」を求め 模索し続けたアーキテクチャ #アーキテクチャ勉強会_findy
bengo4com
0
2.5k
마라톤 끝의 단거리 스퍼트: 2025년의 AI
inureyes
PRO
1
760
形式手法特論:位相空間としての並行プログラミング #kernelvm / Kernel VM Study Tokyo 18th
ytaka23
3
1.4k
生成AI時代におけるAI・機械学習技術を用いたプロダクト開発の深化と進化 #BetAIDay
layerx
PRO
1
1.2k
Strands Agents & Bedrock AgentCoreを1分でおさらい
minorun365
PRO
8
350
AIに頼りすぎない新人育成術
cuebic9bic
3
310
Rubyの国のPerlMonger
anatofuz
3
740
意志の力が9割。アニメから学ぶAI時代のこれから。
endohizumi
1
100
LTに影響を受けてテンプレリポジトリを作った話
hol1kgmg
0
370
Claude Codeは仕様駆動の夢を見ない
gotalab555
23
6.8k
Foundation Model × VisionKit で実現するローカル OCR
sansantech
PRO
1
390
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Fireside Chat
paigeccino
38
3.6k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
332
22k
The Invisible Side of Design
smashingmag
301
51k
Side Projects
sachag
455
43k
Unsuck your backbone
ammeep
671
58k
Done Done
chrislema
185
16k
KATA
mclloyd
32
14k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Into the Great Unknown - MozCon
thekraken
40
2k
The Language of Interfaces
destraynor
158
25k
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”