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
300
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
86
Other Decks in Technology
See All in Technology
サービス成長と共に肥大化するモノレポ、長くなるCI時間 / As services grow, monorepos get bigger and CI time gets longer
kohbis
5
2k
任意コード実行の原理
ffri
0
170
AWS アーキテクチャクイズ
yuu26
2
700
私のRSpecの書き方 / How I write RSpec
tmtms
4
820
LLM + RAG を使った SORACOM Support Bot の裏側の歴史
soracom
PRO
1
640
既存プロセスからの脱却と変化に適応するために必要なこと
cybozuinsideout
PRO
2
170
Tohoku.Tech #1 「EC-CUBE/AWSの構築をChatGPTに相談してみました」by テンダ
jun2882
0
140
関数型DDDの理論と実践:「決定を遅らせる」を先につくり、 ビジネスの機動力と価値をあげる
knih
2
470
あらゆる商品を扱う商品データベースを再設計した話 / product db re-architecture
rince
8
3.6k
Tohoku.Tech #1 「Cursorを使ったRaspberry Piの開発」by ねこまた
jun2882
0
250
MongoDB Atlas Vectorsearchではじめる生成AIアプリ開発
chie8842
3
510
OCI Data Integration技術情報 / ocidi_technical_jp
oracle4engineer
PRO
1
1.5k
Featured
See All Featured
Infographics Made Easy
chrislema
237
18k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
39
4.3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
1
1.2k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
113
18k
GraphQLの誤解/rethinking-graphql
sonatard
48
9.1k
How GitHub (no longer) Works
holman
301
140k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
240
1.2M
No one is an island. Learnings from fostering a developers community.
thoeni
14
2k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
272
12k
Fashionably flexible responsive web design (full day workshop)
malarkey
397
65k
How STYLIGHT went responsive
nonsquared
92
4.7k
Web development in the modern age
philhawksworth
201
10k
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