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
380
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
Godot Engineについて調べてみた
unsoluble_sugar
0
360
シフトライトなテスト活動を適切に行うことで、無理な開発をせず、過剰にテストせず、顧客をビックリさせないプロダクトを作り上げているお話 #RSGT2025 / Shift Right
nihonbuson
3
2.1k
🌏丸い地球を効率的に平たくする 〜🗺️地図の幾何学とWeb地図技術〜
syotasasaki593876
0
140
30分でわかるデータ分析者のためのディメンショナルモデリング #datatechjp / 20250120
kazaneya
PRO
22
4.7k
コロプラのオンボーディングを採用から語りたい
colopl
5
940
技術に触れたり、顔を出そう
maruto
1
140
Docker Desktop で Docker を始めよう
zembutsu
PRO
0
140
Goで実践するBFP
hiroyaterui
1
120
2025年に挑戦したいこと
molmolken
0
150
JAWS-UG20250116_iOSアプリエンジニアがAWSreInventに行ってきた(真面目編)
totokit4
0
130
Amazon Route 53, 待ちに待った TLSAレコードのサポート開始
kenichinakamura
0
130
Git scrapingで始める継続的なデータ追跡 / Git Scraping
ohbarye
5
460
Featured
See All Featured
Site-Speed That Sticks
csswizardry
2
250
Embracing the Ebb and Flow
colly
84
4.5k
Bash Introduction
62gerente
610
210k
The Cult of Friendly URLs
andyhume
78
6.1k
Practical Orchestrator
shlominoach
186
10k
Building an army of robots
kneath
302
45k
Designing Experiences People Love
moore
139
23k
Music & Morning Musume
bryan
46
6.3k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Gamification - CAS2011
davidbonilla
80
5.1k
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