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
40
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
55
Pragmatic Hypermedia
smizell
1
95
Thinking and Discovering by Writing
smizell
1
66
The Joys of Functional Programming
smizell
0
54
Other Decks in Technology
See All in Technology
「お金で解決」が全てではない!大規模WebアプリのCI高速化 #phperkaigi
stefafafan
5
2.3k
「通るまでRe-run」から卒業!落ちないテストを書く勘所
asumikam
2
770
Agent Skill 是什麼?對軟體產業帶來的變化
appleboy
0
240
Why we keep our community?
kawaguti
PRO
0
290
AI時代のIssue駆動開発のススメ
moongift
PRO
0
270
Astro Islandsの 内部実装を 「日本で一番わかりやすく」 ざっくり解説!
knj
0
290
The essence of decision-making lies in primary data
kaminashi
0
110
モジュラモノリス導入から4年間の総括:アーキテクチャと組織の相互作用について / Architecture and Organizational Interaction
nazonohito51
7
4.2k
データマネジメント戦略Night - 4社のリアルを語る会
ktatsuya
1
390
昔話で振り返るAWSの歩み ~S3誕生から20年、クラウドはどう進化したのか~
nrinetcom
PRO
0
100
Amazon Qはアマコネで頑張っています〜 Amazon Q in Connectについて〜
yama3133
1
140
スピンアウト講座03_CLAUDE-MDとSKILL-MD
overflowinc
0
1.4k
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
463
34k
From π to Pie charts
rasagy
0
160
Mobile First: as difficult as doing things right
swwweet
225
10k
How to train your dragon (web standard)
notwaldorf
97
6.6k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
91
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
80
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
850
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.4k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Faster Mobile Websites
deanohume
310
31k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
Odyssey Design
rkendrick25
PRO
2
560
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