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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Stephen Mizell
February 09, 2015
Technology
0
39
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
54
Pragmatic Hypermedia
smizell
1
92
Thinking and Discovering by Writing
smizell
1
63
The Joys of Functional Programming
smizell
0
53
Other Decks in Technology
See All in Technology
生成AIを活用した音声文字起こしシステムの2つの構築パターンについて
miu_crescent
PRO
3
240
旅先で iPad + Neovim で iOS 開発・執筆した話
zozotech
PRO
0
110
Azure Copilot Migration Agent / #jazug
koudaiii
1
100
Amazon Bedrock Knowledge Basesチャンキング解説!
aoinoguchi
0
170
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
490
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
580
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.7k
コミュニティが変えるキャリアの地平線:コロナ禍新卒入社のエンジニアがAWSコミュニティで見つけた成長の羅針盤
kentosuzuki
0
130
生成AIと余白 〜開発スピードが向上した今、何に向き合う?〜
kakehashi
PRO
0
180
SRE Enabling戦記 - 急成長する組織にSREを浸透させる戦いの歴史
markie1009
0
180
AIが実装する時代、人間は仕様と検証を設計する
gotalab555
1
710
Red Hat OpenStack Services on OpenShift
tamemiya
0
140
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Statistics for Hackers
jakevdp
799
230k
Test your architecture with Archunit
thirion
1
2.2k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
260
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
380
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
100
Mobile First: as difficult as doing things right
swwweet
225
10k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
210
Evolving SEO for Evolving Search Engines
ryanjones
0
130
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
110
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
260
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