Responsive Web Design: How the mobile web has changed the way we think and work

39
Responsive Web Design: How the mobile web has changed the way we think and work Vidal Quevedo (@vq20) and Nick Weaver (@nickweaver) [ April 19, 2012 ] Madison Web design Meetup

description

An overview of how Responsive Web Design is shaping the way we approach web design and development.

Transcript of Responsive Web Design: How the mobile web has changed the way we think and work

Page 1: Responsive Web Design:  How the mobile web has changed the way we think and work

Responsive Web Design:

How the mobile web has

changed the way we think and work

Vidal Quevedo (@vq20) and Nick Weaver (@nickweaver)

[ April 19, 2012 ]

Madison Web design Meetup

Page 2: Responsive Web Design:  How the mobile web has changed the way we think and work

Ethan marcotte(@beep / @rwd)

Page 3: Responsive Web Design:  How the mobile web has changed the way we think and work

Responsive Web Design Books

Page 4: Responsive Web Design:  How the mobile web has changed the way we think and work

Nick Weaver

Director of Web Services

University Communications, UW–Madison@nickweaver | [email protected]

Vidal QuevedoWeb Communications Strategist

University Communications, UW–Madison@vq20 | [email protected]

Who we are

Page 5: Responsive Web Design:  How the mobile web has changed the way we think and work

•HTML, CSS, JavaScript

•PHP, Ruby

•MySQL, PostgreSQL

•WordPress

•Rails, Kohana

•Git (and some lingering Subversion)

•Textmate, Sublime Text, Vim, Coda, BBEdit

Our toolkit

Page 6: Responsive Web Design:  How the mobile web has changed the way we think and work

•A brief history of mobile at UW-Madison

•Challenges of native apps and mobile sites

•The One-Web Ideal: Universality as a philosophy

•Responsive Web Design

•What is it?

•The benefits of RWD

•The challenges of RWD

•Pragmatic RWD: Content, Context, Audiences

•What’s next in RWD?

Overview

Page 7: Responsive Web Design:  How the mobile web has changed the way we think and work

A brief history of mobile at UW-Madison

Page 8: Responsive Web Design:  How the mobile web has changed the way we think and work

UW–Madison Native apps

•Launched in Dec 2010 and Aug 2011 for iOS and Android, respectively

•“Big Shiny Object Syndrome”

Page 9: Responsive Web Design:  How the mobile web has changed the way we think and work

•More code to manage

•Skills are harder to find

• Infrequent updates

•Limited features

•Not everyone has an iPhone or Android

Challenges of native apps

Page 10: Responsive Web Design:  How the mobile web has changed the way we think and work

BrYan Rieger: Rethinking the Mobile Web

•Not everyone has a smart phone to use your app

•Web-based apps can be better suited to bridge the gap

•Deliver a consistent experience across multiple platforms

http://www.slideshare.net/bryanrieger/rethinking-the-mobile-web-by-yiibu

Page 11: Responsive Web Design:  How the mobile web has changed the way we think and work

• Launched December 2011

• Platform agnostic

• Relies on User-Agent detection and delivers tailored experience based upon device classes

m.wisc.edu

Page 12: Responsive Web Design:  How the mobile web has changed the way we think and work

•More code to manage (native + web)

•m.wisc.edu is a completely different experience than www.wisc.edu

Challenges of m.wisc.edu

Page 13: Responsive Web Design:  How the mobile web has changed the way we think and work

The One-Web Ideal: Universality as a philosophy

Page 14: Responsive Web Design:  How the mobile web has changed the way we think and work

A website should provide a useful user experience no matter what device you’re using to access it.

~ Nick Weaver and Vidal Quevedo

An ideal world: one web

Page 15: Responsive Web Design:  How the mobile web has changed the way we think and work

So, what is the “web”?

Page 16: Responsive Web Design:  How the mobile web has changed the way we think and work

This is not the web

http://bradfrostweb.com/blog/notes/this-is-the-web/

Page 17: Responsive Web Design:  How the mobile web has changed the way we think and work

This is the web

http://bradfrostweb.com/blog/notes/this-is-the-web/

Page 18: Responsive Web Design:  How the mobile web has changed the way we think and work

This will be the Web

http://bradfrostweb.com/blog/notes/this-is-the-web/

Page 19: Responsive Web Design:  How the mobile web has changed the way we think and work

Responsive Web Design

Page 20: Responsive Web Design:  How the mobile web has changed the way we think and work

“The basic idea of Responsive Web Design is that a website should ‘respond’ to the device it's being viewed on.”

~ Matt Doyle

What is RWD?

http://www.elated.com/articles/responsive-web-design-demystified/ - Image: http://instagr.am/p/H41MqlHI4Q/

Page 21: Responsive Web Design:  How the mobile web has changed the way we think and work

Some examples

http://designmodo.com/responsive-design-examples/

The Boston Globe

Page 22: Responsive Web Design:  How the mobile web has changed the way we think and work

