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
SRE×AIOpsを始めよう!GuardDutyによるお手軽脅威検出
amixedcolor
0
120
個人でもIAM Identity Centerを使おう!(アクセス管理編)
ryder472
3
220
IBC 2024 動画技術関連レポート / IBC 2024 Report
cyberagentdevelopers
PRO
0
110
Amazon Personalizeのレコメンドシステム構築、実際何するの?〜大体10分で具体的なイメージをつかむ〜
kniino
1
100
Shopifyアプリ開発における Shopifyの機能活用
sonatard
4
250
信頼性に挑む中で拡張できる・得られる1人のスキルセットとは?
ken5scal
2
530
B2B SaaSから見た最近のC#/.NETの進化
sansantech
PRO
0
830
Amazon CloudWatch Network Monitor のススメ
yuki_ink
1
210
The Role of Developer Relations in AI Product Success.
giftojabu1
0
130
組織成長を加速させるオンボーディングの取り組み
sudoakiy
2
160
CysharpのOSS群から見るModern C#の現在地
neuecc
2
3.4k
【若手エンジニア応援LT会】ソフトウェアを学んできた私がインフラエンジニアを目指した理由
kazushi_ohata
0
150
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
243
12k
Designing the Hi-DPI Web
ddemaree
280
34k
KATA
mclloyd
29
14k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Writing Fast Ruby
sferik
627
61k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Art, The Web, and Tiny UX
lynnandtonic
297
20k
Producing Creativity
orderedlist
PRO
341
39k
Why Our Code Smells
bkeepers
PRO
334
57k
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