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
Building Web 2.0 APIs
Search
Szu-Kai Hsu (brucehsu)
March 21, 2013
Programming
1
150
Building Web 2.0 APIs
Szu-Kai Hsu (brucehsu)
March 21, 2013
Tweet
Share
More Decks by Szu-Kai Hsu (brucehsu)
See All by Szu-Kai Hsu (brucehsu)
Running Life Lean
brucehsu
0
170
Core Unleashed Part II: Introduction to GobiesVM (and STM) @ RubyKaigi 2014
brucehsu
0
2.1k
[RubyConf.tw 2014] Cores unleashed - Exploiting Parallelism in Ruby with STM
brucehsu
0
2.2k
用 Go 打造程式語言執行環境:實例剖析 [OSDC.tw 2014]
brucehsu
3
2.4k
pickbox @ OSDC.tw 2013 Lightning Talk
brucehsu
0
58
由Spanner來看Google資料庫的前世今生
brucehsu
4
280
Rapid Web Development by Example
brucehsu
3
3.1k
TechWed@CCU #0
brucehsu
2
510
Chromium OS
brucehsu
2
200
Other Decks in Programming
See All in Programming
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
350
AI時代のUIはどこへ行く?
yusukebe
6
1.9k
Namespace and Its Future
tagomoris
6
680
Kiroの仕様駆動開発から見えてきたAIコーディングとの正しい付き合い方
clshinji
1
180
ソフトウェアテスト徹底指南書の紹介
goyoki
1
130
CloudflareのChat Agent Starter Kitで簡単!AIチャットボット構築
syumai
1
300
Vue・React マルチプロダクト開発を支える Vite
andpad
0
110
AWS発のAIエディタKiroを使ってみた
iriikeita
1
140
rage against annotate_predecessor
junk0612
0
150
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
290
Rancher と Terraform
fufuhu
2
180
DockerからECSへ 〜 AWSの海に出る前に知っておきたいこと 〜
ota1022
5
1.9k
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
184
22k
How to train your dragon (web standard)
notwaldorf
96
6.2k
GitHub's CSS Performance
jonrohan
1032
460k
Unsuck your backbone
ammeep
671
58k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
Visualization
eitanlees
147
16k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
A designer walks into a library…
pauljervisheath
207
24k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.5k
Designing for Performance
lara
610
69k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Transcript
Building Web 2.0 APIs Szu-Kai Hsu (brucehsu)
WHO Szu-Kai Hsu (brucehsu) https://speakerdeck.com/brucehsu Full-time student at CCU CSIE
Part-time keyboard critic
Web 2.0 is SOCIAL
Web 2.0 is
Web 2.0 is
Web 2.0 is OPEN
So, Why another wheel?
It may not fit our needs
It may be abandoned For example, Google Reader
It may be abandoned For example, Google Reader
HOW?
The old fashion way /API/getMessageForCurrentUser /API/postResponseToMessage API Design, /API/DeleteLatestMessage
HTTP revisited GET POST PUT DELETE
URI revisited /Photo/Maobo/20130317 /Post/5566 /User/brucehsu
Combined → POST /Photo/Maobo DELETE /Post/5566 GET /User/brucehsu REST Retrieve
user data
Combined → POST /Photo/Maobo DELETE /Post/5566 GET /User/brucehsu REST Delete
certain post
Combined → POST /Photo/Maobo DELETE /Post/5566 GET /User/brucehsu REST Upload
new photo to album
XML Seriously? <user> <id>5566</id> <account>brucehsu</account> <friends> <friend id=”9527”>GoodMan</friend> </friends> </user>
JSON {5566: { “account”: “brucehsu”, “friends”: [{9527: “GoodMan”}] } }
https://speakerdeck.com/brucehsu/rapid-web-development- by-example
None
None
Thank you! Any question?