Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

116
Picture from Simon Howden freedigitalphotos.net Warsaw, May 19 2014 the mobile web CHALLENGES maximiliano @firtman

description

While the battle between apps and websites is still going on, we need to understand the challenges that mobile devices bring to the web world. In this talk we will cover the status of the ecosystem, the type of apps and websites we need to support today, browsers available and all the challenges for debugging, testing and measure performance. We will see techniques, such as Responsive Web Design and how they are affecting performance on lot of websites around the world We will cover the biggest mistakes that companies are doing on the mobile side and how they affect the success of the mobile strategy. Maximiliano Firtman - I'm a mobile+web developer, trainer, speaker and writer. I'm founder of ITMaster Professional Training. I wrote many books, including "Programming the Mobile Web" and "jQuery Mobile: Up and Running" published by O'Reilly Media. I have a blog about mobile web development at mobilexweb.com and maintain the website mobilehtml5.org. I'm a frequent speaker at conferences, including QCon, OSCON, Breaking Development, Velocity Conference, Fluent, Google Developer Day and many other events around the world. I've been doing professional training for small and big companies, including LinkedIn, Cisco, Intel and HP. I've received different recognitions, including Nokia Developer Champion yearly since 2006; Adobe Community Champion since 2011, BlackBerry Elite since 2013 and Internet Explorer User Agent since 2013 . Specialties: Mobile HTML5, Objective-C, Android, Google Glass development, Web Performance

Transcript of Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Page 1: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Picture from Simon Howden freedigitalphotos.net!

Warsaw, May 19 2014

the mobile web!CHALLENGES

maximiliano @firtman

Page 2: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 3: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 4: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 5: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Agenda

Page 6: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

AgendaMobile Web Challenges !

1. Mobile Today

2. Challenges

3. Performance

4. Tools

5. Future-friendly

!

!

!

!

Page 7: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

QA

Page 8: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Let’s start

Page 9: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

1- mobile today

Page 10: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

by Luke Jones (flickr)

Page 11: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 12: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

mobile

1- websites 2- apps

Page 13: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

mobile

1- websites 2- apps

Page 14: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

mobile

1- websites 2- apps

Page 15: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

on mobile we can create...

Page 16: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

we can create

1- websites

Page 17: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Using the browser

URL

Web Server

1- websiteswe can create

Page 18: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

we can create

2- webapps

Page 19: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Browser to install

Full-screen

Icon on home screen

Web Server

2- webappswe can create

Page 20: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

full screen webapps

home screen webapps

webapps are also known as(

)

Page 21: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

we can create

3- native webapps

Page 22: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Package, compile, sign

Icon on home screen

App Store

No web server

3- native webappswe can create

Page 23: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

hybrid apps

packaged webapps

native webapps are also known as

(

)

Page 24: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Package, compile, sign

App Store

Native development

Different languages

4- native appswe can create

Page 25: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

mobile

1- websites 2- apps

Page 26: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

a- native b- webapps c- native webapps

mobile

1- websites 2- apps

Page 27: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 28: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

How many browsers do you know on desktop?

Page 29: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

5?

Page 30: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

How many browsers do you know on mobile?

Page 31: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

...

Page 32: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Android Browser 2.34.0-4.34.4Samsung

Page 33: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 34: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Google Chrome Android iOS

Page 35: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Safari on iOS

Page 36: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Opera MobileMiniClassic

Page 37: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Firefox

Page 38: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Firefox OS

Page 39: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Internet Explorer

Page 40: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Nokia Browser Asha X …

Page 41: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Amazon Silk

Page 42: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

UC Web

Page 43: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

should I continue?

(

)

Page 44: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Cloud-based browsers

web platforms

Page 45: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

And it’s not just browsers!

web platforms

Page 46: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Web View

web platforms

Page 47: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

we just care about…

Page 48: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

40% not Safari / Chrome

Page 49: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

97% not Safari / Chrome

Page 50: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

48% not Safari / Chrome

Page 51: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

75% not Safari / Chrome

Page 52: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Android Browser 48% Chrome 25%

Opera 15% Nokia 5%

Windows Phone 2% Safari iOS 1%

Page 53: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Separate site m.*

Separate site same URL

Responsive Web Design

Do nothing

mobile website strategies

mobile viewport

Page 54: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Separate site m.*

