API First

902 views

Published on

API First talk from Gluecon '14, talking about putting the API behind all of your products and having a single stack. Presenter notes are included and probably necessary for when you don't have my interpretive dance to watch.

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
902
On SlideShare
0
From Embeds
0
Number of Embeds
100
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Cloud printing/mailing service
    API based product
    Everything external/internal uses APIs
  • Backed into API first with Mobile first
    Users clamoring for website, no resources available to provide it
    Opened up their API, third party developers made some nice websites
  • API Management Company
    Strong commitment to supporting APIs
    All functionality is available via API
  • Global company, 18 million items, 60 million monthly visitors, 25 million members
    Etsy sellers made over 1 billion dollars in 2013
    v2 API - standard REST, clients made multiple requests for a single view
    Access control added complexity
    Duplicated code and business logic
    v3 - domain resources, not row resources (not driven by DB schema)
    scripting for more complex requests (for multiple related resources) using bespoke
    Improved communication between backend and frontend engineers
    Faster iterations, more confidence in API
    Activity Feed went from asynchronous to on-demand, from minutes to sub-second
    http://www.slideshare.net/PaulWright9
  • Cat photo ends any intelligent discussion on the internet
    … but I’d love to hear your questions!
  • API First

    1. 1. API Ninja@3scale I’ve worked with REST APIs since 2005 - Socialtext, Netflix, LinkedIn I spend time telling API providers how to make APIs that don’t make developers cry, and telling developers how to use APIs without crying Generally committed to reducing frustration in the world ! About me: Kirsten Hunter @synedra on twitter http://www.princesspolymath.com
    2. 2. * Dedicated resources * Excellent developer experience/support * Consistent with website features
    3. 3. * Duplicate code/business logic * Resource contention (engineers) * Inconsistent interfaces * Poor communication between backend and API engineers
    4. 4. * All products run from the same API * Takes MVC to the next level, decoupling front end from back end * Enforces consistency within interfaces * Allows mobile and 3rd party clients to stay current with website * Allows for quick iterations
    5. 5. * You already have a model that's working for you * You don't have the time/resources to add an extra layer * You're never ever going to have a second product * You only want the external API to do a couple of things * These are all examples of short-term thinking
    6. 6. * Cloud printing/mailing service * API based product * Everything external/internal uses APIs
    7. 7. * Backed into API first with Mobile first * Users clamoring for website, no resources available to provide it * Opened up their API, third party developers made some nice websites
    8. 8. * API Management Company * Strong commitment to supporting APIs * All functionality is available via API
    9. 9. * Global company, 18 million items, 60 million monthly visitors, 25 million members * Etsy sellers made over 1 billion dollars in 2013 * v2 API - standard REST, clients made multiple requests for a single view * Access control added complexity * Duplicated code and business logic * v3 - domain resources, not row resources (not driven by DB schema) * scripting for more complex requests (for multiple related resources) using bespoke * Improved communication between backend and frontend engineers * Faster iterations, more confidence in API * Activity Feed went from asynchronous to on-demand, from minutes to sub-second http://www.slideshare.net/PaulWright9
    10. 10. * Cat photo ends any intelligent discussion on the internet * … but I’d love to hear your questions!

    ×