New Rules of The Responsive Web

79
#rwdrules

Transcript of New Rules of The Responsive Web

Page 1: New Rules of The Responsive Web

#rwdrules

Page 2: New Rules of The Responsive Web

About Me

• Senior Technologist at Big Spaceship

• Author of “The Responsive Web”

• Spoke at HTML5.tx 2011

Page 3: New Rules of The Responsive Web

The Responsive Webprogramming for the user

Page 4: New Rules of The Responsive Web

4 days - 1,547 Miles

Page 5: New Rules of The Responsive Web
Page 6: New Rules of The Responsive Web

Hipster level: ~25

Page 7: New Rules of The Responsive Web

Hipster level: 99

Page 8: New Rules of The Responsive Web

A technology can completely change in a

year and a half.

Page 9: New Rules of The Responsive Web

Since then:

• 2 iPhones have been released

• Smart phones have become the norm

• Tablets have grown in both reach and variety

• Responsive web design has become a near ubiquitous buzzword.

Page 10: New Rules of The Responsive Web

Work

Work

Home

Subway / Toilet

Page 11: New Rules of The Responsive Web

Creating

Creating

Consuming

Consuming

Page 12: New Rules of The Responsive Web

This is a revolutionary change.

Page 13: New Rules of The Responsive Web

~ F!anz Kafk"

Every revolution evaporates and leaves behind only the slime of a

new bureaucracy.

~ F!anz Kafk"

Page 14: New Rules of The Responsive Web

#rwdrules

Responsive Design Doesn’t End With Squishy

Rul# Numbe$ 1

Page 15: New Rules of The Responsive Web

Q: When somebody tells you to “check out this responsive site” what’s the first thing you do?

A: Scale the browser

Page 16: New Rules of The Responsive Web

In the infancy of responsive design, sites weren’t as

“responsive” as much as they were “squishy”.

Page 17: New Rules of The Responsive Web

Most sites strive to be responsive by scaling down the

layout only, resulting in site bloat.

Page 18: New Rules of The Responsive Web

display:none only hides the content

Page 19: New Rules of The Responsive Web

Variations to consider

• Browsers (inc. mobile)

• Screen size and orientation

• Capabilities

• Input types

Page 20: New Rules of The Responsive Web

Variations to consider

• Libraries / Frameworks used

• Assets Served

• Forms used

• Button size and placement

Page 21: New Rules of The Responsive Web

Devices released in one month in 2012

Page 22: New Rules of The Responsive Web

Optimize based on capabilities rather than on linear scale.

Page 23: New Rules of The Responsive Web

Linear scale is like Metroid.

Page 24: New Rules of The Responsive Web

The responsive web should be like Skyrim

Page 25: New Rules of The Responsive Web

In Metroid you start with a simple gun and add new weapons, tools, and

abilities as you progress through the game, but ultimately the game follows

a linear path.

Page 26: New Rules of The Responsive Web

Mobile site.

Page 27: New Rules of The Responsive Web

Desktop site.

Page 28: New Rules of The Responsive Web

In Skyrim you can advance your character in a variety of ways and complete quests at will.

Page 29: New Rules of The Responsive Web

Don’t build for this

Page 30: New Rules of The Responsive Web

Start with a core, then ask:“Is anything available that I can

use to improve the user’s experience on this site?”

Page 31: New Rules of The Responsive Web

Feature Detection

Page 32: New Rules of The Responsive Web

#rwdrules

There is no responsive pixie dust.

Rul# Numbe$ 2

Page 33: New Rules of The Responsive Web

I eat at restaurants way too much.

Page 34: New Rules of The Responsive Web
Page 35: New Rules of The Responsive Web

Most responses to rule number 1 include adding new things to the

project, like deliverables and designs.

Page 36: New Rules of The Responsive Web

To avoid unnecessary over complication, we need a

streamlined process with new, streamlined deliverables.

Page 37: New Rules of The Responsive Web

Rapid prototypes

Page 38: New Rules of The Responsive Web

~ Jonathan Smile% “Dive Into Responsive Prototyping With Foundation”

In the next five years, devices will be the name of the game and that’s not just screen

size or browser we’re talking about. Interfaces will change, input will change, the way we use the web will change. We

need to start gearing up for that right now.

http://alistapart.com/article/dive-into-responsive-prototyping-with-foundation

Page 39: New Rules of The Responsive Web

The temptation here is to adjust the project workflow to go from

this:

Wireframe Comp Website

