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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
180
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.3k
用 Go 打造程式語言執行環境:實例剖析 [OSDC.tw 2014]
brucehsu
3
2.4k
pickbox @ OSDC.tw 2013 Lightning Talk
brucehsu
0
69
由Spanner來看Google資料庫的前世今生
brucehsu
4
310
Rapid Web Development by Example
brucehsu
3
3.1k
TechWed@CCU #0
brucehsu
2
540
Chromium OS
brucehsu
2
210
Other Decks in Programming
See All in Programming
守る「だけ」の優しいEMを抜けて、 事業とチームを両方見る視点を身につけた話
maroon8021
3
290
今更考える「単一責任原則」 / Thinking about the Single Responsibility Principle
tooppoo
3
1.4k
JPUG勉強会 OSSデータベースの内部構造を理解しよう
oga5
2
230
AIプロダクト時代のQAエンジニアに求められること
imtnd
2
710
Rで始めるML・LLM活用入門
wakamatsu_takumu
0
160
RubyとGoでゼロから作る証券システム: 高信頼性が求められるシステムのコードの外側にある設計と運用のリアル
free_world21
0
210
Fundamentals of Software Engineering In the Age of AI
therealdanvega
0
160
20260228_JAWS_Beginner_Kansai
takuyay0ne
5
440
Geminiの機能を調べ尽くしてみた
naruyoshimi
0
200
メタプログラミングで実現する「コードを仕様にする」仕組み/nikkei-tech-talk43
nikkei_engineer_recruiting
0
160
encoding/json/v2のUnmarshalはこう変わった:内部実装で見る設計改善
kurakura0916
0
310
Windows on Ryzen and I
seosoft
0
110
Featured
See All Featured
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
430
Done Done
chrislema
186
16k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
210
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
130
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.4k
A better future with KSS
kneath
240
18k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
The browser strikes back
jonoalderson
0
760
Unsuck your backbone
ammeep
672
58k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
60
51k
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?