mobile best practices and web flows

51
APRIL 7, 2012 Mobile Web Flows and Best Practices michael stowe

Upload: michael-stowe

Post on 15-Jan-2015

2.548 views

Category:

Technology


1 download

DESCRIPTION

This slide discusses the best methods of redirecting mobile users to a mobile site, user preference remembrance, and general mobile device usability topics and best practices.

TRANSCRIPT

Page 1: Mobile Best Practices and Web Flows

APRIL 7, 2012

Mobile Web Flows and Best Practices

michael stowe

Page 2: Mobile Best Practices and Web Flows

• 10+ years experience hacking PHP

• Developed multiple mobile websites ranging from informational to secure

applications

• Open Source Contributor (3 WordPress plugins, multiple scripts)

• Software Engineer at CaringBridge.org (half a million visitors every day)

• Zend Certified PHP 5.3 Software Engineer

.com

@mikegstowe

MIKESTOWE

Page 3: Mobile Best Practices and Web Flows

Why Worry about Mobile

Page 4: Mobile Best Practices and Web Flows

• By the end of 2012, there will be more mobile devices than people in the world!

• In 2011 there were over 4 billion mobile phones, of those 1.08 were smart phones

• By 2014, mobile internet usage will overtake desktop internet usage

Why Worry about Mobile

http://www.digitalbuzzblog.com/2011-mobile-statistics-stats-facts-marketing-infographic/

Page 5: Mobile Best Practices and Web Flows

• 50% of American cell phone owners have a smart phone

• 66% of Americans between the ages of 24-35 own a smart phone

• 52% of Adult cell phone owners rely on their device when making purchasing decisions

Why Worry about Mobile

http://www.digby.com/mobile-industry-resources/mobile-industry-statistics/

Page 6: Mobile Best Practices and Web Flows

• More than half of all local searches are performed on mobile devices

• 86% of mobile device users are using their mobile device when watching TV

• On average, Americans spend 2.7 hours socializing on their mobile device

Why Worry about Mobile

http://www.digitalbuzzblog.com/2011-mobile-statistics-stats-facts-marketing-infographic/

Page 7: Mobile Best Practices and Web Flows

• 10% of All Website Traffic comes from mobile devices.

• 55% of Twitter's traffic comes from mobile devices.

• 60% of Pandora's traffic comes from mobile devices.

Why Worry about Mobile

http://www.lukew.com/ff/entry.asp?1450

Page 8: Mobile Best Practices and Web Flows

• 54% of the Weather Channel’s traffic in October came from mobile devices

• 40% of Fandango’s traffic comes from mobile devices.

• 33% of Facebook’s traffic comes from mobile devices.

Why Worry about Mobile

http://www.lukew.com/ff/entry.asp?1450

Page 9: Mobile Best Practices and Web Flows

• 34% of smart phone users make at least $100K a year.

• Mobile sales increased 86% from 2011 to 2012

• It was predicted that mobile shopping sales would total $9 billion in 2011. In 2015 that number is expected to reach $163 billion.

Why Worry about Mobile And…

http://www.digby.com/mobile-industry-resources/mobile-industry-statistics/

Page 10: Mobile Best Practices and Web Flows

However… Mobile users don’t want to see this…

What’s wrong with this layout?

Page 11: Mobile Best Practices and Web Flows

So Do You Need a Mobile Site?

Ask yourself…

• Is your site convenient to browse on a mobile device?

• Does it take a long time to load?

• Does it use dropdown menus?

• Does it require you to zoom in and out?

• Does it contain flash?

• Does it contain a lot of ads?

Page 12: Mobile Best Practices and Web Flows

Remember Mobile capabilities are different!

• Smaller Displays

• Less fluent typing

• Gestures – No Mouse

• May not Support Flash

• Slower Connection

• Special Link Types

Page 13: Mobile Best Practices and Web Flows

Smaller Displays Screen sizes are not only smaller, but vary by device, ranging from 1.5” to 10” in size. Keep in mind that many devices often scale webpages to fit the screen.

Page 14: Mobile Best Practices and Web Flows

Small Displays

examples

<!-- SCALE 100%, NO ZOOM -->

<meta name="viewport" content="width=device-width;

initial-scale=1.0; maximum-scale=1.0;">

