Lean Responsive

38
Build and Test Just What You Need, When You Need it, On Any Screen.

description

Build better web and mobile experiences faster by building and testing only what you need on any device.

Transcript of Lean Responsive

Page 1: Lean Responsive

Build and Test Just What You Need, When You Need it, On Any Screen.

Page 2: Lean Responsive

What Is Lean Responsive?

+

Page 3: Lean Responsive

It’s Two Buzzwords.

What Is Lean Responsive?

Page 4: Lean Responsive

I admit it.

What Is Lean Responsive?

Page 5: Lean Responsive

It’s also the best way to build anything on the web.

What Is Lean Responsive?

Page 6: Lean Responsive

Lean Part 1:

Build only what you need, at the stage of development when you need it.

What Is Lean Responsive?

Page 7: Lean Responsive

Lean Part 2:

Gain maximum understanding at each step,

before you build the next step.

What Is Lean Responsive?

Page 8: Lean Responsive

What Is Lean Responsive?

What do we need to understand to advance beyond this step?

Build the minimum product that will produce that understanding.

Test product.Iterate

product.

Repeat until optimal solution

understood

Go to next step.

A L

ean

It

era

tion

Page 9: Lean Responsive

Responsive Design:

Build experiences that adapt to any screen, even ones that don’t exist yet.

What Is Lean Responsive?

Page 10: Lean Responsive

You Got Responsive in my Leanupbutter

What Is Lean Responsive?

Page 11: Lean Responsive

Responsive• Test anywhere, any device• The same way the final product

will be used

Lean• Build and test fast• Prove your ideas, not your code• No fancy frameworks or libraries

required

What Is Lean Responsive?

Page 12: Lean Responsive

jpHTML

How does this happen?

jpHTML

Page 13: Lean Responsive

Behold, the Awesome Power of jpHTML

Page 14: Lean Responsive

jpHTML

jpHTML is:• Automatically Responsive• Universally Supported• 100% Accessible• Generates Perfect SEO

Page 15: Lean Responsive

jpHTML stands for:

Just Plain HTML

Page 16: Lean Responsive

<h1>jpHTML</h1><p>Just Plain HTML is fluid, it expands to fill it's horizontal space.</p>

<h2>Minimally Viable Responsiveness</h2> <p>But only for linear layouts.</p> <h2>Brains are Linear</h2> <p>People perceive ideas in order. You should test them that way.</p>

Page 17: Lean Responsive

Desktop Mobile

Page 18: Lean Responsive

jpHTML

All you need is basic knowledge of HTML.• Headlines, paragraphs, lists• Form elements• Links• Simulate interactivity with links

that go to new pages • It’s even a legit use of

Dreamweaver

Page 19: Lean Responsive

jpHTML

Basic HTML is completely accessible and SEO friendly. It forces you to use H tags and paragraphs correctly.

Make this the foundation of your final product. Add CSS and JavaScript, but don’t change the structure.

If your idea works like this, it will work when it’s pretty too.

Page 20: Lean Responsive

Bread Before Jam

>

Page 21: Lean Responsive

Bread Before Jam

>

Your Idea Design & Code

Page 22: Lean Responsive

Bread Before Jam

Jam tells you what flavor a sandwich is.

Bread tells you it is a sandwich.

If you start with the jam, all you get is a mess.

Page 23: Lean Responsive

Bread Before Jam

An example.

Page 24: Lean Responsive

Bread Before Jam

Cat Wars- Fully designed

experience- Takes a long time- Too much noise, you

can’t learn anything

Page 25: Lean Responsive

Bread Before Jam

Now you can test the most important thing:The Idea

Page 26: Lean Responsive

Bread Before Jam

If people won’t do this...

Page 27: Lean Responsive

Bread Before Jam

They’ll never do this.

Page 28: Lean Responsive

Bread Before Jam

This = This

Page 29: Lean Responsive

Bread Before Jam

If it takes more than an hour to build your prototype, you’re testing the wrong

thing.

Page 30: Lean Responsive

A Pinch of Code

{ }

Page 31: Lean Responsive

It just takes a few lines of code to make your plain HTML more responsive.

A Pinch of Code

Page 32: Lean Responsive

A page margin, base font, and more readable color:

Html {font: 10px/12px Arial;

}

Body {margin: 1rem;color: #222;

}

A Pinch of Code

Page 33: Lean Responsive

Scale everything by media queries using rem (root em):

@media screen and (max-width: 959px) {html {font-size: 12px;}}

@media screen and (max-width: 480px) {html {font-size: 15px;}}

A Pinch of Code

Page 34: Lean Responsive

Easy responsive images:

Img {width: 100%;height: auto;

}

A Pinch of Code

Page 35: Lean Responsive

A persistent navigation bar:

Nav {position: fixed;padding: 10px;background: #ccc;color: #fff;

}

A Pinch of Code

Page 36: Lean Responsive

Sufficiently Advanced

Page 37: Lean Responsive

Know that you know how to do things right, you can kick it up a notch.

Components and Grids: Bootstrap, Foundation

CRUD operations: Angular, Knockout

Light Backend: Deployd, Firebase

Look these up, you’ll be amazed at what they can do.

Sufficiently Advanced

Page 38: Lean Responsive

Thank You

Lead UI Developer at The College Board

@[email protected]