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
450
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
Can my friends come too?
andrew
5
2.1k
Elasticsearch on Rails
andrew
1
340
24 Pull Requests
andrew
0
490
Hardware Hacking with JavaScript
andrew
1
300
Robotics 101
andrew
4
650
Learning how to Tinker
andrew
2
830
Nodecopter Pivotal
andrew
1
92
BathRuby on Robots
andrew
0
88
Nodecopter - BristolJS
andrew
1
210
Other Decks in Technology
See All in Technology
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
2k
マルチアカウント環境への発見的統制の導入
ch1aki
1
1.3k
KubeCon EU 2024 Recap “Kubernetes Policy Time Machine: Where to Next?”
ryysud
0
200
プロトタイピングによる不確実性の低減 / Reducing Uncertainty through Prototyping
ohbarye
5
380
SPI原点回帰論:事業課題とFour Keysの結節点を見出す実践的ソフトウェアプロセス改善 / DevOpsDays Tokyo 2024
visional_engineering_and_design
4
1.9k
自己改善からチームを動かす! 「セルフエンジニアリングマネージャー」のすゝめ
shoota
6
250
どうするコスト最適化のトレードオフ
tetsuyaooooo
1
490
[新卒向け研修資料] テスト文字列に「うんこ」と入れるな(2024年版)
infiniteloop_inc
1
6.8k
元インフラエンジニアに成る / Human Resources to Human Relations
bobtani
4
890
「スニダン」開発組織の構造に込めた意図 ~組織作りはパッションや政治ではない!~
rinchsan
3
530
ワールドカフェI /チューターを改良する / World Café I and Improving the Tutors
ks91
PRO
0
120
チームでロジカルシンキングに改めて向き合っている話 〜学習環境と実践⽅法〜
sansantech
PRO
2
1.6k
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
325
20k
Done Done
chrislema
178
15k
Being A Developer After 40
akosma
57
580k
Ruby is Unlike a Banana
tanoku
96
10k
Scaling GitHub
holman
457
140k
Documentation Writing (for coders)
carmenintech
60
3.9k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Writing Fast Ruby
sferik
621
60k
Building an army of robots
kneath
300
41k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
20
1.9k
Product Roadmaps are Hard
iamctodd
44
9.7k
Building Your Own Lightsaber
phodgson
99
5.7k
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”