Page 40: New Rules of The Responsive Web

To this:

Wireframe

Comp Website

Prototype

Page 41: New Rules of The Responsive Web

This is just adding a layer of complication to the process. It

does little to solve our root problem, which is the need to

articulate fluid layout.

Page 42: New Rules of The Responsive Web

Foundation

Page 43: New Rules of The Responsive Web

#rwdrules

Your workflow will change.

Rul# Numbe$ 3

Page 44: New Rules of The Responsive Web

~ Albert Einstien

Insanity: doing the same thing over and over again and

expecting different results.

Page 45: New Rules of The Responsive Web

Responsive web design requires meaningful deliverables.

Page 46: New Rules of The Responsive Web

~ Mar& Boulton

The aim is to remove The Big Reveal: [...] the thing designers do where they squirrel away for a few days and then come back and go ‘ta da, look what I made!’.

That’s just so risky

http://www.markboulton.co.uk/journal/responsive-summit-workflow

Page 47: New Rules of The Responsive Web
Page 48: New Rules of The Responsive Web
Page 49: New Rules of The Responsive Web

Style Tiles

Page 50: New Rules of The Responsive Web

~ Samanth" Warren'tyletil.es

Style Tiles are a design deliverable consisting of fonts, colors and interface elements

that communicate the essence of a visual brand for the web.

Page 51: New Rules of The Responsive Web

Iterate and communicate with the client, using style tiles and rapid prototypes to articulate

the end product.

Page 52: New Rules of The Responsive Web

#rwdrules

Your tools will change

Rul# Numbe$ 4

Page 53: New Rules of The Responsive Web

In my first apartment, I used one appliance to prepare 100% of my

food.

Page 54: New Rules of The Responsive Web
Page 55: New Rules of The Responsive Web
Page 56: New Rules of The Responsive Web
Page 57: New Rules of The Responsive Web
Page 58: New Rules of The Responsive Web

CSS Preprocessors SCSS, SASS, or LESS

Page 59: New Rules of The Responsive Web

Preprocessors can be used to streamline and organize CSS.

Page 60: New Rules of The Responsive Web

SMACSSScalable and Modular Architecture for CSS

Page 61: New Rules of The Responsive Web

Building scalable and efficient CSS is crucial to optimizing and maintaining responsive sites.

Page 62: New Rules of The Responsive Web

#rwdrules

The web is responsive by default.

Rul# Numbe$ 5

Page 63: New Rules of The Responsive Web

~ Si$ Tim Berners-Le#

[The web] should be accessible from any kind of hardware that

can connect to the internet: stationary or mobile, small

screen or large.

http://www.scientificamerican.com/article.cfm?id=long-live-the-web

Page 64: New Rules of The Responsive Web

In the responsive web, what you say trumps how you say it.

Page 65: New Rules of The Responsive Web
Page 66: New Rules of The Responsive Web

~ Zach B!and, S!. Directo$ of Technolog% at NPR

Having an API has allowed us at NPR.org to be highly efficient at

building new platforms such as iPhone, Android, iPad and Chrome app because we only have to build the presentation logic – the ‘data’ is already ready to go.

http://blog.programmableweb.com/2011/04/18/what-we-did-wrong-npr-improves-its-api-architecture/

Page 68: New Rules of The Responsive Web

Expensive

Expensive

Affordable

Affordable

Page 69: New Rules of The Responsive Web

Creating

Creating

Consuming

Consuming

Page 70: New Rules of The Responsive Web
Page 71: New Rules of The Responsive Web

Luxury

Luxury

Entertainment

Emergency

Page 72: New Rules of The Responsive Web

Determine what you have to say, and the format will become

obvious.

Page 73: New Rules of The Responsive Web
Page 74: New Rules of The Responsive Web
Page 75: New Rules of The Responsive Web
Page 76: New Rules of The Responsive Web

~ Paul Robert Lloyd

As the web matures, we should acknowledge and embrace its constraints—and the aesthetic those constraints can produce. When we do, we might discover that the true web aesthetic is

hardly visual at all.

http://alistapart.com/article/the-web-aesthetic

Page 77: New Rules of The Responsive Web

#rwdrules

Embrace unpredictability.

Rul# Numbe$ 6

Page 78: New Rules of The Responsive Web
Page 79: New Rules of The Responsive Web

@Matthew_Carver

“The Responsive Web”manning.com/carver

37% off with this code: 13rw37

matthewcarver.com