Slide 1

Slide 1 text

BDConf Focus:On Responsive, June 2012 @tkadlec timkadlec.com Creating Responsive Experiences TIM KADLEC

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

Jakob Nielsen It's cheap but degrading to reuse content and design across diverging media forms like print vs. online or desktop vs. mobile. http://bit.ly/KTERAA

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

Jakob Nielsen It's not enough to simply modify the layout by moving stuff around on the screen and enlarging or diminishing particular design elements. http://bit.ly/KTERAA

Slide 6

Slide 6 text

OK I agree with that

Slide 7

Slide 7 text

But that’s not all RWD is...

Slide 8

Slide 8 text

Later that week...

Slide 9

Slide 9 text

http://bit.ly/KJ0j8y

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

Venture Beat ....a one-size-fits-all solution delivers a subpar user experience. http://bit.ly/KTERAA

Slide 12

Slide 12 text

Well, duh

Slide 13

Slide 13 text

Again, that’s not all RWD is

Slide 14

Slide 14 text

http://bit.ly/LjaVxv

Slide 15

Slide 15 text

This is true

Slide 16

Slide 16 text

Ethan Marcotte If someone says there’s only one true way of working and designing online, look at them funny. http://bit.ly/Kzfy2m

Slide 17

Slide 17 text

So far, so good...

Slide 18

Slide 18 text

“Responsive design simply rearranges the content of your site to fit on a mobile screen. http://bit.ly/LjaVxv

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

Seriously, that’s not all RWD is!

Slide 21

Slide 21 text

Let’s take a step back

Slide 22

Slide 22 text

Responsive architecture

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

This is awesome

Slide 25

Slide 25 text

But it’s not enough

Slide 26

Slide 26 text

More than layout

Slide 27

Slide 27 text

Marshall McLuhan We see the world through a rear- view mirror. We march backwards into the future.

Slide 28

Slide 28 text

http://bit.ly/A6AhV1 Pre-iPhone Post-iPhone

Slide 29

Slide 29 text

http://flic.kr/p/7S5qAB

Slide 30

Slide 30 text

http://flic.kr/p/3bqHYJ

Slide 31

Slide 31 text

http://flic.kr/p/anHsXT

Slide 32

Slide 32 text

http://flic.kr/p/a9GzWC

Slide 33

Slide 33 text

http://flic.kr/p/3eVaZ1

Slide 34

Slide 34 text

http://flic.kr/p/2ynHaS

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

Scott Jenson These examples are just the initial, telltale signs of a huge new wave of cheap devices about to invade our lives—a zombie apocalypse of electronics, if you will. http://bit.ly/giroPy

Slide 37

Slide 37 text

http://flic.kr/p/y44Rv

Slide 38

Slide 38 text

http://flic.kr/p/2ynHaS

Slide 39

Slide 39 text

Responsive experiences

Slide 40

Slide 40 text

Smarter defaults

Slide 41

Slide 41 text

Jakob Nielsen Typically, masking passwords doesn't even increase security, but it does cost you business due to login failures http://bit.ly/9X3LAG

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

Hide

Slide 44

Slide 44 text

http://flic.kr/p/6e7uqr

Slide 45

Slide 45 text

http://flic.kr/p/6e7uqr

Slide 46

Slide 46 text

http://flic.kr/p/6e7uqr

Slide 47

Slide 47 text

http://flic.kr/p/6e7uqr

Slide 48

Slide 48 text

/ht @lukew

Slide 49

Slide 49 text

Capabilities

Slide 50

Slide 50 text

http://bit.ly/nJSlwX

Slide 51

Slide 51 text

http://bit.ly/nJSlwX

Slide 52

Slide 52 text

http://flic.kr/p/6e7uqr

Slide 53

Slide 53 text

Battery status Contacts HTML Media Capture Media Capture Network Information Sensor Vibration Web Intents Calendar Menu Geolocation NFC

Slide 54

Slide 54 text

! ! ! ! canvas>

Slide 55

Slide 55 text

! ! ! ! canvas>

Slide 56

Slide 56 text

! navigator.getUserMedia({video: true}, function (stream) { ! ! var video = document.getElementById("video"); ! ! var canvas = document.getElementById("still"); ! ! var button = document.getElementById("camera"); ! ! video.src = stream; ! ! button.disabled = false; ! ! button.onclick = function() { ! ! ! canvas.getContext("2d").drawImage(video, 0, 0); ! }; }, function(err) { alert("Oh snap! There was an error " + err)});

Slide 57

Slide 57 text

! navigator.getUserMedia({video: true}, function (stream) { ! ! var video = document.getElementById("video"); ! ! var canvas = document.getElementById("still"); ! ! var button = document.getElementById("camera"); ! ! video.src = stream; ! ! button.disabled = false; ! ! button.onclick = function() { ! ! ! canvas.getContext("2d").drawImage(video, 0, 0); ! }; }, function(err) { alert("Oh snap! There was an error " + err)});

Slide 58

Slide 58 text

! navigator.getUserMedia({video: true}, function (stream) { ! ! var video = document.getElementById("video"); ! ! var canvas = document.getElementById("still"); ! ! var button = document.getElementById("camera"); ! ! video.src = stream; ! ! button.disabled = false; ! ! button.onclick = function() { ! ! ! canvas.getContext("2d").drawImage(video, 0, 0); ! }; }, function(err) { alert("Oh snap! There was an error " + err)});

