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
API Versioning
Search
Joseph Hsu
October 02, 2012
Programming
1
1.4k
API Versioning
API Versioning in rails using Responders and Decorators.
Joseph Hsu
October 02, 2012
Tweet
Share
More Decks by Joseph Hsu
See All by Joseph Hsu
Ruby 2.0
jhsu
3
200
Git Hooks: How to Make Friends
jhsu
5
680
Other Decks in Programming
See All in Programming
Why 1 + 1 = 2 in Swift?
1plus4
1
240
Compiling Python to WebAssembly with py2wasm
syrusakbary
0
130
incrementalモデルの理解を深める
ikkimiyazaki
2
640
クソコード動画『カプセル化 Mk-II』 で考える 上手くカプセル化できない理由 / encapsulation2
minodriven
11
7.4k
Material 3で Material 2ぽい見た目にする
numeroanddev
2
250
LLMチャットボットのアプリケーション設計Tips
os1ma
4
650
htmx is fun!
codehex
2
190
Creating Retro-Style Photos Using Swift
ski
1
340
Laravel標準バリデーションでできること
hmb_ok
2
360
自作ソフト(VMagicMirror)がVRMA対応してる話+実装のTips
bakudreameater
0
110
TCAの Shared Stateって どういう仕組みになってんの?
yimajo
0
330
チームでモデリングを育てるうえで 考えたこと・気づいたこと / Cultivating Modeling in Teams: Thoughts and Insights
mackey0225
5
1.8k
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
Web development in the modern age
philhawksworth
201
10k
How GitHub Uses GitHub to Build GitHub
holman
467
290k
Being A Developer After 40
akosma
56
580k
Designing the Hi-DPI Web
ddemaree
275
33k
Atom: Resistance is Futile
akmur
258
25k
Happy Clients
brianwarren
91
6.3k
Why Our Code Smells
bkeepers
PRO
330
56k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
242
20k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
272
12k
Making Projects Easy
brettharned
106
5.4k
Pencils Down: Stop Designing & Start Developing
hursman
115
11k
Transcript
@jhsu / Josephhsu.com WNYRuby Lightning Talk 2 Oct., 2012 Versioning
an API Tuesday, October 2, 12
Hypermedia API Responders HATEOAS Tuesday, October 2, 12
Versioning Things Change. Tuesday, October 2, 12
Versioning Don’t break things, please. Tuesday, October 2, 12
Different ways * Param - http://blah.io/api/users?v=1.0 * URI - http://blah.io/api/v1/users
* Headers - http://blah.io/api/users (‘Accept’ header) Tuesday, October 2, 12
headers Accept: application/vnd.thing.v1+json Accept: application/vnd.github.v3+json Tuesday, October 2, 12
Implementation * Responders * Decorator Pattern (draper) Tuesday, October 2,
12
incoming code Tuesday, October 2, 12
Actioncontroller::REsponder #to_[format] Tuesday, October 2, 12
Tuesday, October 2, 12
Actioncontroller::REsponder #to_[format] Tuesday, October 2, 12
Tuesday, October 2, 12
controllers Tuesday, October 2, 12
Actioncontroller::REsponder #to_[format] Tuesday, October 2, 12
josephhsu.com Thanks. Tuesday, October 2, 12