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
330
24 Pull Requests
andrew
0
490
Hardware Hacking with JavaScript
andrew
1
300
Robotics 101
andrew
4
640
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
疲弊しない!AWSセキュリティ統制の考え方 #devio_osakaday1
masahirokawahara
6
5.9k
シン・Kafka / shin-kafka
oracle4engineer
PRO
7
2.7k
巨大なテーブルのテーブル定義を無停止で安全に誰でも変更できるようにする / Table-definitions-for-huge-tables-can-be-modified-by-anyone-safely-and-non-disruptively
freee
1
740
小さな開発会社がWebサービスを作る理由
polidog
PRO
1
150
コードを書く隙間を見つけて生きていく技術/Findy 思考の現在地
fujiwara3
24
5k
Vertex AI を中心に 生成AIのアップデートを共有します
kaz1437
0
120
ユーザーストーリーのレビューを自動化したみたの
bun913
1
310
NgRx Signal Store
rainerhahnekamp
0
110
なぜ NOT A HOTEL が Web3 に取り組むのか - NOT A HOTEL TECH TALK
ynunokawa
0
160
A (short) History of AI
harishpillay
0
110
Tebiki株式会社 エンジニア採用資料
tebiki
0
4.1k
NLP2024 参加報告LT ~RAGの生成評価と懇親戦略~ / nlp2024_attendee_presentation_LT_masuda
taro_masuda
1
200
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
301
110k
Music & Morning Musume
bryan
41
5.6k
Building Adaptive Systems
keathley
30
1.8k
Embracing the Ebb and Flow
colly
79
4.1k
Designing the Hi-DPI Web
ddemaree
276
33k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Building a Modern Day E-commerce SEO Strategy
aleyda
16
6.3k
Bash Introduction
62gerente
604
210k
Build your cross-platform service in a week with App Engine
jlugia
225
17k
Raft: Consensus for Rubyists
vanstee
132
6.2k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.9k
Gamification - CAS2011
davidbonilla
76
4.6k
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”