Slide 59

Slide 59 text

! navigator.getUserMedia({video: true}, function (stream) { ! ! var video = document.getElementById("video"); ! ! var canvas = document.getElementById("still"); ! ! var button = document.getElementById("camera"); ! ! video.src = stream; ! ! button.disabled = false; ! ! button.onclick = function() { ! ! ! canvas.getContext("2d").drawImage(video, 0, 0); ! }; }, function(err) { alert("Oh snap! There was an error " + err)});

Slide 60

Slide 60 text

No content

Slide 61

Slide 61 text

No content

Slide 62

Slide 62 text

Contextual experiences http://flic.kr/p/6e7uqr

Slide 63

Slide 63 text

Context is the key to moving from a web that responds to devices, to a web that responds to people

Slide 64

Slide 64 text

Do some research http://flic.kr/p/6e7uqr

Slide 65

Slide 65 text

Adam Greenfield If nothing else, it would be wise for us all to remember that, while our information technology may be digital in nature, the human beings interacting with it will always be infuriatingly and delightfully analog.

Slide 66

Slide 66 text

We need all the tools we can get http://flic.kr/p/7MdW6A

Slide 67

Slide 67 text

UA detection is evil!

Slide 68

Slide 68 text

Don’t blame the tools for the craftsman http://flic.kr/p/7MdW6A

Slide 69

Slide 69 text

There are bad RWD sites

Slide 70

Slide 70 text

There are bad separate sites

Slide 71

Slide 71 text

http://bit.ly/GH2nBe

Slide 72

Slide 72 text

http://flic.kr/p/6e7uqr

Slide 73

Slide 73 text

http://flic.kr/p/6e7uqr

Slide 74

Slide 74 text

Hug it out http://flic.kr/p/7cVEwZ Hug it out

Slide 75

Slide 75 text

Mahatma Gandhi It is a bad carpenter who quarrels with his tools. http://bit.ly/Kzfy2m

Slide 76

Slide 76 text

Bad UA detection is evil!

Slide 77

Slide 77 text

Don’t exclude.Enhance. http://flic.kr/p/6RtJPG

Slide 78

Slide 78 text

if ($device->getCapability('has_cellular_radio') === 'true') { ! if ($device->getCapability ('xhtml_make_phone_call_string') !== 'none') { ! ! $wireless = true; ! ! $method = $device->getCapability ('xhtml_make_phone_call_string'); ! } else { ! ! $wireless = false; ! } } else { ! $wireless = false; }

Slide 79

Slide 79 text

if ($device->getCapability('has_cellular_radio') === 'true') { ! if ($device->getCapability ('xhtml_make_phone_call_string') !== 'none') { ! ! $wireless = true; ! ! $method = $device->getCapability ('xhtml_make_phone_call_string'); ! } else { ! ! $wireless = false; ! } } else { ! $wireless = false; }

Slide 80

Slide 80 text

if ($device->getCapability('has_cellular_radio') === 'true') { ! if ($device->getCapability ('xhtml_make_phone_call_string') !== 'none') { ! ! $wireless = true; ! ! $method = $device->getCapability ('xhtml_make_phone_call_string'); ! } else { ! ! $wireless = false; ! } } else { ! $wireless = false; }

Slide 81

Slide 81 text

if ($device->getCapability('has_cellular_radio') === 'true') { ! if ($device->getCapability ('xhtml_make_phone_call_string') !== 'none') { ! ! $wireless = true; ! ! $method = $device->getCapability ('xhtml_make_phone_call_string'); ! } else { ! ! $wireless = false; ! } } else { ! $wireless = false; }

Slide 82

Slide 82 text

!

1-800-555-5555

!

1-800-555-5555

Slide 83

Slide 83 text

!

1-800-555-5555

!

1-800-555-5555

Slide 84

Slide 84 text

!

1-800-555-5555

!

1-800-555-5555

Slide 85

Slide 85 text

!

1-800-555-5555

!

1-800-555-5555

Slide 86

Slide 86 text

Use both! http://flic.kr/p/81vbku

Slide 87

Slide 87 text

http://flic.kr/p/5ox3ax

Slide 88

Slide 88 text

hasTouch = 'ontouchstart' in window || 'createTouch' in document;

Slide 89

Slide 89 text

hasTouch = 'ontouchstart' in window || 'createTouch' in document;

Slide 90

Slide 90 text

hasTouch = 'ontouchstart' in window || 'createTouch' in document;

Slide 91

Slide 91 text

http://flic.kr/p/6e7uqr

Slide 92

Slide 92 text

http://www.ubuntu.com/devices/android

Slide 93

Slide 93 text

http://tnw.co/K7Qq9O

Slide 94

Slide 94 text

http://bit.ly/KuHXaH

Slide 95

Slide 95 text

http://breakoutjs.com/

Slide 96

Slide 96 text

http://jsdo.it/controller

Slide 97

Slide 97 text

Scott Jenson What’s holding smart devices back is our oh-so-human ability to misunderstand their potential. http://bit.ly/HS0Jvs

Slide 98

Slide 98 text

http://flic.kr/p/6e7uqr

Slide 99

Slide 99 text

http://flic.kr/p/8wwtH4

Slide 100

Slide 100 text

thank you! BDConf Focus:On Responsive, June 2012 @tkadlec timkadlec.com TIM KADLEC responsiveenhancement.com