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 APIs for the Enterprise
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
API Strategy & Practice Conference
March 05, 2013
Technology
320
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Hypermedia APIs for the Enterprise
by Jon Moore @ Apistrat NYC (Feb. 2013)
API Strategy & Practice Conference
March 05, 2013
More Decks by API Strategy & Practice Conference
See All by API Strategy & Practice Conference
APIStrat 2016 | The end of polling: why and how to transform a REST API into a Data Streaming API (Audrey Neveu)
apistrat
12
330
APIStrat 2016 | OpenAPI Trek: Beyond API Documentation (Arnaud Lauret)
apistrat
5
240
APIStrat 2016 | Flying Dreams: Real-Time Communication from the Edge of Space (Jonathan Barton, Neha Abrol)
apistrat
1
180
APIStrat 2016 | On-prem support? That was so 1982 (Charlie Ozinga)
apistrat
0
140
APIStrat 2016 | Effortless microservices in production with Kubernetes (Ken Wronkiewicz)
apistrat
0
180
Song by Tony Blank
apistrat
0
210
API Lifecycle Manager by Steve Fonseca
apistrat
2
280
APIs In The Enterprise: How Walgreens Formed It's Digital Business by Drew Schweinfurth
apistrat
1
410
Developers Are Difficult by Andrew Noonan
apistrat
0
150
Other Decks in Technology
See All in Technology
MUSUBI 田中裕一『AIと共に行う「しごとのリデザイン」- スモールバックオフィス編』AI Ops Lab #4
musubi
0
300
データレイクの「見えない問題」を可視化する
sansantech
PRO
1
190
「軸足」は 固定しなくていい - 熱量と強みで描く、しなやかなキャリアの形
kakehashi
PRO
1
230
徹底討論!ECS vs EKS!
daitak
3
1.3k
Agile and AI Redmine Japan 2026
hiranabe
4
450
AIネイティブな開発のサプライチェーンリスク対策 〜激動の開発現場でリスクに立ち向かう〜【ZennFes】
cscengineer
PRO
2
150
5分でわかるDuckDB Quack
chanyou0311
2
220
AWS Security Hub CSPMの成功・失敗体験
cmusudakeisuke
0
510
生成 AI 実践ガイド (概略版) AIガバナンス編
asei
0
170
“詰む”前に仕組みを作れ 〜技術の波に溺れないためのキャッチアップ術〜
takasyou
7
3.5k
現場のトークンマネジメント
dak2
1
170
AIチャットの改善から見えた、良いAI体験とは / What Constitutes a Good AI Experience: Insights from Improving AI Chat
kubode
0
110
Featured
See All Featured
Unsuck your backbone
ammeep
672
58k
30 Presentation Tips
portentint
PRO
1
330
Test your architecture with Archunit
thirion
1
2.3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
300
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
140
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
320
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Producing Creativity
orderedlist
PRO
348
40k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
400
Transcript
Hypermedia APIs for the Enterprise Jon Moore (@jon_moore)
Technical Fellow, Chief Engineer
How do you scale a development team?
How do you scale a development team?
Amdahl’s Law hDp://en.wikipedia.org/wiki/File:Amdahl_march_13_2008.jpg (Pkivolowitz at en.wikipedia)
Need to operate independently…
Conway’s Law Melvin E. Conway, “How do commiDees invent?”,
Datama%on, 14(4):28—31, April 1968.
Will tend to build their own widgets…
Loose coupling hDp://www.flickr.com/photos/usnaYonalarchives/3695598804/ (public domain)
Essen@al Components of an API DOMAIN MODEL OPERATIONS &
WORKFLOW INVOCATION MECHANICS
Domain Models TVEpisode TVSeason TVSeries part-‐of-‐season
part-‐of-‐series part-‐of-‐series “The Simpsons” name
Workflow: Client Applica@on State START Search Results
Cart Item Detail Shipping & Billing Payment ConfirmaYon
Mechanics for Transi@ons POST /api/widgets HTTP/1.1 Host: www.example.com Content-Type:
application/json Content-Length: 13 {‘foo’:‘bar’} method URI formaeng of request body
Evolvability: “Must Ignore” hDp://www.flickr.com/photos/johnsnape/4258191545/ by John Snape (CC BY
2.0)
Evolving Models TVEpisode TVSeason TVSeries part-‐of-‐season
part-‐of-‐series part-‐of-‐series “The Simpsons” name Video associated-‐media
Evolving Workflow START Search Results Cart
Item Detail Shipping & Billing Payment ConfirmaYon update qty edit Gii Message submit
What is this mythical content type?
HTML5 Microdata (schema.org) <div itemscope=“1” itemtype=“http://schema.org/TVSeries”> <span itemprop=“name”>The Simpsons</span>
</div>
Link Rela@ons: IoC for Workflow author next prev first
last edit index item search http://example.com/my-rel
Links and Forms: Request Recipes hDp://www.flickr.com/photos/naYonalarchives/4157825846/ (UK NaYonal Archives,
public domain, c. 1624)
• SemanYc markup • RDFa: hDp://www.w3.org/TR/xhtml-‐rdfa-‐primer/ • JSON-‐LD:
hDp://json-‐ld.org/ • Hypermedia controls • CollecYon+JSON: hDp://amundsen.com/media-‐types/collecYon/ • HAL: hDp://stateless.co/hal_specificaYon.html • Siren: hDps://github.com/kevinswiber/siren • Link relaYons • IANA registry: hDp://www.iana.org/assignments/link-‐relaYons/link-‐relaYons.xml • Link header: hDp://tools.ieq.org/html/rfc5988 Related Work
• Enterprises ≈ collecYon of ADs • Independent Evolvability
is the key to scale – Domain model (“where am I?”) – Workflow (“what can I do next?”) – Mechanics (“how do I do it?”) • HTML5 offers an exisYng, pracYcal opYon for building hypermedia APIs • Efforts underway to duplicate this for JSON Conclusions