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
Hypermedia Primer
Search
Stephen Mizell
February 09, 2015
Technology
0
18
Hypermedia Primer
The quickest hypermedia primer
Stephen Mizell
February 09, 2015
Tweet
Share
More Decks by Stephen Mizell
See All by Stephen Mizell
Going Beyond JSON: Representers, ASTs, and Code
smizell
0
30
Pragmatic Hypermedia
smizell
1
69
Thinking and Discovering by Writing
smizell
1
39
The Joys of Functional Programming
smizell
0
38
Other Decks in Technology
See All in Technology
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
2.1k
チームでロジカルシンキングに改めて向き合っている話 〜学習環境と実践⽅法〜
sansantech
PRO
3
2.7k
家族アルバム みてねにおけるGrafana活用術 / Grafana Meetup Japan Vol.1 LT
isaoshimizu
1
780
VS CodeでAWSを操作しよう
smt7174
8
1.7k
リテール金融(キャッシュレス・ネット銀行・ネット証券)の競争環境と経済圏
8maki
0
1.3k
Delivering Millions of Messages within seconds @ Duolingo
pelelgrino
0
350
[新卒向け研修資料] テスト文字列に「うんこ」と入れるな(2024年版)
infiniteloop_inc
4
16k
生産性向上チームの紹介
cybozuinsideout
PRO
1
870
「スニダン」開発組織の構造に込めた意図 ~組織作りはパッションや政治ではない!~
rinchsan
3
570
アクセス制御にまつわる改善 / Improving access control
itkq
0
550
Vertex AI を中心に 生成AIのアップデートを共有します
kaz1437
0
310
現代CSSフレームワークの内部実装とその仕組み
poteboy
7
3.6k
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
42
12k
The Cult of Friendly URLs
andyhume
74
5.7k
The Brand Is Dead. Long Live the Brand.
mthomps
49
29k
Design by the Numbers
sachag
274
18k
Visualization
eitanlees
136
14k
The Mythical Team-Month
searls
216
42k
Typedesign – Prime Four
hannesfritz
36
2.1k
Atom: Resistance is Futile
akmur
259
25k
Clear Off the Table
cherdarchuk
84
310k
Faster Mobile Websites
deanohume
299
30k
Documentation Writing (for coders)
carmenintech
60
3.9k
Web development in the modern age
philhawksworth
202
10k
Transcript
Quickest Primer Ever For Hypermedia
REST stands for...?
Representational State Transfer
First, what REST is not
What REST Isn't 1. CRUD 2. Pretty URLs 3. JSON
4. HTTP Verbs
It is not about exposing your database
But we design apps this way
None
None
If we use a state machine, then how do we
transfer state from server to client?
Instead of transfering state, we transfer representations of state
Hence, Representational State Transfer
But what about state transitions?
Hypermedia
HATEOAS Hypermedia as the the engine of application state
The client relies on the server to tell it what
it can do
Affordances
Example: Beer glass
Beer Glass: Empty State 1. Drink? No 2. Add beer?
Yes 3. Complain of lack of beer? Yes
Beer Glass: Half Full State 1. Drink? Yes 2. Add
beer? Yes 3. Complain of lack of beer? Yes
Beer Glass: Full State 1. Drink? Yes 2. Add beer?
No 3. Complain of lack of beer? No
Code time