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
25
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
44
Pragmatic Hypermedia
smizell
1
75
Thinking and Discovering by Writing
smizell
1
42
The Joys of Functional Programming
smizell
0
40
Other Decks in Technology
See All in Technology
Oracle Cloudの生成AIサービスって実際どこまで使えるの? エンジニア目線で試してみた
minorun365
PRO
5
320
社内イベント管理システムを1週間でAKSからACAに移行した話し
shingo_kawahara
0
230
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
tomoki10
0
540
20241218_今年はSLI/SLOの導入を頑張ってました!
zepprix
0
220
OCI技術資料 : ファイル・ストレージ 概要
ocise
3
11k
10年もののバグを退治した話
n_seki
0
110
【令和最新版】ロボットシミュレータ Genesis x ROS 2で始める快適AIロボット開発
hakuturu583
2
1.2k
30分でわかるデータ分析者のためのディメンショナルモデリング #datatechjp / 20250120
kazaneya
PRO
0
360
組み込みアプリパフォーマンス格闘記 検索画面編
wataruhigasi
1
240
re:Invent をおうちで楽しんでみた ~CloudWatch のオブザーバビリティ機能がスゴい!/ Enjoyed AWS re:Invent from Home and CloudWatch Observability Feature is Amazing!
yuj1osm
0
150
ゼロから創る横断SREチーム 挑戦と進化の軌跡
rvirus0817
3
690
20241228 - 成為最強魔法使!AI 實時生成比賽的策略 @ 2024 SD AI 年會
dpys
0
250
Featured
See All Featured
Designing for humans not robots
tammielis
250
25k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Bash Introduction
62gerente
609
210k
BBQ
matthewcrist
85
9.4k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
97
17k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Typedesign – Prime Four
hannesfritz
40
2.4k
Automating Front-end Workflow
addyosmani
1366
200k
GraphQLとの向き合い方2022年版
quramy
44
13k
Rails Girls Zürich Keynote
gr2m
94
13k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.4k
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