18. “ As the flexibility of a system increases, its usability
decreases.
Flexibility‐Usability Tradeoff
Universal Principles of Design
19. “ Successful products typically follow four stages of creaEon:
requirements, design, development, and tes&ng.
Development Cycle
Universal Principles of Design
27. Resource POST GET PUT DELETE
create read update delete
create a new bulk update delete all
/dogs list dogs
dog dogs dogs
if exists
update Bo
/dogs/bo error show Bo delete Bo
if not
error
Wikipedia
55. Facebook HTTP Status Code: 200
{"type":"OAuthException","message":"(#803) Some
of the aliases you requested do not exist:
foo.bar"}
Twilio HTTP Status Code: 401
{"status":401,"message":"Authenticate","code":
20003,"more_info":"http://www.twilio.com/docs/
errors/20003"}
SimpleGeo HTTP Status Code: 401
{"code":401,"message":"Authentication
Required"}
56. Code for code
200 - OK
401 - Unauthorized
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes
Message for people
{“message” : “Verbose, plain language
description of the problem with hints about
how to fix it.”
“more_info” : “http://dev.teachdogrest.com/
errors/12345”}
let’s understand how developers build apps.\n\ndevelopers work in a development cycle (sometimes formally, more often informally) with four 4 phases:\n\nrequirements gathering\ndesign\ndevelopment \nand testing\n\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
use facebook as versionless example being bad\n
no dots\n\nversion required\n
\n
\n
\n
\n
\n
as they create applications, developers make hundreds or even thousands of simple decisions.\n\nthe faster they make decisions, the faster an app gets made.\n\nthe better the decisions they make, the better the app.\n\nHick’s law states that for simple stimulus-response tasks, the time it takes to make a decision is a function of the number of available options.\n\nThe more options we give our developers about our API the longer it will take them to build apps.\n\nlet’s take a look at an example where unnecessary complexity collides with Hick’s Law.\n