42
Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

Embed Size (px)

Citation preview

Page 1: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

Design Patterns:

What they are,

what they’re not,

and why you should care

Jenifer TidwellBoston IxDAThursday, September 20, 2007

Page 2: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

Tonight’s topics

1. What patterns are about2. A tour through some patterns3. What they’re not

Page 3: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What’s a pattern?

Page 4: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What’s a pattern?

A structural or behavioral feature that solves a common design problem.

Page 5: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What’s a pattern?

A structural or behavioral feature that solves a common design problem.

• Not as concrete as a style guide• Not as abstract as a design

principle• Relationships among design

elements

Page 6: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What are patterns about?

Page 7: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What are patterns about?

REUSE

Page 8: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What are patterns about?

“It is not the idea of copying which is at fault; only the conception of ‘what is copied.’ ”

- Christopher Alexander

REUSE

Page 9: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What are patterns about?

• Reuse of ideas• Best practices

Page 10: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What are patterns about?

• Reuse of ideas• Best practices

A pattern must improve the user experience.

Page 11: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What are patterns about?

• Reuse of ideas• Best practices• Creativity

Page 12: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What are patterns about?

• Reuse of ideas• Best practices• Creativity

“…you can use this solution a million times over, without ever doing it the same way twice.”

- Christopher Alexander

Page 13: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What are patterns about?

• Reuse of ideas• Best practices• Creativity• Names

Page 14: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007
Page 15: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What are patterns about?

• Reuse of ideas• Best practices• Creativity• Names

Reuse Best practices Creativity Names

Page 16: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

A tour through some patterns

Reuse Best practices Creativity Names

Page 17: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

A tour through some patterns

• “Designing Interfaces”• Yahoo! Pattern Library• Welie patterns• Little Springs Mobile pattern library• “A Pattern Language”

(architecture)

Reuse Best practices Creativity Names

Page 18: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

1. What Users Do2. Organizing the Content3. Getting Around4. Organizing the Page5. Commands and Actions6. Showing Complex Data7. Getting Input from Users8. Builders and Editors9. Making It Look Good

Reuse Best practices Creativity Names

Page 19: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

Reuse Best practices Creativity Names

Page 20: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

Designing Interfaces:

Illustrative ExampleWhatUse WhenWhyHowExamples

Reuse Best practices Creativity Names

Page 21: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

Designing Interfaces:

Illustrative ExampleWhatUse WhenWhyHowExamples

Reuse Best practices Creativity Names

Yahoo! Library:

Problem SummaryIllustrative

ExampleUse WhenSolutionRationaleAccessibility

Page 22: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

Designing Interfaces:

Illustrative Example

WhatUse When

WhyHow

Examples

Reuse Best practices Creativity Names

Yahoo! Library:

Problem SummaryIllustrative

ExampleUse WhenSolutionRationaleAccessibility

Page 23: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

Design of Sites:

Illustrative ExampleBackgroundProblemSolutionConsider these other patterns

Reuse Best practices Creativity Names

A Pattern Language:

Illustrative Example

Intro / ContextProblem summaryProblem discussionSolutionDiagramDownstream

patterns

Page 24: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What patterns are not

Reuse Best practices Creativity Names

Page 25: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What patterns are not

• Patterns are not principles.

Reuse Best practices Creativity Names

Page 26: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What patterns are not

• Patterns are not principles.

Reuse Best practices Creativity Names

“Make your interfaces easy to learn.”“Prevent errors.”

Page 27: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What patterns are not

• Patterns are not principles.• Patterns are not templates.

Reuse Best practices Creativity Names

Page 28: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What patterns are not

• Patterns are not principles.• Patterns are not templates.• Patterns are not components.

Reuse Best practices Creativity Names

Page 29: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What patterns are not

• Patterns are not principles.• Patterns are not templates.• Patterns are not components.• Patterns are not style guides or

standards.

Reuse Best practices Creativity Names

Page 30: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What patterns are not

• Patterns are not principles.• Patterns are not templates.• Patterns are not components.• Patterns are not style guides or

standards.

Reuse Best practices Creativity Names

“If an item is too long to fit in the list box, insert an ellipsis in the middle and preserve the beginning and end of the item.”

Page 31: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What patterns are not

• Patterns are not principles.• Patterns are not templates.• Patterns are not components.• Patterns are not style guides or

standards.• Patterns are not heuristics.

Reuse Best practices Creativity Names

Page 32: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What patterns are not

• Patterns are not principles.• Patterns are not templates.• Patterns are not components.• Patterns are not style guides or

standards.• Patterns are not heuristics.

Reuse Best practices Creativity Names

“Performance, cost, schedule: pick two.”“Expand the scope to simplify the

problem.”

Page 33: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What’s a pattern?

A structural or behavioral feature that solves a common design problem.

• Not as concrete as a style guide• Not as abstract as a design

principle• Relationships among design

elements

Page 34: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What patterns are not

• Patterns are not principles.• Patterns are not templates.• Patterns are not components.• Patterns are not style guides or

standards.• Patterns are not heuristics.• Patterns are not recipes.

Reuse Best practices Creativity Names

Page 35: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What patterns are not

• Patterns are not principles.• Patterns are not templates.• Patterns are not components.• Patterns are not style guides or

standards.• Patterns are not heuristics.• Patterns are not recipes.• Patterns are not checklists.

Reuse Best practices Creativity Names

Page 36: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What patterns are not

• Patterns are not principles.• Patterns are not templates.• Patterns are not components.• Patterns are not style guides or

standards.• Patterns are not heuristics.• Patterns are not recipes.• Patterns are not checklists.• Patterns are not novel ideas or fads.Reuse Best practices Creativity Names

Page 37: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007
Page 38: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

http://www.visual-literacy.org/periodic_table/periodic_table.html

Page 39: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What’s a pattern?

A structural or behavioral feature that solves a common design problem.

• Not as concrete as a style guide• Not as abstract as a design

principle• Relationships among design

elements

Page 40: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

What are patterns about?

• Reuse of ideas• Best practices• Creativity• Names

Reuse Best practices Creativity Names

Page 41: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

Resources

http://designinginterfaces.comhttp://developer.yahoo.com/ypatterns/index.phphttp://welie.com/patterns/index.phphttp://patterns.littlespringsdesign.comhttp://designofsites.comhttp://www.enumerable.com/dev/apl/apl3/apl3.htmhttp://www.uie.com/articles/design_patterns/Reuse Best practices Creativity Names

Page 42: Design Patterns: What they are, what they’re not, and why you should care Jenifer Tidwell Boston IxDA Thursday, September 20, 2007

Questions?

Reuse Best practices Creativity Names