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
460
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
8
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
660
Learning how to Tinker
andrew
2
830
Nodecopter Pivotal
andrew
1
97
BathRuby on Robots
andrew
0
89
Other Decks in Technology
See All in Technology
Taking Flight with Tailwind CSS
opdavies
0
4.3k
Trade-offs all the way down
_aitor
1
120
サービス開発におけるVue3とTypeScriptの親和性について
tsukuha
10
1.8k
エムスリーマルチデバイスチーム紹介資料 / Introduction of M3 Multi Device Team
m3_engineering
1
180
回り回って効いてくる副次的効果としての技術広報/techpr
nishiuma
2
210
エムスリーQAチーム紹介資料 / Introduction of M3 QA Team
m3_engineering
1
340
OPENLOGI Company Profile for engineer
hr01
1
2.2k
【TSkaigi】2024/05/11 当日スライド
kimitashoichi
14
4.1k
.NET GraphQL Client のリアル
sansantech
PRO
1
550
Google Cloud Next '24 Recap in ZOZO AIにより変わる開発 運用/Development and operation changed by AI
gachimuchiengineer
0
300
Databricksの生成AI戦略
taka_aki
1
390
Google Cloud Next '24 Recap in ZOZO AIに対応したBigQueryと今後のデータ分析について / AI-enabled BigQuery and future data analysis
shunsuke1014
0
190
Featured
See All Featured
Thoughts on Productivity
jonyablonski
60
3.9k
Build The Right Thing And Hit Your Dates
maggiecrowley
25
2k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
245
20k
Clear Off the Table
cherdarchuk
86
310k
Visualization
eitanlees
137
14k
Navigating Team Friction
lara
179
13k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
9
1.4k
Being A Developer After 40
akosma
67
580k
How to name files
jennybc
65
94k
Become a Pro
speakerdeck
PRO
13
4.6k
The Mythical Team-Month
searls
217
42k
Optimising Largest Contentful Paint
csswizardry
13
2.4k
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”