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
API Strategy & Practice Conference
March 05, 2013
Technology
330
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
340
APIStrat 2016 | OpenAPI Trek: Beyond API Documentation (Arnaud Lauret)
apistrat
5
250
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
150
APIStrat 2016 | Effortless microservices in production with Kubernetes (Ken Wronkiewicz)
apistrat
0
190
Song by Tony Blank
apistrat
0
220
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
420
Developers Are Difficult by Andrew Noonan
apistrat
0
160
Other Decks in Technology
See All in Technology
サイバー捜査員研修(前半)
nomizone
1
2k
Agent 時代の Kaggle 展望 / kaggle-in-the-agentic-era
upura
1
750
会社紹介資料 / Sansan Company Profile
sansan33
PRO
23
430k
私がブラウザを自作したくなった理由
supurazako
1
240
モノリス Rails でも日中に rails db:migrate を走らせたい! / Daytime rails db:migrate on Monolithic Rails!
euglena1215
4
580
Bits Agent Builder の⼊⾨と活⽤事例
nulabinc
PRO
0
140
AWS ネットワーク構築でハマった(ハマりかけた) 5選とそこから得た教訓
nagisa53
4
220
今こそ聞きたいソフトウェア設計 ドメイン駆動設計再入門
masuda220
PRO
17
7.3k
まちスペース®とデジタルツインと「まちづくり」
hiro_ogi
0
120
ホームラボ紹介
y_sera15
0
180
カートの信頼性を担保するWireMockを使ったe2eテスト
ykagano
0
300
制約理論(ToC)入門 2026版
recruitengineers
PRO
8
2.3k
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
96
14k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
430
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
66
57k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
430
Writing Fast Ruby
sferik
630
63k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
1.1k
We Are The Robots
honzajavorek
0
300
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
ラッコキーワード サービス紹介資料
rakko
1
4.3M
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
410
Building Adaptive Systems
keathley
44
3.2k
What's in a price? How to price your products and services
michaelherold
247
13k
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