Mobilise your ASP.NET website

32
Mobile Web 2.0 Mobilise your ASP.NET Website matt lacey @mrlacey - blog.mrlacey.co.uk - mrlacey.mobi

description

Mobile Web 2.0 and Mobilising your ASP.NET website VBUG London 7th April 2009

Transcript of Mobilise your ASP.NET website

Page 1: Mobilise your ASP.NET website

Mobile Web 2.0

Mobilise your ASP.NET Website

matt lacey@mrlacey - blog.mrlacey.co.uk -

mrlacey.mobi

Page 2: Mobilise your ASP.NET website
Page 3: Mobilise your ASP.NET website

Mobile Web

Vs

The web on mobile

Page 4: Mobilise your ASP.NET website

What is “Mobile”?•Person not device•About context•About the “Point of Inspiration”•30 second not 30 minutes•Not about minaturisation

Page 5: Mobilise your ASP.NET website
Page 6: Mobilise your ASP.NET website

Web 2.0

1. The Web as a Platform2. Harnessing Collective

Intelligence3. Data as the Next “Intel Inside”4. End of the Software Release

Cycle5. Lightweight Programming

Models6. Above the level of a single

device7. Rich User Experiences

Page 7: Mobilise your ASP.NET website
Page 8: Mobilise your ASP.NET website

"we expect that eventually the majority of the usage of the internet will be on mobile phones"

Page 9: Mobilise your ASP.NET website

"Mobile devices are the most important technology of them all."

Page 10: Mobilise your ASP.NET website

“Google’s future depends on the next internet, on cellphones.”

Page 11: Mobilise your ASP.NET website

http://www.codeproject.com/

Page 12: Mobilise your ASP.NET website

What’s changed?

Page 13: Mobilise your ASP.NET website

Who’s using the mobile web?

17,400,000 users in the UK

Mobile Social Networks(350% increase in last 6 months - Orange)

Page 14: Mobilise your ASP.NET website

http://www.stoplivinginthepast.com/

Page 15: Mobilise your ASP.NET website

http://mdbf.codeplex.com/

Mobile Browser Definition File

Page 16: Mobilise your ASP.NET website

Alternatives

•UAProfile•WURFL (http://wurfl.sourceforge.net/)

•Device Atlas (http://www.deviceatlas.com)

•DetectRight (http://www.detectright.com/)

•Volantis (http://www.volantis.com/)

•MobileAware (http://www.mobileaware.com/)

Page 17: Mobilise your ASP.NET website

Testing

•Emulators•Web Emulators•Firefox (with Add-ons)•User Agent Switcher•XHTML Mobile Profile•Wmlbrowser•Devices

Page 18: Mobilise your ASP.NET website

Demos 1 - 3

Page 19: Mobilise your ASP.NET website

CSS Solutions

Handheld style sheets<link media="handheld“ ... />

CSS Propertiesmax-device-width:480px

Page 20: Mobilise your ASP.NET website

CSS Tips

•Some browsers don’t support CSS in other files

•Avoid trying to set position or anything other than simple styling.

Page 21: Mobilise your ASP.NET website

Demo 4

Page 22: Mobilise your ASP.NET website
Page 23: Mobilise your ASP.NET website

Demos 5 - 7

Page 24: Mobilise your ASP.NET website

http://ready.mobi/ - vbug.co.uk

Page 25: Mobilise your ASP.NET website

Demo 8

Page 26: Mobilise your ASP.NET website

http://ready.mobi/ - demo8

Page 27: Mobilise your ASP.NET website

Demo Summary•Detecting Mobile Browsers•CSS•Domains•Images•Colours•Screen Size•Page Structure

Page 28: Mobilise your ASP.NET website
Page 29: Mobilise your ASP.NET website

HTTP_USER_AGENT => Nokia6288/2.0 (05.92) Profile/MIDP-2.0 Configuration/CLDC-1.1 HTTP_X_WAP_PROFILE => "http://nds1.nds.nokia.com/uaprof/N6288r100.xml" HTTP_ACCEPT => application/vnd.wap.wmlscriptc, text/vnd.wap.wml, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/html, multipart/mixed, */* HTTP_ACCEPT_CHARSET => ISO-8859-1, US-ASCII, UTF-8; Q=0.8,

ISO-10646-UCS-2; Q=0.6 HTTP_ACCEPT_LANGUAGE => en HTTP_ACCEPT_ENCODING => gzip, deflate HTTP_CONNECTION => Keep-Alive

Nokia 6288

Page 30: Mobilise your ASP.NET website

HTTP_USER_AGENT => = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 MG (Novarra-Vision/6.1)

HTTP_ACCEPT => text/html;q=1.0, text/css; q=1.0, application/x-javascript; q=1.0, text/plain;q=0.8, application/xhtml+xml;q=0.6, application/x-httpd-php;q=0.1, */*;q=0, image/gif; q=1.0, image/jpeg; q=1.0, image/png; q=1.0 HTTP_ACCEPT_CHARSET => ISO-8859-1,utf-8;q=0.7,*;q=0.7 HTTP_ACCEPT_LANGUAGE => en HTTP_ACCEPT_ENCODING => identity;q=1.0, gzip;q=0.1, *;q=0 HTTP_X_NOVARRA_DEVICE_TYPE => 0 HTTP_X_DEVICE_USER_AGENT => Nokia6288/2.0 (05.94) Profile/MIDP-2.0 Configuration/CLDC-1.1 ...

Nokia 6288 – on Vodafone

Page 31: Mobilise your ASP.NET website

For more information:

•http://mobiforge.com/

•http://www.w3.org/TR/mobile-bp/

•Ask me ([email protected])

Page 32: Mobilise your ASP.NET website

Let’s talk