Such a Rich Set of Affordances! Mike Amundsen @mamund - - PowerPoint PPT Presentation

such a rich set of affordances
SMART_READER_LITE
LIVE PREVIEW

Such a Rich Set of Affordances! Mike Amundsen @mamund - - PowerPoint PPT Presentation

Such a Rich Set of Affordances! Mike Amundsen @mamund http://g.mamund.com/great-apis "I wish I had this book 20 years ago." "A great classroom text or web guide." "Useful in a way that doesn't tie it to specific


slide-1
SLIDE 1

Such a Rich Set of Affordances!

Mike Amundsen @mamund

slide-2
SLIDE 2
slide-3
SLIDE 3
slide-4
SLIDE 4

http://g.mamund.com/great-apis

"I wish I had this book 20 years ago." "A great classroom text or web guide." "Useful in a way that doesn't tie it to specific technologies."

slide-5
SLIDE 5

Some things to consider...

  • The Nature of Ecosystems
  • Hyperagent Anatomy
  • Avoiding Monoliths
  • Learning from Microservices
slide-6
SLIDE 6

"The value of a well-designed

  • bject is when it has such a rich

set of affordances that the people who use it can do things with it that the designer never imagined."

  • - Donald Norman (1994)

https://www.youtube.com/watch?v=NK1Zb_5VxuM

Affordances

slide-7
SLIDE 7

Ecosystems

slide-8
SLIDE 8
slide-9
SLIDE 9
slide-10
SLIDE 10
slide-11
SLIDE 11

You're programming ecosystems, not machines.

slide-12
SLIDE 12
slide-13
SLIDE 13
slide-14
SLIDE 14
slide-15
SLIDE 15

pass messages, not code.

slide-16
SLIDE 16
slide-17
SLIDE 17
slide-18
SLIDE 18

"A machine is required to enter an average home and figure

  • ut how to make coffee."
  • - Steve Wozniak

By Gage Skidmore, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=63344547

The Coffee Test

slide-19
SLIDE 19

Focus on the map, not the destination

slide-20
SLIDE 20
slide-21
SLIDE 21

Affordances

"The affordances of the environment are what it offers ... what it provides or furnishes, either for good or ill. James Gibson, 1977

James Gibson

Ecological Approach to Visual Perception, Gibson, 1979

slide-22
SLIDE 22
slide-23
SLIDE 23
slide-24
SLIDE 24
slide-25
SLIDE 25

Hypermedia is the Affordance

https://www.slideshare.net/royfielding/a-little-rest-and-relaxation (2008)

slide-26
SLIDE 26

Affordance is the Key

slide-27
SLIDE 27

Hyperagents

slide-28
SLIDE 28

"One is willing to study in depth an aspect of one's subject matter in isolation for the sake of its own consistency."

  • - Edsger W. Dijkstra (1974)

By Hamilton Richards - manuscripts of Edsger W. Dijkstra, University Texas at Austin, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=4204157

Separation of Concerns

slide-29
SLIDE 29

SoC for an agent

slide-30
SLIDE 30

HTTP

Maze+XML IANA LinkRels

SoC for an ecosystem

slide-31
SLIDE 31

"A machine is required to enter an average home and figure

  • ut how to make coffee."
  • - Steve Wozniak

By Gage Skidmore, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=63344547

How many concerns?

slide-32
SLIDE 32

Agency and Curiosity

slide-33
SLIDE 33

Danny Lange VP of AI and ML at Unity Technologies

https://gotochgo.com/2019/sessions/719

slide-34
SLIDE 34

Step 1: Navigate (Destination)

slide-35
SLIDE 35

Step 1: Navigate (Destination) Step 2: Choose (Map)

slide-36
SLIDE 36

Avoiding Monoliths

slide-37
SLIDE 37
slide-38
SLIDE 38
slide-39
SLIDE 39

Shopping Agent

slide-40
SLIDE 40

Product Search

Shopping Agent

slide-41
SLIDE 41

Product Search Shopping Cart

Shopping Agent

slide-42
SLIDE 42

Product Search Shopping Cart Payment Card Payment

Shopping Agent

slide-43
SLIDE 43

Product Search Shopping Cart Payment Card Payment Package Delivery

Shopping Agent

slide-44
SLIDE 44

It only appears to be a single agent.

slide-45
SLIDE 45
slide-46
SLIDE 46

Michael Nygard's Stability Patterns

  • Timeout
  • Circuit Breaker
  • Bulkhead
  • Steady State
  • Fail Fast
  • Handshaking
slide-47
SLIDE 47

“Bugs will happen. They cannot be eliminated, so they must be survived instead.”

  • - Michael T. Nygard
slide-48
SLIDE 48

Danny Lange VP of AI and ML at Unity Technologies

https://gotochgo.com/2019/sessions/719

slide-49
SLIDE 49

Survive Failures

slide-50
SLIDE 50
slide-51
SLIDE 51

“No insect issues commands to another or instructs it to do things in a certain way.”

Deborah Gordon Ants at Work, 1999

slide-52
SLIDE 52
slide-53
SLIDE 53

“The basic mystery about ant colonies is that there is no management.”

Deborah Gordon, Stanford Biologist

slide-54
SLIDE 54

Respond to signals in the environment, not internal commands.

slide-55
SLIDE 55

"The value of a well-designed

  • bject is when it has such a rich

set of affordances that the people who use it can do things with it that the designer never imagined."

  • - Donald Norman (1994)

https://www.youtube.com/watch?v=NK1Zb_5VxuM

Affordances

slide-56
SLIDE 56

"The value of a well-designed ecosystem is when it has such a rich set of affordances that the agents who use it can do things with it that the designer never imagined."

  • - Donald Norman (1994)

https://www.youtube.com/watch?v=NK1Zb_5VxuM

Affordances

slide-57
SLIDE 57

And So...

slide-58
SLIDE 58

Populate Ecosystems

slide-59
SLIDE 59
slide-60
SLIDE 60
slide-61
SLIDE 61

Focus on the Map, not the Destination

slide-62
SLIDE 62
slide-63
SLIDE 63
slide-64
SLIDE 64

Avoid Monoliths

slide-65
SLIDE 65
slide-66
SLIDE 66

Product Search Card Payment Package Delivery Shopping Cart

slide-67
SLIDE 67

Respond to signals in the environment, not internal commands.

slide-68
SLIDE 68
slide-69
SLIDE 69
slide-70
SLIDE 70
slide-71
SLIDE 71
slide-72
SLIDE 72

Such a Rich Set of Affordances!

Mike Amundsen @mamund

slide-73
SLIDE 73

Such a Rich Set of Affordances!

Mike Amundsen @mamund