Slide 1

Slide 1 text

Elements of API Excellence Jeremiah Lee 2014-10-31T11:00+11:00 •

Slide 2

Slide 2 text

Elements of API Excellence Jeremiah Lee 2014-10-31T11:00+11:00

Slide 3

Slide 3 text

#DX #WD14 @JeremiahLee

Slide 4

Slide 4 text

http://woodgears.ca/gear_cutting/template.html

Slide 5

Slide 5 text

http://woodgears.ca/gear_cutting/template.html

Slide 6

Slide 6 text

http://woodgears.ca/gear_cutting/template.html

Slide 7

Slide 7 text

http://woodgears.ca/gear_cutting/template.html

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

ThatsNotHowGearsWork.tumblr.com

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

unintentionally

Slide 22

Slide 22 text

selfishly

Slide 23

Slide 23 text

blindly

Slide 24

Slide 24 text

intentionally

Slide 25

Slide 25 text

holistically

Slide 26

Slide 26 text

Empathy as an Applied Science

Slide 27

Slide 27 text

understand anticipate share feelings

Slide 28

Slide 28 text

research in order to solve problems

Slide 29

Slide 29 text

Empathy as an Applied Science

Slide 30

Slide 30 text

Graph by Dave Corby (2010) based on Guide to the Software Engineering Body of Knowledge (SWEBOK) by IEEE Computer Society (2004) Customer Requirements Requirements Specification Functional Specification Design Specification Validation Review Verification Study the requirements Clarify the requirements Write the 
 software Test the 
 software Validate against requirements Review with
 customer Define new requirements Software Development Life Cycle

Slide 31

Slide 31 text

Based on Aarron Walter’s Designing For Emotion FUNCTIONAL

Slide 32

Slide 32 text

FUNCTIONAL RELIABLE Availability (uptime) Scalability (load, response time) Stability (consistency) Security Based on Aarron Walter’s Designing For Emotion

Slide 33

Slide 33 text

RELIABLE FUNCTIONAL USABLE Intuitability Testability Corrective Guidance Based on Aarron Walter’s Designing For Emotion

Slide 34

Slide 34 text

PLEASURABLE USABLE RELIABLE FUNCTIONAL Based on Aarron Walter’s Designing For Emotion

Slide 35

Slide 35 text

Customer Requirements Requirements Specification Functional Specification Design Specification Validation Review Verification Study the requirements Clarify the requirements Write the 
 software Test the 
 software Validate against requirements Review with
 customer Define new requirements Software Development Life Cycle PLEASURABLE USABLE RELIABLE FUNCTIONAL

Slide 36

Slide 36 text

Today, let’s talk about… 1. Personas 2. Passive usability testing with data 3. Active usability testing with real, live people

Slide 37

Slide 37 text

Personas • Are descriptive representations of the people who use your product and the context they operate in • They make assumptions about users visible • They provide a frame of reference for your team • Validate with user interviews and surveys

Slide 38

Slide 38 text

Persona Context • Relationship with product • Platform, programming language • Experience / skill level • English proficiency • Motivation • Resources • Role in the organization

Slide 39

Slide 39 text

Who are my users? BENNETT
 backend web developer, prefers Java, CS degree from UC Davis, full time developer, advocated to use our product RACHEL web designer/developer, prefers JavaScript/Node, no degree but strong developer, had no input on using our product JANE
 iOS developer, "unicorn" designer and developer, self-taught, moonlighting on her own projects, makes recommendations 
 on products ANDY
 self-proclaimed geek, comes from IT background, likes to script things together using Python, hobbyist hacker

Slide 40

Slide 40 text

Passive Usability Testing • Examine support requests • When are they asking for help? • Frequently asked questions • Frequently misunderstood concepts • Frequently hit errors

Slide 41

Slide 41 text

Passive Usability Testing • Examine support requests • API usage during an integration • How long between app registration and first request? • What are the first requests and first errors? • How long before going to production?

Slide 42

Slide 42 text

Passive Usability Testing • Examine support requests • API usage during an integration • API usage after an integration • Detect based on IP address, user auth, requests increase • What endpoints are being used? How are they used? • Anti-pattern detection based on request volume or type

Slide 43

Slide 43 text

Active Usability Testing • Existing APIs: “Dumb Pair Programmer” • With a user you trust in their natural environment • Silently observe as they work: • Interactions with team: how do they talk about you? • How do you fit into their application? • How does the user approach the integration with you? • What problems do they encounter? • How do they test the integration?

Slide 44

Slide 44 text

Active Usability Testing • Existing APIs: “Dumb Pair Programmer” • New APIs: Throw-away prototypes • Create a mock API: just enough functionality to be used • Document it: reference docs, just enough conceptual info • Create a well defined project ready for an integration • Hire an outsider who doesn’t have insider assumptions • Have user record screen, face, voice with Silverback • Have user commit to Git at regular interval

Slide 45

Slide 45 text

Active Usability Testing • Existing APIs: “Dumb Pair Programmer” • New APIs: Throw-away prototypes • Analyze the data for moments of emotional response • Happy • Sad • Confident • Frustrated • Confused

Slide 46

Slide 46 text

Active Usability Testing • Existing APIs: “Dumb Pair Programmer” • New APIs: Throw-away prototypes • Analyze the data for moments of emotional response • How long did it take to accomplish tasks? • What worked? What didn’t work? • How can the good things be more affirming? • How can the bad things be prevented? • How can the situation be corrected better?

Slide 47

Slide 47 text

The secret to  machines talking to machines  is to speak human first.

Slide 48

Slide 48 text

Thank you for your time. More content available at
 http://dx.jeremiahlee.com Please support the
 Electronic Frontier Foundation