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
The API is dead. Long live the protocol!
Search
Simon Tennant
September 20, 2013
Technology
5
390
The API is dead. Long live the protocol!
Speech at JSConf.eu
Simon Tennant
September 20, 2013
Tweet
Share
More Decks by Simon Tennant
See All by Simon Tennant
a different way to build social into Apps
imaginator
0
97
Other Decks in Technology
See All in Technology
Moved to https://speakerdeck.com/toshihue/presales-engineer-career-bridging-tech-biz-ja
toshihue
2
740
ハッキングの世界に迫る~攻撃者の思考で考えるセキュリティ~
nomizone
13
5.2k
Nekko Cloud、 これまでとこれから ~学生サークルが作る、 小さなクラウド
logica0419
2
960
自動テストの世界に、この5年間で起きたこと
autifyhq
10
8.5k
利用終了したドメイン名の最強終活〜観測環境を育てて、分析・供養している件〜 / The Ultimate End-of-Life Preparation for Discontinued Domain Names
nttcom
2
190
アジャイル開発とスクラム
araihara
0
170
Goで作って学ぶWebSocket
ryuichi1208
0
170
オブザーバビリティの観点でみるAWS / AWS from observability perspective
ymotongpoo
8
1.5k
Oracle Cloud Infrastructure:2025年2月度サービス・アップデート
oracle4engineer
PRO
1
210
ビジネスモデリング道場 目的と背景
masuda220
PRO
9
520
トラシューアニマルになろう ~開発者だからこそできる、安定したサービス作りの秘訣~
jacopen
2
2k
Classmethod AI Talks(CATs) #17 司会進行スライド(2025.02.19) / classmethod-ai-talks-aka-cats_moderator-slides_vol17_2025-02-19
shinyaa31
0
120
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
366
25k
A Tale of Four Properties
chriscoyier
158
23k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
Building Adaptive Systems
keathley
40
2.4k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Bash Introduction
62gerente
611
210k
Large-scale JavaScript Application Architecture
addyosmani
511
110k
Facilitating Awesome Meetings
lara
52
6.2k
Typedesign – Prime Four
hannesfritz
40
2.5k
How GitHub (no longer) Works
holman
314
140k
The Cult of Friendly URLs
andyhume
78
6.2k
Transcript
The API is dead, long live the protocol or how
we reinvent messaging
buddycloud
None
your client your API
your client your API
your client your API
API: standalone protocol: very useful when you want to interconnect
today the age of the quadrant once upon a time
back to the future
The ice cream of the internet Robert Scoble credit: http://www.flickr.com/photos/labyrinthx-2/
we solved this with email
[email protected]
friend@flickr.com
[email protected]
let me count the brokenness
so let’s build the future - requirements
so let’s build the future - requirements 1. structured messages
so let’s build the future - requirements 1. structured messages
2. anyone can host it
so let’s build the future - requirements 1. structured messages
2. anyone can host it 3. reliable
so let’s build the future - requirements 1. structured messages
2. anyone can host it 3. reliable 4. easy to implement
problem 1: addressing
[email protected]
[email protected]
[email protected]
query: _your-app-name._tcp.EXAMPLE.COM. result: IN SRV 5 0 443 server.EXAMPLE.COM. Problem
2: discovering remote servers
problem 3: discovering the API
problem 3: discovering the API https://buddycloud.example.com:443/api
webfinger: http://example.com/.well-known/API-server IANA service registry: http://www.iana.org/assignments/service-names- port-numbers
Problem 4: fast server resync
Problem 5: fast client resync
Problem 5: fast client resync
Problem 6: We still believe in privacy
• Diaspora • Freedom box • pump.io • buddycloud •
Mozilla persona • webRTC • &Yet personal cloud related projects
•W3C incubator •IANA •IETF •XMPP Standards Foundation your next steps
None
once upon a time v1.0 (31 Oct): full messaging/web/Android v1.1
WebRTC + channels v1.2 end-to-end encryption v1.3 Mozilla Persona integration used everywhere next
let’s redesign messaging for the next 30 years