Some examples

http://designmodo.com/responsive-design-examples/

Stephen Caver (personal website)

Page 23: Responsive Web Design:  How the mobile web has changed the way we think and work

Some examples

http://designmodo.com/responsive-design-examples/

Think Vitamin (design blog)

Page 24: Responsive Web Design:  How the mobile web has changed the way we think and work

•Fluid-based layouts

•Responsive images and media

•Media queries

Basic rwd elements

Page 25: Responsive Web Design:  How the mobile web has changed the way we think and work

•px vs. %

•Benefit: Page layout and content that scales proportionally the screen real estate available.

Fluid-based layouts

http://speakerdeck.com/u/lucasalvini/p/responsive-design-and-progressive-enhancements-for-the-web-workshop#fans

Page 26: Responsive Web Design:  How the mobile web has changed the way we think and work

• img {max-width: 100%;}

•Benefit: Images (or embedded video e.g.) that can scale up or down to fill the width of their container elements.

Responsive images and media

Page 27: Responsive Web Design:  How the mobile web has changed the way we think and work

•Benefit: Define CSS rules that only apply to devices that meet the conditional tests of the device properties (“Break Points”)

Media queries

@media screen and (max-width: 480px) {.sidebar {

float: none; width: 98%; }}

Page 28: Responsive Web Design:  How the mobile web has changed the way we think and work

•One code base!

•Device-agnostic

•Relatively easy (CSS)

RWD: Benefits

Page 29: Responsive Web Design:  How the mobile web has changed the way we think and work

• The main challenges of mobile-optimized sites are still ones of user-centered content and design

• Browser support (and workarounds)

• No perfect solution for delivering responsive images and assets

• Managing CSS and media queries can get complex

• Source code order can limit content/design choices

• Testing requires more time (and money, i.e. devices)

RWD: Challenges

Page 30: Responsive Web Design:  How the mobile web has changed the way we think and work

•RWD isn’t only about CSS/HTML/JavaScript techniques: it is a different web development approach that requires a more focused mindset

To be or not to be responsive?

http://speakerdeck.com/u/lucasalvini/p/responsive-design-and-progressive-enhancements-for-the-web-workshop#fans

Screen size Diversity

Interface Diversity

Specs Diversity

Connectivity Diversity

CONTEXT

CONTENT

Page 31: Responsive Web Design:  How the mobile web has changed the way we think and work

• Mobile First

• Design from a mobile perspective first and then up (and not the other way)

• Content First

• Be lean and mean: On mobile, real state is precious. What is the most important content you need to showcase? Use this as an evaluation of the overall content strategy of your site.

• Content Strategy

• What to deliver, and when: focus on audiences and activities (“Content like water”)

To be or not to be responsive?

Page 32: Responsive Web Design:  How the mobile web has changed the way we think and work

•Excellent article by Rudy Regot: “Responsive web design: a project-management perspective*”

• Important questions to ask BEFORE starting the project:

• Does this project need to be responsive?

• Will all views have the same features?

• Will you need to split views? (i.e. touch.facebook.com)

To be or not to be responsive?

http://dev.opera.com/articles/view/responsive-web-design-a-project-management-perspective/

Page 33: Responsive Web Design:  How the mobile web has changed the way we think and work

•Where will the “break points be”? Will they be content-driven or device-driven?

•Will it be fluid all the way?

•To be or not to be mobile first?

To be or not to be responsive?

http://dev.opera.com/articles/view/responsive-web-design-a-project-management-perspective/

Page 34: Responsive Web Design:  How the mobile web has changed the way we think and work

Case study: uw emergency

http://emergency.wisc.edu

Page 35: Responsive Web Design:  How the mobile web has changed the way we think and work

Case study: #uwrightnow

http://uwrightnow.wisc.edu

Page 36: Responsive Web Design:  How the mobile web has changed the way we think and work

•For RWD, Twitter is the best way to get the latest as it happens. Follow these people:

• Brad Frost - @brad_frost

• Jason Grigsby - @grigs

• Stephanie Rieger - @stephanierieger

• Jeremy Kieth - @adactio

• Luke Wrobelewski - @lukew

RWD: Who to follow

Page 37: Responsive Web Design:  How the mobile web has changed the way we think and work

•Here’s a still tiny but growing list on RWD we put together on Twitter:

• https://twitter.com/#!/vq20/responsive-web-design

RWD: Who to follow (cont)

Page 38: Responsive Web Design:  How the mobile web has changed the way we think and work

• Books: RWD (Ethan Marcotte), Mobile First (Luke Wroblesky), Content Strategy (Kristina Halvorson)

• Articles: We will share a list via email

RWD: Books and articles

Page 39: Responsive Web Design:  How the mobile web has changed the way we think and work

Thanks!

Nick Weaver

Director of Web Services

University Communications, UW–Madison@nickweaver | [email protected]

Vidal QuevedoWeb Communications Strategist

University Communications, UW–Madison@vq20 | [email protected]