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
460
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
110
Other Decks in Technology
See All in Technology
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
200
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
590
こんなところでも(地味に)活躍するImage Modeさんを知ってるかい?- Image Mode for OpenShift -
tsukaman
0
140
AWS Network Firewall Proxyを触ってみた
nagisa53
1
230
What happened to RubyGems and what can we learn?
mikemcquaid
0
300
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
140
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
380
配列に見る bash と zsh の違い
kazzpapa3
1
150
OCI Database Management サービス詳細
oracle4engineer
PRO
1
7.4k
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
940
Introduction to Bill One Development Engineer
sansan33
PRO
0
360
Featured
See All Featured
Music & Morning Musume
bryan
47
7.1k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Docker and Python
trallard
47
3.7k
Designing for Timeless Needs
cassininazir
0
130
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Navigating Team Friction
lara
192
16k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Designing Experiences People Love
moore
144
24k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
830
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
220
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