Separate site same URL

Responsive Web Design

Do nothing

mobile website strategies

mobile viewport

Page 55: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 56: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 57: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 58: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

signalvnoise.com

Page 59: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

signalvnoise.com

We were simply orders of magnitude more

productive by using the web and HTML

Page 60: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

signalvnoise.com

The app has a 4/5-star rating

Page 61: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

signalvnoise.com

I think every software shop today should take

another look at the hybrid approach

Page 62: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

1- </mobile today>

- Don’t underestimate mobile - Platforms, browsers - Understand the ecosystem - Different approaches available

Page 63: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

2- challenges

Page 64: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

cross *

Page 65: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

embrace diversity

too many platforms

Page 66: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

QQVGA QVGA WQVGA FWQVGA LQVGA HVGA nHD !

!

FWXGA Sq.HD XGA WXGA WUXGA QXGA WQXGA

WVGA FWVGA VGA DVGA WDVGA QHD WSVGA HD

Page 67: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

QQVGA QVGA WQVGA FWQVGA LQVGA HVGA nHD !

!

FWXGA Sq.HD XGA WXGA WUXGA QXGA WQXGA

WVGA FWVGA VGA DVGA WDVGA QHD WSVGA HD

Page 68: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 69: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 70: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

user identification

Page 71: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 72: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 73: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 74: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

2- </challenges>

- Don’t frustrate your users - Multi-* - Usability - Performance

Page 75: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

3- performance

Page 76: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

We have 4G! We don't need to worry about performance...

(

)

Page 77: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

SuperBowl 2014 advertisers

http://blogs.keynote.com/

Page 78: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

http://blogs.keynote.com/

Page 79: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Bandwidth (Mbps)

cellular networks

2G 0.1-0.43G 0.7-54G 1-50

Page 80: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

mobify.com

Page 81: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Latency (ms)

cellular networks

2G 300 - 10003G 150 - 4504G 100 - 180

Page 82: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Most important

Not just load time

Perception

performance & mobile

Page 83: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Redirections

aa.com -> www.aa.com -> www.aa.com/homePage.do -> mobile.aa.com -> www.aa.com/mt -> www.aa.com/mt/homePage.do

Page 84: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Download my app

Page 85: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

idontwantyourfuckingapp.tumblr.com

Page 86: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Responsive Web Design

Page 87: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

“RWD is harming performance by default”

Page 88: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Remember your goal

Page 89: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Don’t penalize your users

Page 90: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

3- </performance>

- It’s your primary goal on mobile- Don’t penalize your users - Careful about responsive web design - Don’t redirect, don’t stop your user

Page 91: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Workshop on Wednesday

Practical training on mobile performance !

See you there!

Page 92: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

4- tools

Page 93: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Simulator

Emulator

Real device

Page 94: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Open Device Lab

Virtual Lab

Your own Lab

Page 95: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Remote inspectors

Page 96: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Proxies, sniffers

Page 97: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Testing tools

Page 98: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Connection simulators

Page 99: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

4- </tools>

- Understand how to measure, debug and test - Create your mobile test lab

Page 100: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

5- future-friendly

Page 101: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 102: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

“change is the only constant“Heraclitus

Page 103: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 104: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 105: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 106: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 107: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 108: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

compatibilityFeature Detection >

Progressive Enhancement

Page 109: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

APIs Notifications Sync Native Apps Websites Webapps

Page 110: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

RESS

Speeding up RWD

Server-Side components Detection libraries Feature and Device detection

Page 111: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Server

Client Frontend engineer !

!

Backend engineer !

!

Maybe it’s time to rethink the server architecture

Page 112: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

Server

Client Frontend engineer !

!

Backend engineer - API - Push notifications !

!

Frontend server

Maybe it’s time to rethink the server architecture

Page 113: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

“your goal is not to create an app for X platform, but to support a multi device user“

Page 114: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

</presentation>

- Don’t underestimate mobile - Performance is priority - Use new tools - Embrace change to be happy

Page 115: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman
Page 116: Atmosphere 2014: The mobile web challenges - Maximiliano Firtman

you can reach a good experience

Pictures)from)freedigitalphotos.net)

dziękuję!

[email protected] @firt See you this Wed’s Workshop

Blog: mobilexweb.com

firt.mobi/pmw