Combining context and HTML5 for a better user experience

50
COMBINING CONTEXT AND HTML5 FOR A BETTER USER EXPERIENCE Camp Digital 2014 @rich_clark

description

In this session we'll look at some HTML5 techniques and APIs, such as Geolocation and see how they can benefit us right now. We won't get code heavy but will show practical examples of where we can implement these techniques in the wild whether you're a marketer, designer or developer. We'll then look at what's coming soon to a browser near you to see where else we can take advantage of these new elements, attributes and APIs.

Transcript of Combining context and HTML5 for a better user experience

Page 1: Combining context and HTML5 for a better user experience

COMBINING CONTEXT AND HTML5 FOR A BETTER

USER EXPERIENCE Camp Digital 2014

@rich_clark

Page 2: Combining context and HTML5 for a better user experience

Who’ve we got?

Page 3: Combining context and HTML5 for a better user experience
Page 4: Combining context and HTML5 for a better user experience
Page 5: Combining context and HTML5 for a better user experience

http://platform.html5.org

Page 6: Combining context and HTML5 for a better user experience

https://www.mozilla.org/en-US/firefox/os/

Page 7: Combining context and HTML5 for a better user experience

User on the go

Page 8: Combining context and HTML5 for a better user experience

Mobile user

• Google research?

Page 9: Combining context and HTML5 for a better user experience

Context

Page 10: Combining context and HTML5 for a better user experience

Device

Page 11: Combining context and HTML5 for a better user experience
Page 12: Combining context and HTML5 for a better user experience

http://services.google.com/fh/files/misc/multiscreenworld_final.pdf

Page 13: Combining context and HTML5 for a better user experience

Our context(s) drives device choice “"

Page 14: Combining context and HTML5 for a better user experience

Input/Output

Page 15: Combining context and HTML5 for a better user experience

Responsive design

Page 16: Combining context and HTML5 for a better user experience

http://www.columbian.com/news/2013/dec/30/fitness-bands-are-great-for-aspiring-health-nuts/

Page 17: Combining context and HTML5 for a better user experience

http://www.flickr.com/photos/nest/6264860247/

Page 18: Combining context and HTML5 for a better user experience

APIs

Page 19: Combining context and HTML5 for a better user experience

http://shinydemos.com/photo-booth/

Page 20: Combining context and HTML5 for a better user experience

http://webdesign.maratz.com/lab/responsivetypography/simple/

Page 21: Combining context and HTML5 for a better user experience

http://www.raymondcamden.com/index.cfm/2012/4/6/Face-detection-with-getUserMedia

Page 22: Combining context and HTML5 for a better user experience
Page 23: Combining context and HTML5 for a better user experience

Orientation Camera &

Microphone Web

Storage

Vibration File API

Page 24: Combining context and HTML5 for a better user experience

Location

Page 25: Combining context and HTML5 for a better user experience
Page 26: Combining context and HTML5 for a better user experience
Page 27: Combining context and HTML5 for a better user experience
Page 28: Combining context and HTML5 for a better user experience
Page 29: Combining context and HTML5 for a better user experience
Page 30: Combining context and HTML5 for a better user experience

Geolocation

Page 31: Combining context and HTML5 for a better user experience

Time

Page 32: Combining context and HTML5 for a better user experience
Page 33: Combining context and HTML5 for a better user experience

http://www.bbc.co.uk/blogs/internet/posts/digital_olympics_reach_stream_stats

Page 34: Combining context and HTML5 for a better user experience
Page 35: Combining context and HTML5 for a better user experience

• Anticipatory shipping

http://www.flickr.com/photos/fugutabetai/3244225116/

Page 36: Combining context and HTML5 for a better user experience

Notifications Alarm Time/Clock

Page 37: Combining context and HTML5 for a better user experience

Environment

Page 38: Combining context and HTML5 for a better user experience
Page 39: Combining context and HTML5 for a better user experience
Page 40: Combining context and HTML5 for a better user experience
Page 41: Combining context and HTML5 for a better user experience

Ambient light

Proximty Network

Battery AppCache/

Offline

Page 42: Combining context and HTML5 for a better user experience

Multiple Devices

Page 43: Combining context and HTML5 for a better user experience

http://uxmag.com/articles/designing-for-context-the-multiscreen-ecosystem

Page 44: Combining context and HTML5 for a better user experience

http://uxmag.com/articles/designing-for-context-the-multiscreen-ecosystem

Page 45: Combining context and HTML5 for a better user experience

http://uxmag.com/articles/designing-for-context-the-multiscreen-ecosystem

Page 46: Combining context and HTML5 for a better user experience

http://uxmag.com/articles/designing-for-context-the-multiscreen-ecosystem

Page 47: Combining context and HTML5 for a better user experience

Device Location Time

Environment Multiscreen

Page 48: Combining context and HTML5 for a better user experience

Reading - Context

•  http://www.cennydd.co.uk/2013/designing-with-context •  http://uxmag.com/articles/designing-for-context-the-

multiscreen-ecosystem •  http://alistapart.com/article/environmental-design-with-

the-device-api (Read comments too as parts of the article are incorrect). •  http://www.creativebloq.com/web-design/beyond-

responsive-design-discover-context-driven-design-8134226 •  http://www.fastcolabs.com/3016702/why-the-next-big-

thing-in-computing-is-conversation

Page 49: Combining context and HTML5 for a better user experience

Reading – APIs – Google is your friend here though

•  https://hacks.mozilla.org/2011/08/introducing-webapi/ •  https://wiki.mozilla.org/WebAPI •  https://developer.mozilla.org/en-US/docs/WebAPI •  http://www.w3.org/2009/dap/ •  https://hacks.mozilla.org/2012/01/mozilla-joins-the-w3c-dap-webapi-progress/ •  https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent •  http://www.html5rocks.com/en/tutorials/pagevisibility/intro/ (We didn’t talk about

this one!) •  https://hacks.mozilla.org/2013/04/ambient-light-events-and-javascript-detection/ •  http://www.slideshare.net/jamesgpearce/mobile-device-apis •  https://hacks.mozilla.org/2013/06/the-proximity-api/ •  http://html5doctor.com/finding-your-position-with-geolocation/ •  http://www.html5rocks.com/en/tutorials/webperformance/usertiming/

Page 50: Combining context and HTML5 for a better user experience

Thanks!

@rich_clark [email protected]