“We even burned through our monthly data plans in 40 minutes.”
Slide 41
Slide 41 text
Light
Mode
Default
Slide 42
Slide 42 text
Segmenting in to two ‘modes’
can be very powerful but…
Slide 43
Slide 43 text
Are we still making assumptions?
Slide 44
Slide 44 text
No content
Slide 45
Slide 45 text
Did we ever ask users with retina screens
if they want a slower experience?
Slide 46
Slide 46 text
And are we still compromising?
Slide 47
Slide 47 text
We can’t leverage the best of the platform…
whilst limiting page weight.
Slide 48
Slide 48 text
No content
Slide 49
Slide 49 text
Light
Mode
Default
Slide 50
Slide 50 text
Light
Mode
Default
Enhanced
Slide 51
Slide 51 text
Segmenting allows us to design
focused User Experiences
Slide 52
Slide 52 text
Asking the user
Slide 53
Slide 53 text
No content
Slide 54
Slide 54 text
No content
Slide 55
Slide 55 text
No content
Slide 56
Slide 56 text
How could this look?
Slide 57
Slide 57 text
No content
Slide 58
Slide 58 text
No content
Slide 59
Slide 59 text
No content
Slide 60
Slide 60 text
No content
Slide 61
Slide 61 text
Implementation Advice
Slide 62
Slide 62 text
Don’t build three
different websites!
Slide 63
Slide 63 text
Abstract out the
development complexity
Slide 64
Slide 64 text
if('querySelector' in document &&
'localStorage' in window &&
'addEventListener' in window &&
'classList' in document.documentElement &&
lpHostelMode() !== "light") {
}
Global feature switches
Slide 65
Slide 65 text
{{ moduleTitle }}
{{ img_tag(moduleImage) }}
{{ moduleContent }}
Authoring must stay the same
Slide 66
Slide 66 text
def img_tag(image_url, opts={})
return if @hostelMode
!
image_tag(image_url, opts)
end
Use helpers to abstract switches
Slide 67
Slide 67 text
Stateless vs Stateful
Slide 68
Slide 68 text
Consider the preloader
Slide 69
Slide 69 text
Future: Could the browser expose
these user options?
Slide 70
Slide 70 text
Recap
Slide 71
Slide 71 text
You can only get as fast as
the design allows
Slide 72
Slide 72 text
Your application may be entirely
inaccessible to parts of the world
Slide 73
Slide 73 text
Segmenting the user experience
can be very powerful