<!-- SCALE 100%, ALLOW ZOOM TO 200% -->

<meta name="viewport" content="width=device-width;

initial-scale=1.0; maximum-scale=2.0;">

One way to help with scaling on mobile devices

is to use the viewport meta tag. This allows you

to set the initial scale, and how much the user can zoom in.

Page 15: Mobile Best Practices and Web Flows

Less Fluent Typing Devices may or may not have a keyboard which the user may or may not be accustomed to. As such, having long forms or asking for paragraphs of information can be extremely inconvenient and frustrating for mobile users.

Page 16: Mobile Best Practices and Web Flows

Gestures Devices utilize touch based gestures, simplistic arrows, or a scrolling wheel. This means your navigation needs to be simplistic, accessible, and quickly available. Also keep in mind that people have different sized fingers. As such, your menus, buttons, and links need to be large enough and spaced out enough that they can easily be pressed by even the largest of fingers.

Page 17: Mobile Best Practices and Web Flows

May Not Support Flash Different mobile devices have different capabilities. Some devices, such as Android support flash, while others such as the ever popular iPhone and Windows 7 Phone do not. This means that flash videos, music, games, or animations will not show up on these phones, and you should use the appropriate

alternatives such as 3GP + MPEG-4 or H.264 + MP4 for smart phones.

Page 18: Mobile Best Practices and Web Flows

Slower Connection And slower processing…

A mobile device often does not have all the processing power of a modern computer, and runs on a slower connection. On top of this, many users have data usage restrictions, meaning that downloading large amounts of data not only takes longer, but costs them money. Avoid sending unnecessary code, images, videos, etc. Optimize your site to get the content to the user as quickly as possible, which means using as little data as possible.

Page 19: Mobile Best Practices and Web Flows

Special Features

Different phones make use of different HTML5 anchors (links) and inputs, such as phone and email. The “tel:” link tells the application what to do with the link (for example “Call Us Now” dials a specific number). This is used just like “email:” While the phone input may open a numeric keypad, and the email input may open a keyboard optimized for emails. Not all phones support all HTML5 link/ input types.

Page 20: Mobile Best Practices and Web Flows

Special Features examples

<!-- PHONE LINK -->

<a href="tel:5555555555">Call Us Now</a>

<!-- PHONE INPUT -->

<input type="tel" name="telephone" />

<!-- EMAIL INPUT -->

<input type="email" name="telephone" />

<!-- URL INPUT -->

<input type="url" name="telephone" />

Keep in mind that not all file input types are supported. For example, on the iPhone the “file” input type is not rendered. However, it can be useful on Android phones for uploading photos or other files.

Page 21: Mobile Best Practices and Web Flows

Choosing a Mobile Solution

Page 22: Mobile Best Practices and Web Flows

Choosing a Solution Your Options:

• Ignore Mobile Users – Standard site for everyone

• Responsive Design – Standard site for everyone

• Mobile Site – special site for mobile

• Mobile App – special for device

Page 23: Mobile Best Practices and Web Flows

Ignore Mobile Users

Advantage:

• Less work

Disadvantage:

• Not good for mobile users in most cases. If you have a complex site, you will lose visitors and revenue.

Page 24: Mobile Best Practices and Web Flows

Responsive

Advantage:

• Less work

• Works for all Devices

Disadvantage:

• Limited ability in design

• Not all items work for all devices (ie flash, javascript)

Page 25: Mobile Best Practices and Web Flows

Mobile Site(s)

Advantage:

• Extremely easy to use for Mobile Users

• Increased sales and revenues

• Works across multiple platforms

Disadvantage:

• More work/ more costs

Page 26: Mobile Best Practices and Web Flows

Native Mobile App(s)

Advantage:

• Extremely easy to use for Mobile Users and takes advantage of device capabilities.

• Increased sales and revenues

Disadvantage:

• More work/ more costs

• Only works on limited devices

• Requires users to download

Page 27: Mobile Best Practices and Web Flows

Best Practice: Providing a mobile site alternative is the most convenient solution for your users, assuming it provides them with similar service.

Users want simplistic, easy to navigate sites with the same capabilities as the desktop site. Imagine if you couldn’t interact on Facebook’s mobile site…

