design hacks with stencils & patterns

35

Upload: christian-crumlish

Post on 26-Jan-2015

106 views

Category:

Design


2 download

DESCRIPTION

My talk at Yahoo!'s Open Hackday 2008, on working with stencils and patterns even if you don't have a designer handy (like if they're outside listening to Girl Talk).

TRANSCRIPT

Page 1: Design Hacks with Stencils & Patterns
Page 2: Design Hacks with Stencils & Patterns

Design Hacks with Stencils & Patterns

Christian CrumlishCurator, Yahoo! Design Pattern Library

Page 3: Design Hacks with Stencils & Patterns

NO CODE SAMPLES SORRY

• Great talks right next door!• I’d probably be in the Fire Eagle one!• or Xavier’s “building a Yahoo! app” one• or, dang… I’m missing Ian testifying about

MyBlogLog :(

Page 4: Design Hacks with Stencils & Patterns

WE DON’T NEED NO STINKING UI DESIGNER?

• You’re hacking. It’s late at night…• There are no ui designers around.• How do you prevent your website or app’s

interface from looking like ass?

Page 5: Design Hacks with Stencils & Patterns

DESIGN STENCILS!http://developer.yahoo.com/ypatterns/wireframes/

Page 6: Design Hacks with Stencils & Patterns

WHAT’S A DESIGN STENCIL FOR?

• Rapid mockup of UIs• Tied to YUI code where applicable• Tied to Design Patterns where possible• Allow me to demonstrate…

– Example one: rapid mockup layout– Example two: autocomplete

• Stencil• Pattern• Code

Page 7: Design Hacks with Stencils & Patterns

RAPID MOCKUP LAYOUT

1. Establish a grid

2. Block in fixed page elements

3. Use “canned” stencils where possible

4. Mix with other stencil libraries

5. Draw only what you have to

Page 8: Design Hacks with Stencils & Patterns

FIVE MINUTES LATER…

1. Establish a grid

2. Block in fixed page elements

3. Use “canned” stencils where possible

4. Mix with other stencil libraries

5. Draw only what you have to

Page 9: Design Hacks with Stencils & Patterns

STENCILS + PATTERNS + CODE (OH MY)

• Some of the stencils have links to ui patterns in the Yahoo! Design Pattern Library (http://developer.yahoo.com/ypatterns)

• Some of the stencils have links to the ui code in the Yahoo! User Interface Library (http://developer.yahoo.com/yui)

• Some have both!

Page 10: Design Hacks with Stencils & Patterns

FOR EXAMPLE, AUTOCOMPLETE

Page 11: Design Hacks with Stencils & Patterns

AUTOCOMPLETE PATTERN

Tells you how and when to use auto-complete:

Page 12: Design Hacks with Stencils & Patterns

AUTOCOMPLETE YUI CODE

The difference between a mockup and running code

Page 13: Design Hacks with Stencils & Patterns

BONUS! AUTOCOMPLETE ASTRA CODE

(ASTRA is our Flash code library)

Page 14: Design Hacks with Stencils & Patterns

CHECK ’EM ALL OUT

Page 15: Design Hacks with Stencils & Patterns

THAT’S THE GIST OF IT

• If you want to know more about the Yahoo! Design Pattern Library, stick around.

• I’ll walk through a couple of different pattern types and explain how to use them.

Page 16: Design Hacks with Stencils & Patterns

ABOUT THE YAHOO! PATTERN LIBRARY

• Relationship to YUI• Upcoming: Yahoo component patterns• Rich patterns (remember Bill Scott?)• Social patterns• Open patterns

Page 17: Design Hacks with Stencils & Patterns

PATTERNS ARE GUIDELINES

• YUI is running code• Patterns + Code (+Stencils) = powerful• Patterns by themselves are just something to

read (with examples) but can be used as a book of knowledge

• Stencils let you refer to patterns in your mockups.

• We try to match up patterns and YUI code whenever possible.

Page 18: Design Hacks with Stencils & Patterns

ONE Yahoo Components

Page 19: Design Hacks with Stencils & Patterns

Rich Interaction Patterns

In which I attempt to impersonate Bill Scott

Page 20: Design Hacks with Stencils & Patterns

TRANSITIONS…

Page 21: Design Hacks with Stencils & Patterns

Social Patterns

In which I attempt to impersonate Matt Leacock, Erin Malone, Christina

Wodtke, Bryce Glass, and myself

Page 22: Design Hacks with Stencils & Patterns

REPUTATION…

Page 23: Design Hacks with Stencils & Patterns

VOTE TO PROMOTE

Page 24: Design Hacks with Stencils & Patterns

Buzz Pattern

Page 25: Design Hacks with Stencils & Patterns

User Card

Page 26: Design Hacks with Stencils & Patterns

“Your,” vs. “My”

Page 27: Design Hacks with Stencils & Patterns

Open(ness) Patterns

In which I attempt to impersonate Randy Farmer, Neal Sample, Matt

Leacock, and myself

Page 28: Design Hacks with Stencils & Patterns

• Enable interop– vs. antipattern: lock-in

• Open APIs– expose your hooks

• Honest broker – “fire eagle” as example of ‘middlewhere’ ”

• Provide utility– enable others to plug in

• Build on existing practices– semantics and microformats, conventions such as rss,

standards

• Don’t try to own everything

OPEN(NESS) PATTERNS

Page 29: Design Hacks with Stencils & Patterns

• Social Antipatterns and

• Antisocial Patterns

…AND (TIME AND ATTENTION PERMITTING)

Page 30: Design Hacks with Stencils & Patterns

DON’T BREAK EMAIL!

don’t:

do:

Page 31: Design Hacks with Stencils & Patterns

natekoechley tweeted: @mediajunkie I hate that I need to spam my friends with adds/invites each time I join a new service. Painful bar to entry, often too tall.

Page 32: Design Hacks with Stencils & Patterns

Friends you may know / power-law

Page 33: Design Hacks with Stencils & Patterns

fimoculous tweeted: The “people you should know” list on Facebook is actually a list of people your hate.”

Page 34: Design Hacks with Stencils & Patterns

AUTO-FAUX-PAS PATTERNS

• notification of rejection

• unsubbing / delinking – or caught by the re-follow

• relationship status changed to “it’s complicated”

Page 35: Design Hacks with Stencils & Patterns

Thank You!

Christian Crumlish

developer.yahoo.com/ypatterns