Mobile Web Design
© MMVI Cameron Moll. This document is available under the W3C Document License.
This webinar is presented by W3C to the Web community as part of an EU
IST project (3GWeb). The content of this webinar does not necessarily
represent the official position of the W3C, or the position of any of
the W3C members or W3C’s host institutions.
(Lawyer says ‘Hi’!)
2
© MMVI Cameron Moll. This document is available under the W3C Document License.
You are...
Experienced with XHTML/CSS.
Familiar with good markup techniques.
Unsure about this “mobile web thing”.
3
Legacy
© MMVI Cameron Moll. This document is available under the W3C Document License.
1910
5
© MMVI Cameron Moll. This document is available under the W3C Document License.
Pocket watches provide the closest
historical parallel to the remarkable
rise of the mobile phone.”
—Jon Agar, Constant Touch
“
6
© MMVI Cameron Moll. This document is available under the W3C Document License.
Staggering Numbers
1996 GSM phones in 103 countries
2000 10 million i-mode users (Japan)
2002 1 billion mobile phone users worldwide
2009 3 billion mobile phone users worldwide
7
© MMVI Cameron Moll. This document is available under the W3C Document License.
UK More mobile phones than humans...
8
Quandary
© MMVI Cameron Moll. This document is available under the W3C Document License.
Reader Poll
Highly scientific, statistically significant
(not really!)
10
© MMVI Cameron Moll. This document is available under the W3C Document License.
~400
159
19
44
Participants
Unique handsets(Motorola RAZR, Palm Treo 650, Sony Ericsson K750i / K700i / T610, Nokia 6230...)
Manufacturers
Countries
11
© MMVI Cameron Moll. This document is available under the W3C Document License.
Designers face a proliferation of
capabilities that make the early
[Mobile] Web look like a playground.”
—Joe Shepter, “The Pulse of Modern Design”
“
12
© MMVI Cameron Moll. This document is available under the W3C Document License.
Mobile Web “Playground”
WML, XHTML, -MP, -Basic...
Plethora of user agents
Varying coding practices, URIs, etc.
13
© MMVI Cameron Moll. This document is available under the W3C Document License.
What is the Mobile Web?
14
?
© MMVI Cameron Moll. This document is available under the W3C Document License.
Optimism
More mobiles than PCs.
More mobiles than landline phones.
Web usage is continually increasing.
You can utilize existing skills.
16
Context
© MMVI Cameron Moll. This document is available under the W3C Document License.18
© MMVI Cameron Moll. This document is available under the W3C Document License.
Noooo!
19
© MMVI Cameron Moll. This document is available under the W3C Document License.
Instead... What is contextually relevant?
20
© MMVI Cameron Moll. This document is available under the W3C Document License.21
© MMVI Cameron Moll. This document is available under the W3C Document License.
Mobile = Mobility
22
© MMVI Cameron Moll. This document is available under the W3C Document License.
Design = Communication
23
© MMVI Cameron Moll. This document is available under the W3C Document License.
Therefore, mobile design is the art of
communicating within an
environment of mobility.
24
Fundamentals
© MMVI Cameron Moll. This document is available under the W3C Document License.
Most devices sold today are WAP 2.0.
26
© MMVI Cameron Moll. This document is available under the W3C Document License.
XHTML, not WML.
27
© MMVI Cameron Moll. This document is available under the W3C Document License.
What that means...
28
english360.com
english360.com
english360.com/mobile (powered by MovableType)
© MMVI Cameron Moll. This document is available under the W3C Document License.
However,
32
© MMVI Cameron Moll. This document is available under the W3C Document License.
XHTML/CSS support is inconsistent.*
* highly
33
© MMVI Cameron Moll. This document is available under the W3C Document License.
Markup Test Pages
cameronmoll.com/mobile
34
© MMVI Cameron Moll. This document is available under the W3C Document License.35
© MMVI Cameron Moll. This document is available under the W3C Document License.36
© MMVI Cameron Moll. This document is available under the W3C Document License.37
© MMVI Cameron Moll. This document is available under the W3C Document License.38
© MMVI Cameron Moll. This document is available under the W3C Document License.39
© MMVI Cameron Moll. This document is available under the W3C Document License.
Test on target devices, not emulators.
40
Methodology
© MMVI Cameron Moll. This document is available under the W3C Document License.
Method
Do nothing.
42
31 kb (markup only)
© MMVI Cameron Moll. This document is available under the W3C Document License.
Method
Do nothing.
Strip images and styling.
44
© MMVI Cameron Moll. This document is available under the W3C Document License.
Method
Do nothing.
Strip images and styling.
Handheld stylesheets.
45
© MMVI Cameron Moll. This document is available under the W3C Document License.
Method
Do nothing.
Strip images and styling.
Handheld stylesheets.
Mobile-specific site/app.
46
© MMVI Cameron Moll. This document is available under the W3C Document License.47
© MMVI Cameron Moll. This document is available under the W3C Document License.
Miniaturize or Mobilize?
48
© MMVI Cameron Moll. This document is available under the W3C Document License.
Miniaturize
Repurpose existing content
49
craigslist.org
© MMVI Cameron Moll. This document is available under the W3C Document License.
craigslist screen grab
51
© MMVI Cameron Moll. This document is available under the W3C Document License.
Primary Use Cases
Choose area (city)
Browse category
Post a listing
Search
Event Calendar
Forums
52
© MMVI Cameron Moll. This document is available under the W3C Document License.
Use Case Hiearchy
1. Search
2. Categories
3. Event calendar
4. Choose area
Top element
Most frequented
Access to today, tomorrow
By zip code or city nameAssume San Francisco by default
53
Text or numericSearch
Most frequentedCategories
Zip or name; would offer suggestions if not found
City
Opera Mini
© MMVI Cameron Moll. This document is available under the W3C Document License.
Mobilize
Content-, Context-, Component-specific
57
© MMVI Cameron Moll. This document is available under the W3C Document License.58
© MMVI Cameron Moll. This document is available under the W3C Document License.
LBS
59
Forces
© MMVI Cameron Moll. This document is available under the W3C Document License.
SMS
J2ME
AJAX
SVG
LBS
61
Texting; SMS search
Java-based apps, interactivity
Javascript, XML
SVG Tiny; scalable vector graphics
Location-based services; GPS
© MMVI Cameron Moll. This document is available under the W3C Document License.
The mobile device has the potential to
act as a significant reporter of data
rather than a mere consumer of data.”
—Joe Shepter, “The Pulse of Modern Design”
“
62
© MMVI Cameron Moll. This document is available under the W3C Document License.63
© MMVI Cameron Moll. This document is available under the W3C Document License.
Device Detection
“Sniff out” user agent strings for individual devices
64
© MMVI Cameron Moll. This document is available under the W3C Document License.
User Agents
Proprietary vs. Cross-platform?
Beyond mobile phones?
65
© MMVI Cameron Moll. This document is available under the W3C Document License.
http://www.tinyurl.com/l2lst
66
© MMVI Cameron Moll. This document is available under the W3C Document License.
Best Practices
...and even “standards”?
67
© MMVI Cameron Moll. This document is available under the W3C Document License.
Mobile Web Initiative
W3C chartered
Input by mobile developers, companies
Best Practices
68
© MMVI Cameron Moll. This document is available under the W3C Document License.
Sample Guidelines
Use valid markup.
Use tables only if supported by target device.
Use text equivalents for non-text elements.
http://www.w3.org/TR/mobile-bp/
69
© MMVI Cameron Moll. This document is available under the W3C Document License.
Also...
mobileOKhttp://tinyurl.com/gzdrb
Best Practices Checkerhttp://tinyurl.com/jsrkn
...remember these?
70
Ideology
© MMVI Cameron Moll. This document is available under the W3C Document License.
A mobile web that is
desirable, dependable, disciplined.
72
© MMVI Cameron Moll. This document is available under the W3C Document License.
An array of thought leaders.
73
© MMVI Cameron Moll. This document is available under the W3C Document License.
User agent consistency.
74
© MMVI Cameron Moll. This document is available under the W3C Document License.
Mobile device wiki.
75
© MMVI Cameron Moll. This document is available under the W3C Document License.
...and?
76
Questions?