Design Hacks  with Stencils & Patterns Christian Crumlish Curator, Yahoo! Design Pattern Library
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  :(
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?
DESIGN STENCILS! http://developer.yahoo.com/ypatterns/wireframes/
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
RAPID MOCKUP LAYOUT Establish a grid Block in fixed page elements Use “canned” stencils where possible Mix with other stencil libraries Draw only what you have to
FIVE MINUTES LATER… Establish a grid Block in fixed page elements Use “canned” stencils where possible Mix with other stencil libraries Draw only what you have to
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!
FOR EXAMPLE, AUTOCOMPLETE
AUTOCOMPLETE PATTERN Tells  you  how  and  when  to  use  auto- complete:
AUTOCOMPLETE YUI CODE The difference between a mockup  and running code
BONUS! AUTOCOMPLETE ASTRA CODE (ASTRA is our Flash code library)
CHECK ’EM ALL OUT
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.
ABOUT THE YAHOO! PATTERN LIBRARY Relationship to YUI Upcoming: Yahoo component patterns Rich patterns (remember Bill Scott?) Social patterns Open 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.
ONE Yahoo Components
Rich Interaction Patterns In which I attempt to impersonate  Bill Scott
TRANSITIONS…
Social Patterns In which I attempt to impersonate  Matt Leacock, Erin Malone, Christina Wodtke, Bryce Glass, and myself
REPUTATION…
VOTE TO PROMOTE
Buzz Pattern
User Card
“ Your,” vs. “My”
Open(ness) Patterns In which I attempt to impersonate  Randy Farmer, Neal Sample, Matt Leacock, and myself
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
Social Antipatterns  and Antisocial Patterns … AND (TIME AND ATTENTION PERMITTING)
DON’T BREAK EMAIL! don’t: do:
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.
Friends you may know / power-law
fimoculous tweeted: The “people you should know” list on Facebook is actually a list of people your hate.”
AUTO-FAUX-PAS PATTERNS notification of rejection unsubbing / delinking  or caught by the re-follow relationship status changed to  “it’s complicated”
Thank You! Christian Crumlish developer.yahoo.com/ypatterns

Design Hacks with Stencils & Patterns

  • 1.
  • 2.
    Design Hacks with Stencils & Patterns Christian Crumlish Curator, Yahoo! Design Pattern Library
  • 3.
    NO CODE SAMPLESSORRY 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 :(
  • 4.
    WE DON’T NEEDNO 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?
  • 5.
  • 6.
    WHAT’S A DESIGNSTENCIL 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
  • 7.
    RAPID MOCKUP LAYOUTEstablish a grid Block in fixed page elements Use “canned” stencils where possible Mix with other stencil libraries Draw only what you have to
  • 8.
    FIVE MINUTES LATER…Establish a grid Block in fixed page elements Use “canned” stencils where possible Mix with other stencil libraries Draw only what you have to
  • 9.
    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!
  • 10.
  • 11.
    AUTOCOMPLETE PATTERN Tells you how and when to use auto- complete:
  • 12.
    AUTOCOMPLETE YUI CODEThe difference between a mockup and running code
  • 13.
    BONUS! AUTOCOMPLETE ASTRACODE (ASTRA is our Flash code library)
  • 14.
  • 15.
    THAT’S THE GISTOF 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.
  • 16.
    ABOUT THE YAHOO!PATTERN LIBRARY Relationship to YUI Upcoming: Yahoo component patterns Rich patterns (remember Bill Scott?) Social patterns Open patterns
  • 17.
    PATTERNS ARE GUIDELINESYUI 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.
  • 18.
  • 19.
    Rich Interaction PatternsIn which I attempt to impersonate Bill Scott
  • 20.
  • 21.
    Social Patterns Inwhich I attempt to impersonate Matt Leacock, Erin Malone, Christina Wodtke, Bryce Glass, and myself
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
    Open(ness) Patterns Inwhich I attempt to impersonate Randy Farmer, Neal Sample, Matt Leacock, and myself
  • 28.
    Enable interopvs. 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
  • 29.
    Social Antipatterns and Antisocial Patterns … AND (TIME AND ATTENTION PERMITTING)
  • 30.
  • 31.
    natekoechley tweeted: @mediajunkieI 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.
  • 32.
    Friends you mayknow / power-law
  • 33.
    fimoculous tweeted: The“people you should know” list on Facebook is actually a list of people your hate.”
  • 34.
    AUTO-FAUX-PAS PATTERNS notificationof rejection unsubbing / delinking or caught by the re-follow relationship status changed to “it’s complicated”
  • 35.
    Thank You! ChristianCrumlish developer.yahoo.com/ypatterns