Adaptive Mobile Web Design with a server side flavour James - - PowerPoint PPT Presentation

adaptive mobile web design
SMART_READER_LITE
LIVE PREVIEW

Adaptive Mobile Web Design with a server side flavour James - - PowerPoint PPT Presentation

Adaptive Mobile Web Design with a server side flavour James Rosewell & Thomas Holmes 1st June 2012 Explain Server Side options Objective = Efficient use of 1. your time 2. resources (server, client and data network) 1st June 2012 Agenda


slide-1
SLIDE 1

1st June 2012

Adaptive Mobile Web Design

with a server side flavour

James Rosewell & Thomas Holmes

slide-2
SLIDE 2

1st June 2012

Explain Server Side options

Objective = Efficient use of…

  • 1. your time
  • 2. resources (server, client and data network)
slide-3
SLIDE 3

1st June 2012

Agenda

1. Design Concepts 2. Demonstration

a) 3 Minute Setup b) X2 Content Management Systems c) Live Code

3. Summary

slide-4
SLIDE 4

1st June 2012

Happy Users

slide-5
SLIDE 5

1st June 2012 Alter Layout Alter Page Content Share Content & Separate Sites

Different Same Same Different Navigation Page Content

Considerations - Mobile vs Desktop

slide-6
SLIDE 6

1st June 2012 Alter Layout Alter Page Content Share Content & Separate Site

Different Same Same Different Navigation Page Content

Considerations - Mobile vs Desktop

Server Side Client Side Solution

slide-7
SLIDE 7

1st June 2012

What is server side detection?

Mobile

1. Request received 2. 51Degrees.mobi plug- in detects client capabilities 3. Response adapted for client

1 3

Web Site

2

Hardware Software Browser

slide-8
SLIDE 8

1st June 2012 rng.io

Collect Collate Distribute Detect

Usage Data

How do we create data?

Data & APIs

Vendors

slide-9
SLIDE 9

1st June 2012

Feature Detection - Ringmark

Ringmark ~ 30 seconds 51Degrees.mobi ~> 11ms

Ringmark is a feature detection site - donated to W3C Coremob by Facebook

rng.io

slide-10
SLIDE 10

1st June 2012 Go on. Try it now. How did we do?

99.8% Accuracy

slide-11
SLIDE 11

1st June 2012

Benefits

Server adapts response Real devices and browsers Community component Not just browser data

slide-12
SLIDE 12

1st June 2012

137,581 servers to date 280m devices in April 2012 CMS integration More soon…

slide-13
SLIDE 13

1st June 2012

Demonstration

3 Minute Setup - .NET & PHP Install CMS – Ingeniux CMS – Dot Net Nuke PHP Site

slide-14
SLIDE 14

1st June 2012

Visual Studio

Install Video

slide-15
SLIDE 15

1st June 2012

PHP

Install Video

slide-16
SLIDE 16

1st June 2012

A Model View Controller CMS

slide-17
SLIDE 17

1st June 2012

slide-18
SLIDE 18

1st June 2012

slide-19
SLIDE 19

1st June 2012

slide-20
SLIDE 20

1st June 2012

slide-21
SLIDE 21

1st June 2012

slide-22
SLIDE 22

1st June 2012

slide-23
SLIDE 23

1st June 2012

slide-24
SLIDE 24

1st June 2012

slide-25
SLIDE 25

1st June 2012

slide-26
SLIDE 26

1st June 2012

slide-27
SLIDE 27

1st June 2012

and

7 million downloads #1 Microsoft based CMS UK mobile industry podcast 10k listeners and readers a month

slide-28
SLIDE 28

1st June 2012

1. Tablets 2. Shared Content 3. Navigation 4. Touchscreen Key Features 5. Mobile Adverts

slide-29
SLIDE 29

1st June 2012 Alter Layout CSS3

slide-30
SLIDE 30

1st June 2012 Alter Page Content Share Content & Separate Sites

Different Same Same Different

Navigation Page Content

thefonecast.com - Tablet

Alter Layout

slide-31
SLIDE 31

1st June 2012 Share Content & Separate Sites

slide-32
SLIDE 32

1st June 2012 Alter Layout Alter Page Content Share Content & Separate Sites

Different Same Same Different

Navigation Page Content

thefonecast.com - Mobile

slide-33
SLIDE 33

1st June 2012

Diagram from http://weblogs.asp.net/ianrobinson

Share content through BLL and DAL Only UI layer different

slide-34
SLIDE 34

1st June 2012

Redirect rules for all pages

slide-35
SLIDE 35

1st June 2012

“Tweaked” Menus & x2 Skins

Footer menu only shows children Main menu excludes “Mobile” Header mobile menu – only x3 options + “big screen” skin + “mobile” skin

slide-36
SLIDE 36

1st June 2012

Extra Skin Code “Intelligence”

slide-37
SLIDE 37

1st June 2012 Set a viewport to limit zoom

slide-38
SLIDE 38

1st June 2012 Improve usability on touch screens by making buttons and links larger

slide-39
SLIDE 39

1st June 2012 Add browser specific meta tags

slide-40
SLIDE 40

1st June 2012

Advert Skin Code

Mobile Google adverts require server side code

Example mobile advert

slide-41
SLIDE 41

1st June 2012

and

slide-42
SLIDE 42

1st June 2012

CSS3 vs Server Side

slide-43
SLIDE 43

1st June 2012

Simple Application

List of Days Events for the day More Days Event Editor

Mobile

1 2

Desktop

Days Events for the day Event Editor

1

slide-44
SLIDE 44

1st June 2012

Data Difference

18kb 10kb

CSS3 Only Server Side

Extra CSS & Redundant content

  • n mobile phone

44% wasted data

Plus no images were used

slide-45
SLIDE 45

1st June 2012

Key Points

  • display:none – wastes data
  • used physical screen size to control layout
  • images really waste data… demo page
slide-46
SLIDE 46

1st June 2012

The Device Data

slide-47
SLIDE 47

1st June 2012

Differences Lite / Premium Data

Lite Premium # Properties 50 103 (IsTablet, Physical Screen Size, Input Method…) Update Frequency Monthly Weekly – automatic Age of Data 3 Months 1 Week Data Licencing Mozilla Public Licence 2 (MPL2) Bespoke – allows white label Cost Free From 64p per Day Platforms / APIs .NET, PHP, Perl with C, Java coming soon – all code MPL2

slide-48
SLIDE 48

1st June 2012

Redeem your coupon

slide-49
SLIDE 49

1st June 2012

We’ve covered

  • 1. Explain server side options

Efficient use of…

  • 2. your time
  • 3. resources (server, client and data network)
slide-50
SLIDE 50

1st June 2012

Affiliates & Partners Wanted

http://51degrees.mobi/MyAccount/AffiliateProgramme.aspx

15% commission for web referrals Higher for resellers & specific opportunities

slide-51
SLIDE 51

1st June 2012 .NET: DotNetNuke, Igeniux, Umbraco, WebNodes, SiteCore, nopCommerce; PHP: Wordpress, Joomla, Drupal, CodeIgniter; Perl with C & Java and more CMSs coming soon http://51degrees.mobi/ota for presentation, video and code