Upgrade to Pro — share decks privately, control downloads, hide ads and more …

APIs as building blocks: let's code what matter...

APIs as building blocks: let's code what matters most.

More Decks by API Strategy & Practice Conference

Other Decks in Technology

Transcript

  1. @stamplay 0 7500 15000 22500 30000 2006 2008 2010 2012

    2014 2016 API Proliferation is exponential The number of open API grew from ~0 to 13K in the past 8yrs. Will more than double to >30K in the next 2 years. Source: www.slideshare.net/zschwarz/vertical-apis-as-core-product
  2. @stamplay “An API for everything there is.” Yoda, Jedi Master.

    APIs for everything https://www.mashape.com/ismaelc/yoda-speak
  3. @stamplay Let’s do a test. In a Yelp-like app, we

    want to limit the length of a text review in the product to 140 characters, because we may want to use SMS to send them out. ..that’s a small change, right?
  4. @stamplay Think again.. • What happens when the review is

    above 140 characters? • Do we crop the string, or display an error message to the user? • If we display an error, where does it appear? What does it say? • Who is going to write the error message? • How do we explain to the user why we’re limiting them to 140 characters? • How will these errors look? • Do we have a style defined? • If not, who is designing it?
  5. @stamplay • Who’s writing the JavaScript? • Does the JavaScript

    display the same type of error as the server-side code? • If not, what’s the new style? • How does it behave with- out JavaScript? ..and again..
  6. @stamplay • Who is going to write this character counter?

    • Who wants to test it in our target browsers? • Also, where is the count of letters displayed on the screen? • What does the count look like? • The style should change as the user approaches zero characters and look erroneous at the limit? • Should it stop accepting input at that point? • If so, what happens when they paste something in? • Should we let them edit it down, or alert them? ..and again!
  7. @stamplay It’s not free because you’re talking about it. It’s

    not free the verifying it was done right. It’s not free in the communication of doing it. It’s not not free to carry it forward.