should i build a separate mobile site or a responsive site? neither! with derek watson

53
Derek Watson, TWG Mobile Website or Responsive Design? Neither! Oct 4th, 2013 - #FITCSCREENS13

Upload: fitc

Post on 09-May-2015

1.803 views

Category:

Technology


1 download

DESCRIPTION

Presented at SCREENS 2013 in Toronto. Details at fitc.ca/screens Derek Watson, Senior Developer at TWG, reviews the two most popular strategies for creating mobile web properties (separate mobile-specific sites vs. responsive css), the pros and cons of each, and and a little known third technique that marries the best of both worlds.

TRANSCRIPT

Page 1: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Derek Watson, TWG

Mobile Websiteor Responsive Design?

Neither!

Oct 4th, 2013 - #FITCSCREENS13

Page 2: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Derek Watson

@dcwca @twg

Developer at TWG

Page 3: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Agenda

• Mobile websites

• Responsive web

• Pros / Cons

• How to combine the best of both

Page 4: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Web Architecture

Page 5: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Web Architecture - 1999

HTML Pages

Page 6: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Web Architecture - 2004

Content Management

System

Website

Page 7: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Web Architecture - 2007

Content Management

System

Mobile Web Website

Page 8: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Web Architecture - 2010

Content Management

System

Mobile Web iPhone App Website

Page 9: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Web Architecture - 2013

HTTP API

Content Management

System

Mobile Web iPhone App Android App Windows App Blackberry App

Website

Page 10: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Many mobile platforms lead to complicated

architecture

Page 11: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Goals for The Web

• Native look & feel

• Lightweight

• Performant

• Wide device support

Page 12: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

The Past

Mobile Websites

Page 13: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Mobile Websites - Defined

• Users are redirected to m.domain.com

• Separate project from the main website

• Views are rebuilt for mobile

• Limited functionality

Page 14: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson
Page 15: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Mobile Websites:

Advantages!

Page 16: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Mobile Websites: Advantages

• Completely custom UI

Page 17: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Mobile Websites: Advantages

• Completely custom UI

• Lightweight

Page 18: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Mobile Websites: Advantages

• Completely custom UI

• Lightweight

• Target mobile browsers only

Page 19: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Mobile Websites:

Challenges

Page 20: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Mobile Websites: Challenges

• Separate projects, duplicate code

Page 21: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Mobile Websites: Challenges

• Separate projects, duplicate code

• Feature disparity

Page 22: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Mobile Websites: Challenges

• Separate projects, duplicate code

• Feature disparity

• URL fragmentation

Page 23: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

The Present

Responsive Web

Page 24: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Responsive Web - Defined

• Term coined in May 2010 by Ethan Marcotte

• CSS3 changes the layout of an HTML document

• Site “responds” to different screen sizes

Page 25: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson
Page 26: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson
Page 27: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

“2013 Is The Year of Responsive Web Design”

- Mashable.com (in 2012)

Page 28: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Responsive Web:

Advantages!

Page 29: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Responsive Web - Advantages

• Simple technology

Page 30: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Responsive Web - Advantages

• Simple technology

• Single project

Page 31: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Responsive Web - Advantages

• Simple technology

• Single project

• Feature parity

Page 32: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Responsive Web - Advantages

• Simple technology

• Single project

• Feature parity

• Unified URLs

Page 33: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Responsive Web:

Challenges

Page 34: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Responsive Web - Challenges

• Contorting your HTML

Page 35: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Responsive Web - Challenges

• Contorting your HTML

• Responsive images

Page 36: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Responsive Web - Challenges

• Contorting your HTML

• Responsive images

• HTML and CSS bloat

Page 37: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Responsive Web - Challenges

• Contorting your HTML

• Responsive images

• HTML and CSS bloat

• Tricky design

Page 38: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Mobile Web Responsive

Fast loading

Custom UI

Mobile Optimized

Unified URLs

Single Project

Feature Parity

Page 39: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

The Future

It just might work!

Page 40: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

[RESS intro]

“I’m increasingly interested in solutions that bring together the best of both worlds.”-Luke W. on “RESS”

Page 41: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

RESS - Defined

• Device detection (but no redirects)

• Switching view templates server-side

• Using responsive css techniques where appropriate

Page 42: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Server-side MVC frameworks

Page 43: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Model

ControllerView

User

MVC

Page 44: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Model

Controller

Phone

Tablet View

Desktop View

Phone View

Tablet

Desktop

Page 45: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson
Page 46: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson
Page 47: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson
Page 48: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Client-side MVC

Page 49: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Food for Thought

• Do you want the same experience on web & mobile?

Page 50: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Food for Thought

• Do you want the same experience on web & mobile?

• How critical is performance and load time?

Page 51: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Good Reads

A gallery of Responsive Web Designs http://mediaqueri.es

Responsive Image Workflow http://bit.ly/17JS1Lv

Performance Implications of Responsive Design http://bit.ly/L9gEDg

RESS: Responsive Design + Server Side Components http://bit.ly/nsW1nq

Page 52: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Questions?

Page 53: Should I Build a Separate Mobile Site or a Responsive Site? Neither! with Derek Watson

Thanks!Derek Watson@dcwca @twg