Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Decouple your mobile services
Search
Romain
September 25, 2013
Programming
65
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Decouple your mobile services
Creating a tailored RESTful API so your app and services can evolve separately
Romain
September 25, 2013
Transcript
19 slides
Decouple your! mobile API now …don’t be sorry later !
Sept 2013 Romain Prieto
None
BREAKING CHANGE
None
defensive / fallbacks con0nuous checks consumer-‐driver contracts
Display list of products sorted by MagicRank © unless on
sale only best rated
Where does that logic sit? Even if it’s UI related…
will you want to tweak it remotely? à Custom tailored services
Many capabilities
GET /products { id: 1, name: “chair” }, { id:
2, name: “table” } GET /products/1 { price: 30, image: “…” }
POST /cart/items { productId: 1, quantity: 4 } URI changes?
…refactoring Host changes? …micro-services …infrastructure upgrades
GET /products [{ id: 1, name: “chair”, details: “/products/1” }]
DATA
GET /config { cart: “/cart/items” } GET /products/1 { cart:
“/cart/items/1“, … } SERVICES or
SINGLE PROXY
DISCOVERABLE SERVICES
None
http://mark-kirby.co.uk/2013/creating-a-true-rest-api/ http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven http://madhatted.com/2013/3/19/suggested-rest-api-practices http://offers.apigee.com/web-api-design-ebook/ http://kinderman.net/2010/06/23/approaching-pure-rest-learning-to-love-hateoas http://stateless.co/hal_specification.html https://kenai.com/projects/suncloudapis/pages/CloudAPIBackupRequests a few more
URLs
{ "op": "restore-Backup", "progress": 0, "target_uri": "/vms/33333/backups/456", "status_uri": "/statuses?op=restore-Backup&vm=3&b=456" }
SunCloud API (2009)
<link href="http://api-public.netflix.com/catalog/ titles/series/70023522/cast" rel="http:// schemas.netflix.com/catalog/people" title="cast"> <cast> <link href="http://api-public.netflix.com/catalog/ people/30011713"
rel="http://schemas.netflix.com/ catalog/person" title="Steve Carell” /> <link href="http://api-public.netflix.com/catalog/ people/30014922" rel="http://schemas.netflix.com/ catalog/person" title="John Krasinski” /> Netflix
None
More Decks by Romain
See All by Romain
JavaScript dependency management in a post-Node world
romainprieto
0
160
CSS Workshop - The basics
romainprieto
0
58
Other Decks in Programming
See All in Programming
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
420
どうしても Eloquent でリポジトリパターンをやりたいんだ #phpcon_niigata / phpcon-niigata-2026
shogogg
0
670
imagewebp()の向こう側: WebPはなぜ JPEG・PNGより軽いのか
yuzneri
0
150
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
200
Claude Code ハーネスDeep Dive – 君はどこまで制御する? -
takateeen_knj
6
6.3k
flutter_test のその先へ — Flutter アプリの LLM 機能に「評価」という品質保証を
kosukesaigusa
0
210
[DroidKnights 2026] Workflow AX 적용기 — 자동 정책 정리부터 E2E까지
dayeon
0
120
ローカルLLMの基本と近況 2611 / Local LLM basics and recent situation 2611
kishida
3
660
Ruby から Emacs を操作したい
phigasui
0
390
[Kotlin Fest 2026] eBPF Tracing for Kotlin
takehaya
1
400
AppFunctionsの内部実装を紐解く
hiroaki404
0
120
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
390
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
1
320
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k
Marketing to machines
jonoalderson
1
6k
エンジニアに許された特別な時間の終わり
watany
109
250k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
Abbi's Birthday
coloredviolet
5
11k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
340
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
Optimising Largest Contentful Paint
csswizardry
37
4k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Documentation Writing (for coders)
carmenintech
77
5.7k