SlideShare a Scribd company logo
The Mobile Web
(or the masochist's guide to gleeful
self-flagellation)
Peter-Paul Koch (ppk)
http://quirksmode.org
http://twitter.com/ppk
Fronteers 2009, 5 November 2009
Hell is other browsers - Sartre
1588
The Most Catholic King
is not pleased with the
Queen of England.
She is the only major
opponent of victorious
catholicism left in
Europe.
1588
The Spanish armies are
invincible. The English
won't stand a chance.
But England is an
island. Therefore a
different strategy is
required.
1588
We'll build a fleet;
one that is so large
that it
can't possibly fail
The Invincible Armada
The Invincible Armada
20 galleons, 4 galleys, 4 galleases,
about 100 smaller and supporting
ships.
The first ever really big Atlantic fleet
bound for the first ever really big
Atlantic sea war.
The Invincible Armada
The struggle between the Armada and
the English fleet was the first modern
naval battle in history.
There was just one slight problem:
Nobody had the faintest idea how to
conduct a modern naval battle.
Shooting
Shooting the other side's ships to bits is
a vital ingredient of any naval tactic.
Both the English and the Spanish were
aware of that.
What they didn't
know was how
to pull it off.
Shooting
These two ships can fire until all powder
and balls are spent, but they'll hit each
other only by luck.
They're not
close enough.
Shooting
It was only in the
next century that
they figured out
ships had to
approach closely,
and then fire all
cannon
simultaneously.
The Invincible Armada
The first modern naval battle in history.
Serious mistakes were made; mistakes
that later generations found odd.
That's exactly where we are with the
mobile web right now.
The Mobile Web
Mobile is the single most fascinating
development on the Web in many years.
Problem is: we don't have the faintest
idea what to do with it.
Yet.
Case study: Liever.com
Case study: Liever.com
- Browse through photos of interior
design.
- Create a scrapbook with stuff you like.
- Use site to get directions to nearest
shop.
Now which mobile strategy should
Liever.com use?
Case study: Liever.com
Mobile strategy:
Allow users to put their scrapbook on
their phone so they can take it to the
shop and show what they want to buy.
Mobile strategy is about context, and
this is context ... isn't it?
Case study: Liever.com
Allow users to put their scrapbook on
their phone.
How?
a) An application
b) Web
Case study: Liever.com
Allow users to put their scrapbook on
their phone.
How?
a) An application
b) Web
Applications
Writing a mobile app seems to be a
good idea. An app can tie in with the
phone OS and use its strengths.
Geolocation might be useful: where is
the closest shop for product X?
Applications
So let's write one for the iPhone
And one for Android
And one for Blackberry
And one for Symbian
And one for Windows Mobile
And one for Linux
etc.etc.
Interoperability: 0
Case study: Liever.com
Allow users to put their scrapbook on
their phone.
How?
a) An application
b) Web
The Mobile Web
The other option is to create a website.
Or rather, to make the already-existing
website safe for mobile devices.
That means we have to take a closer
look at the mobile browsers.
Freak show time!
Mobile browsers
- Android WebKit
- Opera Mobile
- NetFront
- Safari
- MicroB
- Blackberry
- S60 WebKit
- IE Mobile
- Palm WebKit
You may groan now.
- Iris
- Bolt
- Skyfire
- Obigo
- Fennec
- Teashark
- Ozone
- Opera Mini
Mobile browsers
- Android WebKit
- Opera Mobile
- NetFront
- Safari
- MicroB
- Blackberry
- S60 WebKit
- IE Mobile
- Palm WebKit
Default browsers
- Iris
- Bolt
- Skyfire
- Obigo
- Fennec
- Teashark
- Ozone
- Opera Mini
Non-default
Mobile browsers
- Android WebKit
- Opera Mobile
- NetFront
- Safari
- MicroB
- Blackberry
- S60 WebKit
- IE Mobile
- Palm
These are all WebKit browsers.
- Iris
- Bolt
- Skyfire
- Obigo
- Fennec
- Teashark
- Ozone
- Opera Mini
WebKit Mobile
There is no WebKit on Mobile.
There's iPhone Safari (2 and 3),
and Android (1.0 and 1.5)
and S60 WebKit (v3 and v5)
and Iris, which was bought by Blackberry
and Palm
and Bolt, Ozone, Teashark, and a few more
These WebKits are all different.
There is no WebKit on Mobile.
Exhibit A: http://quirksmode.org/m
Mobile browsers
The main battle on mobile is now
between “WebKit” and Opera.
WebKit is free, but that means
everybody creates his own version.
Opera costs money (for vendors), but
there's some central planning, and
therefore less differences.
Mobile browsers
- Blackberry browser is dead; they'll
switch to WebKit instead
- Mozilla is very late to the game
- NetFront is not very good
- IE ... is IE (IE6, to be precise)
- The minor browsers are even worse
Example
Safari iPhone 2.2
Zooms out and
shows entire page.
Width about 900px
Blackberry 9500
(Storm)
Same, but with a
few bugs.
S60v3 WebKit on
Nokia E71
NetFront 3.2 on
Samsung F700
Yeah ... right ...
But what if we
switch it to
landscape mode?
NetFront 3.2 on Samsung F700 landscape
Opera Mobile 9.5
on HTC Touch
Diamond
(Win Mob 6.1)
Footer not visible;
otherwise OK.
Opera Mobile 9.5
on HTC Touch
Diamond
(Win Mob 6.1)
Footer not visible;
otherwise OK.
But...
This is in desktop
mode.
There's also a
mobile mode.
Opera Mobile 9.5
on HTC Touch
Diamond
(Win Mob 6.1)
in mobile mode.
Totally different.
Opera Mobile 9.5
on HTC Touch
Diamond
(Win Mob 6.1)
in desktop mode.
Basic CSS.
Opera Mobile 9.5
on HTC Touch
Diamond
(Win Mob 6.1)
in mobile mode.
Basic CSS.
Android 1.5 landscape mode
Android 1.5
portrait, in mobile
mode.
The 300px wide
box is smaller than
the 330px wide
box.
Case study: Liever.com
Allow users to put their scrapbook on
their phone.
How?
a) An application
b) Web
Case study: Liever.com
App problems:
- No interoperability.
- If you update the app, you have to pay
one team per platform to do the work
for you.
Case study: Liever.com
Web problems:
- Browsers. That's fundamentally
nothing new, but the details are
different.
- Connections
Connections
If the guy next to you is downloading a
few movies
your network connection will slow down
regardless of how good it's supposed to
be.
I don't see this problem disappearing
any time soon.
Connections
This is a problem on the mobile web,
especially when your site uses 200K of
custom JavaScript plus a few libraries.
They have to be downloaded every time
the user visits your site
and caching isn't always reliable.
Connections
Solution:
Put the core files on your mobile phone
so that you only need to download the
data. Saves a lot of network traffic.
Apps do that. Websites don't.
Enter W3C Widgets.
W3C Widgets
W3C Widgets are local applications
written in HTML, CSS, and JavaScript.
They run in a browser (mainly Opera
right now).
They can do Ajax requests for more
data.
Creating W3C Widgets
- Create 1 HTML page with the CSS,
JavaScript, and images you need.
- Add an icon and a config.xml
- Zip the lot
- Change extension to .wgt
- Upload to a widget-capable phone
- It Just Works
W3C Widgets
Besides...
If I have a W3C Widget on my S60 phone
and you have a Windows Mobile phone
I can send the widget via Bluetooth
and It Just Works
(Really; I've done it)
W3C Widgets
Right now W3C Widgets work in:
- S60 phones with Vodafone Widget
Manager
- any phone with Opera Mobile 9.51+
- Windows Mobile 6.5 phones (well,
almost)
W3C Widgets
In the future they might work in:
- Blackberry (first steps taken)
- Nokia Maemo?
- Palm Pre? (logical extension of webOS)
- Android??
Not on the iPhone, though.
#appleisevil
W3C Widgets
Problems with W3C Widgets:
- Animations. JavaScript gets better and
better, but animations remain a weak
spot relative to other languages
- Access to phone functionality such as
geolocation, the address book, the
camera, and the file system
Device APIs
Context!
In order to serve the mobile context we
need to access phone functionality from
W3C Widgets.
Enter JavaScript device APIs
device.phone.call(
device.addressBook.entries['mom'].number)
Device APIs
- JIL (Vodafone, China Mobile)
- W3C Device API Working Group (just
started)
- BONDI
- PhoneGap (iPhone, Android,
Blackberry); temporary solution
Device API Security
Besides, there's a security problem.
If someone sends me a widget via
Bluetooth,
how am I going to know it isn't going to
steal my address book?
Serious problem. No real solution yet.
W3C Widgets
Still, I believe these problems are
solvable.
I believe W3C Widgets are the future of
the mobile web.
So let's get to work.
Thank you!
Questions?
http://quirksmode.org
http://twitter.com/ppk

More Related Content

PDF
Best Practices For Delivering Quality Web Experiences In A Mobile, Multi-Brow...
Compuware APM
 
KEY
Tuenti Mobile Development
Tuenti
 
PDF
State of the Mobile Browsers
Peter-Paul Koch
 
PDF
The mobile browser world
Peter-Paul Koch
 
PDF
The mobile browser world
Peter-Paul Koch
 
PDF
Firefox OS Apps & Apis - WebRebels App day 2013
Jan Jongboom
 
PDF
Mobile Web High Performance
Maximiliano Firtman
 
KEY
Building Mobile Apps with HTML, CSS, and JavaScript
Jonathan Stark
 
Best Practices For Delivering Quality Web Experiences In A Mobile, Multi-Brow...
Compuware APM
 
Tuenti Mobile Development
Tuenti
 
State of the Mobile Browsers
Peter-Paul Koch
 
The mobile browser world
Peter-Paul Koch
 
The mobile browser world
Peter-Paul Koch
 
Firefox OS Apps & Apis - WebRebels App day 2013
Jan Jongboom
 
Mobile Web High Performance
Maximiliano Firtman
 
Building Mobile Apps with HTML, CSS, and JavaScript
Jonathan Stark
 

What's hot (18)

PDF
The Mobile Platform World
Matt Evans
 
KEY
Mobile Internet
Michaël Uyttersprot
 
PDF
Jedna sieć na każdym urządzeniu - Sebastian Baberowski i Paweł Miniewicz, Opera
Biznes 2.0
 
PPTX
chapter2
Pon Tovave
 
KEY
Philly ete-2011
davyjones
 
KEY
Developing for Mobility
Scotty Logan
 
KEY
Designing for mobile devices
Fahd Alhazmi
 
PDF
Web Apps and Responsive Design for Libraries
Matt Machell
 
KEY
OS3 - Enterprise Ireland - Approaches To I Phone Development & The Irish iPho...
Damian Sullivan
 
PDF
Go Mobile With WordPress (2012)
BraveNewCode Inc.
 
PDF
Android101 Intro to Android for the enterprise, IdoSphere
Dennis Heinle
 
KEY
mobile presentation
Kyle Peterson
 
PPTX
Stivanson cody assignment4
cstivanson
 
KEY
PhoneGap Slides from HTML5 Next and Now
Steve Gill
 
PDF
Web App vs Web Site
Matt Evans
 
PDF
Responsive Design & Beyond [Code & Creativity Workshop]
Aaron Gustafson
 
PPTX
01 Mobile Jungle
Arief Gunawan
 
KEY
Mobile WordPress: Dale Mugford of BraveNewCode
BraveNewCode Inc.
 
The Mobile Platform World
Matt Evans
 
Mobile Internet
Michaël Uyttersprot
 
Jedna sieć na każdym urządzeniu - Sebastian Baberowski i Paweł Miniewicz, Opera
Biznes 2.0
 
chapter2
Pon Tovave
 
Philly ete-2011
davyjones
 
Developing for Mobility
Scotty Logan
 
Designing for mobile devices
Fahd Alhazmi
 
Web Apps and Responsive Design for Libraries
Matt Machell
 
OS3 - Enterprise Ireland - Approaches To I Phone Development & The Irish iPho...
Damian Sullivan
 
Go Mobile With WordPress (2012)
BraveNewCode Inc.
 
Android101 Intro to Android for the enterprise, IdoSphere
Dennis Heinle
 
mobile presentation
Kyle Peterson
 
Stivanson cody assignment4
cstivanson
 
PhoneGap Slides from HTML5 Next and Now
Steve Gill
 
Web App vs Web Site
Matt Evans
 
Responsive Design & Beyond [Code & Creativity Workshop]
Aaron Gustafson
 
01 Mobile Jungle
Arief Gunawan
 
Mobile WordPress: Dale Mugford of BraveNewCode
BraveNewCode Inc.
 
Ad

Similar to The Mobile Web - Fronteers 2009 (20)

PDF
Samsung
Peter-Paul Koch
 
PDF
Google presentation: The Open Web goes mobile
Peter-Paul Koch
 
PDF
DDive- Giuseppe Grasso - mobile su Lotus
Dominopoint - Italian Lotus User Group
 
PPT
Mobile Phone Publishing Terminalfour Presentation V3
David Miller
 
PDF
Best practices for delivering quality web experiences
Ben Mantooth
 
PPT
Singapore Mobile 2.0 & Ux Trends 2009: Scott Weiss
YOGESH TADWALKAR
 
PDF
JSON over SMS
Peter-Paul Koch
 
DOCX
The near future of real web applications
X.commerce
 
PDF
Testing Mobile JavaScript
jeresig
 
KEY
Widgets, 360s and Androids
Sales Hub Pro
 
PPTX
Introduction to mobile technology
Gautam Krishnan
 
PPTX
Mobile Web Best Practices
Woody Pewitt
 
PDF
Apps vs. Sites vs. Content - a vendor-agnostic view on building stuff for the...
Kai Koenig
 
PDF
The future of the mobile web
Peter-Paul Koch
 
PDF
Why HTML5 is getting on my nerves…
Avenga Germany GmbH
 
PDF
The challenges of building mobile HTML5 applications - FEEC Brazil 2012 - Recife
Caridy Patino
 
PPTX
Telecoms 2.0: Understanding the Impact of Open Mobile
MobileMonday Norway
 
KEY
Mobile development : reaching critical mass
Alessandro Thellung
 
PPTX
The death of Silverlight, the triumph of HTML5, and the future of software de...
Judah Himango
 
PPTX
developementofmobileapplication-160412025313 (1).pptx
Poooi2
 
Google presentation: The Open Web goes mobile
Peter-Paul Koch
 
DDive- Giuseppe Grasso - mobile su Lotus
Dominopoint - Italian Lotus User Group
 
Mobile Phone Publishing Terminalfour Presentation V3
David Miller
 
Best practices for delivering quality web experiences
Ben Mantooth
 
Singapore Mobile 2.0 & Ux Trends 2009: Scott Weiss
YOGESH TADWALKAR
 
JSON over SMS
Peter-Paul Koch
 
The near future of real web applications
X.commerce
 
Testing Mobile JavaScript
jeresig
 
Widgets, 360s and Androids
Sales Hub Pro
 
Introduction to mobile technology
Gautam Krishnan
 
Mobile Web Best Practices
Woody Pewitt
 
Apps vs. Sites vs. Content - a vendor-agnostic view on building stuff for the...
Kai Koenig
 
The future of the mobile web
Peter-Paul Koch
 
Why HTML5 is getting on my nerves…
Avenga Germany GmbH
 
The challenges of building mobile HTML5 applications - FEEC Brazil 2012 - Recife
Caridy Patino
 
Telecoms 2.0: Understanding the Impact of Open Mobile
MobileMonday Norway
 
Mobile development : reaching critical mass
Alessandro Thellung
 
The death of Silverlight, the triumph of HTML5, and the future of software de...
Judah Himango
 
developementofmobileapplication-160412025313 (1).pptx
Poooi2
 
Ad

More from Peter-Paul Koch (9)

PDF
Rethinking the mobile web
Peter-Paul Koch
 
PDF
The touch events
Peter-Paul Koch
 
PDF
The touch events - WebExpo
Peter-Paul Koch
 
PDF
The touch events
Peter-Paul Koch
 
PDF
Vodafone Widget Camp
Peter-Paul Koch
 
PDF
Voices That Matter: JavaScript Events
Peter-Paul Koch
 
PDF
The Ajax Experience: State Of The Browsers
Peter-Paul Koch
 
PDF
An Event Apart Boston: Principles of Unobtrusive JavaScript
Peter-Paul Koch
 
PDF
Yahoo presentation: JavaScript Events
Peter-Paul Koch
 
Rethinking the mobile web
Peter-Paul Koch
 
The touch events
Peter-Paul Koch
 
The touch events - WebExpo
Peter-Paul Koch
 
The touch events
Peter-Paul Koch
 
Vodafone Widget Camp
Peter-Paul Koch
 
Voices That Matter: JavaScript Events
Peter-Paul Koch
 
The Ajax Experience: State Of The Browsers
Peter-Paul Koch
 
An Event Apart Boston: Principles of Unobtrusive JavaScript
Peter-Paul Koch
 
Yahoo presentation: JavaScript Events
Peter-Paul Koch
 

Recently uploaded (20)

PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
The Future of Artificial Intelligence (AI)
Mukul
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Doc9.....................................
SofiaCollazos
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 

The Mobile Web - Fronteers 2009

  • 1. The Mobile Web (or the masochist's guide to gleeful self-flagellation) Peter-Paul Koch (ppk) http://quirksmode.org http://twitter.com/ppk Fronteers 2009, 5 November 2009 Hell is other browsers - Sartre
  • 2. 1588 The Most Catholic King is not pleased with the Queen of England. She is the only major opponent of victorious catholicism left in Europe.
  • 3. 1588 The Spanish armies are invincible. The English won't stand a chance. But England is an island. Therefore a different strategy is required.
  • 4. 1588 We'll build a fleet; one that is so large that it can't possibly fail
  • 6. The Invincible Armada 20 galleons, 4 galleys, 4 galleases, about 100 smaller and supporting ships. The first ever really big Atlantic fleet bound for the first ever really big Atlantic sea war.
  • 7. The Invincible Armada The struggle between the Armada and the English fleet was the first modern naval battle in history. There was just one slight problem: Nobody had the faintest idea how to conduct a modern naval battle.
  • 8. Shooting Shooting the other side's ships to bits is a vital ingredient of any naval tactic. Both the English and the Spanish were aware of that. What they didn't know was how to pull it off.
  • 9. Shooting These two ships can fire until all powder and balls are spent, but they'll hit each other only by luck. They're not close enough.
  • 10. Shooting It was only in the next century that they figured out ships had to approach closely, and then fire all cannon simultaneously.
  • 11. The Invincible Armada The first modern naval battle in history. Serious mistakes were made; mistakes that later generations found odd. That's exactly where we are with the mobile web right now.
  • 12. The Mobile Web Mobile is the single most fascinating development on the Web in many years. Problem is: we don't have the faintest idea what to do with it. Yet.
  • 14. Case study: Liever.com - Browse through photos of interior design. - Create a scrapbook with stuff you like. - Use site to get directions to nearest shop. Now which mobile strategy should Liever.com use?
  • 15. Case study: Liever.com Mobile strategy: Allow users to put their scrapbook on their phone so they can take it to the shop and show what they want to buy. Mobile strategy is about context, and this is context ... isn't it?
  • 16. Case study: Liever.com Allow users to put their scrapbook on their phone. How? a) An application b) Web
  • 17. Case study: Liever.com Allow users to put their scrapbook on their phone. How? a) An application b) Web
  • 18. Applications Writing a mobile app seems to be a good idea. An app can tie in with the phone OS and use its strengths. Geolocation might be useful: where is the closest shop for product X?
  • 19. Applications So let's write one for the iPhone And one for Android And one for Blackberry And one for Symbian And one for Windows Mobile And one for Linux etc.etc. Interoperability: 0
  • 20. Case study: Liever.com Allow users to put their scrapbook on their phone. How? a) An application b) Web
  • 21. The Mobile Web The other option is to create a website. Or rather, to make the already-existing website safe for mobile devices. That means we have to take a closer look at the mobile browsers. Freak show time!
  • 22. Mobile browsers - Android WebKit - Opera Mobile - NetFront - Safari - MicroB - Blackberry - S60 WebKit - IE Mobile - Palm WebKit You may groan now. - Iris - Bolt - Skyfire - Obigo - Fennec - Teashark - Ozone - Opera Mini
  • 23. Mobile browsers - Android WebKit - Opera Mobile - NetFront - Safari - MicroB - Blackberry - S60 WebKit - IE Mobile - Palm WebKit Default browsers - Iris - Bolt - Skyfire - Obigo - Fennec - Teashark - Ozone - Opera Mini Non-default
  • 24. Mobile browsers - Android WebKit - Opera Mobile - NetFront - Safari - MicroB - Blackberry - S60 WebKit - IE Mobile - Palm These are all WebKit browsers. - Iris - Bolt - Skyfire - Obigo - Fennec - Teashark - Ozone - Opera Mini
  • 25. WebKit Mobile There is no WebKit on Mobile. There's iPhone Safari (2 and 3), and Android (1.0 and 1.5) and S60 WebKit (v3 and v5) and Iris, which was bought by Blackberry and Palm and Bolt, Ozone, Teashark, and a few more These WebKits are all different.
  • 26. There is no WebKit on Mobile. Exhibit A: http://quirksmode.org/m
  • 27. Mobile browsers The main battle on mobile is now between “WebKit” and Opera. WebKit is free, but that means everybody creates his own version. Opera costs money (for vendors), but there's some central planning, and therefore less differences.
  • 28. Mobile browsers - Blackberry browser is dead; they'll switch to WebKit instead - Mozilla is very late to the game - NetFront is not very good - IE ... is IE (IE6, to be precise) - The minor browsers are even worse
  • 30. Safari iPhone 2.2 Zooms out and shows entire page. Width about 900px
  • 33. NetFront 3.2 on Samsung F700 Yeah ... right ... But what if we switch it to landscape mode?
  • 34. NetFront 3.2 on Samsung F700 landscape
  • 35. Opera Mobile 9.5 on HTC Touch Diamond (Win Mob 6.1) Footer not visible; otherwise OK.
  • 36. Opera Mobile 9.5 on HTC Touch Diamond (Win Mob 6.1) Footer not visible; otherwise OK. But... This is in desktop mode. There's also a mobile mode.
  • 37. Opera Mobile 9.5 on HTC Touch Diamond (Win Mob 6.1) in mobile mode. Totally different.
  • 38. Opera Mobile 9.5 on HTC Touch Diamond (Win Mob 6.1) in desktop mode. Basic CSS.
  • 39. Opera Mobile 9.5 on HTC Touch Diamond (Win Mob 6.1) in mobile mode. Basic CSS.
  • 41. Android 1.5 portrait, in mobile mode. The 300px wide box is smaller than the 330px wide box.
  • 42. Case study: Liever.com Allow users to put their scrapbook on their phone. How? a) An application b) Web
  • 43. Case study: Liever.com App problems: - No interoperability. - If you update the app, you have to pay one team per platform to do the work for you.
  • 44. Case study: Liever.com Web problems: - Browsers. That's fundamentally nothing new, but the details are different. - Connections
  • 45. Connections If the guy next to you is downloading a few movies your network connection will slow down regardless of how good it's supposed to be. I don't see this problem disappearing any time soon.
  • 46. Connections This is a problem on the mobile web, especially when your site uses 200K of custom JavaScript plus a few libraries. They have to be downloaded every time the user visits your site and caching isn't always reliable.
  • 47. Connections Solution: Put the core files on your mobile phone so that you only need to download the data. Saves a lot of network traffic. Apps do that. Websites don't. Enter W3C Widgets.
  • 48. W3C Widgets W3C Widgets are local applications written in HTML, CSS, and JavaScript. They run in a browser (mainly Opera right now). They can do Ajax requests for more data.
  • 49. Creating W3C Widgets - Create 1 HTML page with the CSS, JavaScript, and images you need. - Add an icon and a config.xml - Zip the lot - Change extension to .wgt - Upload to a widget-capable phone - It Just Works
  • 50. W3C Widgets Besides... If I have a W3C Widget on my S60 phone and you have a Windows Mobile phone I can send the widget via Bluetooth and It Just Works (Really; I've done it)
  • 51. W3C Widgets Right now W3C Widgets work in: - S60 phones with Vodafone Widget Manager - any phone with Opera Mobile 9.51+ - Windows Mobile 6.5 phones (well, almost)
  • 52. W3C Widgets In the future they might work in: - Blackberry (first steps taken) - Nokia Maemo? - Palm Pre? (logical extension of webOS) - Android?? Not on the iPhone, though. #appleisevil
  • 53. W3C Widgets Problems with W3C Widgets: - Animations. JavaScript gets better and better, but animations remain a weak spot relative to other languages - Access to phone functionality such as geolocation, the address book, the camera, and the file system
  • 54. Device APIs Context! In order to serve the mobile context we need to access phone functionality from W3C Widgets. Enter JavaScript device APIs device.phone.call( device.addressBook.entries['mom'].number)
  • 55. Device APIs - JIL (Vodafone, China Mobile) - W3C Device API Working Group (just started) - BONDI - PhoneGap (iPhone, Android, Blackberry); temporary solution
  • 56. Device API Security Besides, there's a security problem. If someone sends me a widget via Bluetooth, how am I going to know it isn't going to steal my address book? Serious problem. No real solution yet.
  • 57. W3C Widgets Still, I believe these problems are solvable. I believe W3C Widgets are the future of the mobile web. So let's get to work.