Page 28: Mobile Best Practices and Web Flows

Who has a mobile site?

Page 29: Mobile Best Practices and Web Flows

Who has a mobile site?

Page 30: Mobile Best Practices and Web Flows

Handling the Web Flow for Mobile Sites

Page 31: Mobile Best Practices and Web Flows

Choosing a Flow Your Options: • Auto-Redirect – users are automatically

taken to the mobile site

• Splash Screen – users are taken to a “please choose” screen

• Manual Redirect – users have to enter the mobile url or click a link

• Application Only – users can only use an application

Page 32: Mobile Best Practices and Web Flows

Auto-Redirect

Advantages:

• Loads faster

• Uses less data

• Formatted for device

• Many users prefer mobile sites

Disadvantage:

• Users aren’t given an option

Page 33: Mobile Best Practices and Web Flows

Splash Screen

Advantage:

• Loads the fastest

• Users get a choice

Disadvantage:

• Adds one more step and requires users to take action to visit your site

• If not remembered, becomes annoying very quickly.

Page 34: Mobile Best Practices and Web Flows

Manual Redirect

Advantage:

• Users are provided the full site

• Users choose to access mobile version

Disadvantage:

• Takes longer to load

• Uses more data

• Not formatted for device

• Users must know to look for and find a link to the mobile site

Page 35: Mobile Best Practices and Web Flows

Application Only

Advantage:

• Extremely accessible and always on user’s phone

Disadvantage:

• Requires users to download

• Not available on all devices

• May be forgotten (they will just go to your site instead of using the application)

Page 36: Mobile Best Practices and Web Flows

Best Practice: For well designed mobile sites that offer similar functionality, it is recommended to redirect the user automatically to the site that best fits their device. Users should be provided with the option of returning back to the main site or using a mobile site (ie a footer link) and this preference should be remembered (ie in a cookie)

Page 37: Mobile Best Practices and Web Flows

Best Practice: By redirecting users to a subdomain such as m.yourdomain.com users know they are being sent to a mobile friendly version. However, avoid sending users through multiple redirects (one is a good number). This redirection should be done server side instead of browser side as it requires less data to be transferred.

Page 38: Mobile Best Practices and Web Flows

Who uses automatic redirects?

Page 39: Mobile Best Practices and Web Flows

Who uses automatic redirects?

Page 40: Mobile Best Practices and Web Flows

Who uses manual redirects?

Page 41: Mobile Best Practices and Web Flows

Who uses manual redirects?

Remember, users have to find the link to use the mobile site. Microsoft, however, doesn’t even link to their mobile site from their desktop site!

Page 42: Mobile Best Practices and Web Flows

Who uses splash screens?

Page 43: Mobile Best Practices and Web Flows

Who uses splash screens?

The National Hockey League uses a splash screen to bring attention to their mobile applications. Users can choose to download an app, or go to the site. However, this prevents users from having immediate access to scores, news, and other information they are trying to view.

Page 44: Mobile Best Practices and Web Flows

Who uses only apps?

Page 45: Mobile Best Practices and Web Flows

Who uses only apps?

Keep in mind, unless users go looking for, and find their apps, users will not be able to have a convenient experience optimized for their mobile device. They are required to either find the app in an “app store” or navigate the full site on their device to find a link to the mobile app.

Page 46: Mobile Best Practices and Web Flows

To Recap…

Page 47: Mobile Best Practices and Web Flows

Make it Assessible!

Users should be able to quickly

access your site in a device

friendly format.

Avoid making your users search

for links or download applications

to access your site in a

convenient manner.

Page 48: Mobile Best Practices and Web Flows

Make it Fast!

Mobile sites should be quick

to load, using as little data

and avoiding any unnecessary

extras.

Page 49: Mobile Best Practices and Web Flows

Make it Convenient!

Mobile devices are becoming

more and more popular, and as

such sites need to be easily

Accessible and convenient for

users on these devices.

Page 50: Mobile Best Practices and Web Flows

Make it Global!

Remember there are a vast

array of devices, and they don’t

all have the same capabilities.

Know your target audience when

making design decisions to meet

their device capabilities (such as

JavaScript and HTML5 features).

Page 51: Mobile Best Practices and Web Flows

THE END… THANK YOU!

@mikegstowe