The mobile web

Chris Mills, Opera Software ASA

Who am I, and what the hell do I do?

Introductions!

Chris

Say hello to the mobile web

lots of mobile phones

What is the mobile web?

What is it?

Large market...

Large market

It’s an enormous market

The African Continent

Africa

South East Asia

South East Asia

Worldwide Trends

USA: Top Websites

Top websites

USA: Top Handsets

Top handsets

UK: Top Websites

Top websites

UK : Top Handsets

Top handsets

Russia: Top Websites

Top websites

Russia : Top Handsets

Top handsets

China: Top Websites

Top websites

China: Top Handsets

Top handsets

India: Top Websites

Top websites

India: Handsets

Top handsets

One web

One web

Case study: Orkut in India

Orkut

Mobile standards support

The mobile playing field is not level

Uneven playing field

Mobile browsers differ a lot in capabilities:

Opera Mini: How it works

Opera Mini workflow

Opera mini user sends request

Opera Mini: How it works

Opera Mini workflow

Opera mini servers retrieave the web page and convert it

Opera Mini: How it works

Opera Mini workflow

Opera mini servers sent the page back to the user's device

Opera Mini standards support

Mini standards support

Mini shares the good standards support of its desktop cousin

So you can use what you already know, in terms or web standards and design principles, such as IA, etc.

Mobile web limitations

Different screen sizes

Screen size

different screen sizes

Screen size variance — how usable will your 1024 x 768 design look on a 240 x 320 screen?

Different screen sizes

Screen size

Some mobile browsers help out, with things such as zoom mode, but you should still plan

  1. Make your designs simple and fluid
  2. Or use mechanisms such as media queries and capability detection to tailor content

Limited/varying controls

Varying controls

different browser controls

Lack of memory and processing power

Memory and processing power

Fonts suck!

Limited fonts

Generally available web fonts Mobile phones usually have much less in the way of fonts

Limited colour palettes

Colour palettes

Mobile web benefits

Location-based services (LBS)

Location-based services

How to find yourself!

Location-based services (LBS)

Location-based services

Location-based services (LBS)

Location-based services

<span class="geo">
  <span class="latitude">0.000000</span>
  <span class="longitude">0.000000</span>
</span>

The tel: protocol

the tel: protocol

<a href="tel:12345678">Call me at 12345678</a>

Other device-specific advantages

Other device-specific advantages

Cameras!

Being mobile…

Consider the user experience above all

It won’t be the same across all devices!

Test, test, test

Mobile web optimization

Making your site look good on mobile!

Mobile optimization

3 approaches to mobile support:

  1. Do nothing except follow web standards
  2. Create a completely separate mobile site
  3. Create one site, but optimize it depending on the device/browser looking at it

Just follow web standards

Just use standards?

Completely separate mobile site

Be careful here

One site to rule them all…

Optimizing a single site

    Optimizing your site how?

    1. Server-side detection, eg UA string or HTTP header querying
    2. Media types
    3. Media queries

Server-side detection issues

Server-side detection issues

Be careful with server-side detection:

Media types

Media types

Serving different styles to different device types — desktop, handheld, projectors, printed page

<link rel="stylesheet" media="screen" type="text/css"
href="main.css" />
<link rel="stylesheet" media="print" type="text/css"
href="print.css" />
<link rel="stylesheet" media="handheld" type="text/css"
href="mobile.css" />

But again it’s open to abuse

Media queries

Media queries

A technology allowing you to dynamically adjust web page layouts depending on viewing device, browser window width, etc.

LIVE DEMO TIME!

Example on Mobile device

Media query mobile view

My example running on Opera Mini

Thanks for listening

Thanks

E-mail us with and thoughts, suggestions, jokes or insults — cmills@opera.com, brucel@opera.com

Or seek us out on Twitter — @chrisdavidmills, @brucel

Slides soon available at my blog — http://my.opera.com/chrismills, published under Creative commons. Feel free to reuse them