api-first development at etsy | api strategy & practice ams 2014
Post on 19-May-2015
2.982 Views
Preview:
DESCRIPTION
TRANSCRIPT
API-First Development at EtsyBuilding a Unified API for a Multi-Screen World
@wrighty
Who Am I?Paul Wright
Infrastructure Engineer
Core Platform
What is Etsy?
@wrighty
Etsy is the marketplace we make together.
Etsy Seller: AHeirloom
Etsy Seller: AHeirloom
Etsy Seller: AHeirloom
Etsy Seller: AHeirloom
Etsy Seller: AHeirloom
Etsy isGlobal
Etsy Seller: WildandFreeDesigns
@wrighty
Quick Stats
@wrighty
In 2013,Etsy Sellers MadeOver 1 Billion USD
@wrighty
Etsy isMulti-Platform
APIv2
@wrighty
The Good
@wrighty
Kick StartedThird-PartyCommunity
@wrighty
Powers EtsyNative Apps
@wrighty
Serves Needs of Sellers
@wrighty
The Bad
@wrighty
Resources MirrorDB Schemas
@wrighty
Client DictatesComplexity
RESTNot
AlwaysBest
Etsy Seller: GalaBorn
@wrighty
Multiple Requests for one
Client View
@wrighty
Access Control
AddsComplexity
Etsy Seller: BlueRoseRetro
APIv3
@wrighty
Domain Resources, not Row Resources
@wrighty
Push Complexityto Server
Concurrency
Etsy Seller: StudioLiscious
@wrighty
Relax REST Constraints
Bespoke
Etsy Seller: HouseofSeance
@wrighty
Make Access Control Explicit
Perspectives
Etsy Seller: urbanantique
@wrighty
PerspectivesEncapsulate who is making a call
Abstracts authentication
Three main ones: Public, Member & Shop
API-First
Database
Business Logic
Web ControllerAPIv2
Business Logic
Database
APIv3
Business Logic
@wrighty
Thanks!
top related