Slide 1

Slide 1 text

#RWDSummit PATTERN LIBRARY ZOMBIE FIGHT THE Responsive Web Design Summit • 03.29.16 Marcelo Somers Solution Architect, User Experience @marcelosomers

Slide 2

Slide 2 text

#RWDSummit Front-end style guides are a modular collection of all the elements in your product’s user interface, together with code snippets for developers to copy and paste as needed to implement those elements. They include common UI components like buttons, form- input elements, navigation menus, modal overlays, and icons. “ – Lean UX

Slide 3

Slide 3 text

PATTERN LIBRARIES ZOMBIE

Slide 4

Slide 4 text

#RWDSummit How do you keep living, knowing that’s what the world is like?” “ building interfaces

Slide 5

Slide 5 text

#RWDSummit DESIGN PROCESS RETHINKING THE

Slide 6

Slide 6 text

#RWDSummit BUILD SYSTEMS NOT PAGES http://stuffandnonsense.co.uk/blog/about/walls_come_tumbling_down_presentation_slides_and_transcript/ -Andy Clarke

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

#RWDSummit BUILD A TINY BOOTSTRAP https://speakerdeck.com/mdo/build-your-own-bootstrap – Mark Otto & Dave Rupert http://daverupert.com/2013/04/responsive-deliverables/

Slide 9

Slide 9 text

#RWDSummit DESIGN DESIGNING WITH PATTERNS

Slide 10

Slide 10 text

#RWDSummit DESIGN SLICE DESIGNING WITH PATTERNS

Slide 11

Slide 11 text

#RWDSummit DESIGN SLICE ASSEMBLE DESIGNING WITH PATTERNS

Slide 12

Slide 12 text

#RWDSummit DESIGN TOOLS

Slide 13

Slide 13 text

#RWDSummit

Slide 14

Slide 14 text

#RWDSummit

Slide 15

Slide 15 text

#RWDSummit

Slide 16

Slide 16 text

#RWDSummit

Slide 17

Slide 17 text

#RWDSummit

Slide 18

Slide 18 text

#RWDSummit

Slide 19

Slide 19 text

#RWDSummit BREAKS DOWN WHERE THE DESIGN PROCESS

Slide 20

Slide 20 text

#RWDSummit DESIGNERS DEVELOPERS DISCOVER DESIGN DEVELOP TEST

Slide 21

Slide 21 text

#RWDSummit BROKEN TRADITIONAL HANDOFF IS

Slide 22

Slide 22 text

#RWDSummit DISCOVER DESIGN DEVELOP TEST

Slide 23

Slide 23 text

#RWDSummit PATTERN LIBRARY SLICE DESIGNING WITH PATTERNS ASSEMBLE DESIGN

Slide 24

Slide 24 text

#RWDSummit

Slide 25

Slide 25 text

#RWDSummit

Slide 26

Slide 26 text

#RWDSummit

Slide 27

Slide 27 text

#RWDSummit

Slide 28

Slide 28 text

#RWDSummit WASTE ELIMINATE

Slide 29

Slide 29 text

#RWDSummit THE EVOLVING DESIGNER

Slide 30

Slide 30 text

#RWDSummit I can shift the bulk of my time and energy to looking at the bigger picture. I can think more widely about our users’ journey through our product and give attention to more than baseline functionality. “ – Katey Basye (Salesforce UX) https://medium.com/salesforce-ux/how-the-salesforce-design-system-helped-me-onboard-as-a-new-product-designer-92b7d5f42237#.6brzoe1fu

Slide 31

Slide 31 text

#RWDSummit LIVE WHERE DOES THE PATTERN LIBRARY IN YOUR PROCESS?

Slide 32

Slide 32 text

#RWDSummit STYLE GUIDE MATURITY MODEL #RWDSummit https://medium.com/@marcelosomers/a-maturity-model-for-design-systems-93fff522c3ba Inconsistent The absence of a design system Static A one-time PDF of your brand guidelines Manual The pattern library has code, but must be manually updated Automatic The pattern library is a part of your app build process Governed The pattern library process is built in to your organization Ɠ Ó ¸ Ŗ † This is the “chasm” that is hard for organizations to cross

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

https://medium.com/@marcelosomers/chasing-the-holy-grail-bbc0b7cce365#.wvedzdvsx

Slide 35

Slide 35 text

#RWDSummit GETTING STARTED (TODAY)

Slide 36

Slide 36 text

#RWDSummit TAKE AN INVENTORY 1

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

Option List Group Seen On: • My Account » Account List • Send Money » Select Payment Option Desktop Mobile

Slide 39

Slide 39 text

https://medium.com/eightshapes-llc/the-component-cut-up-workshop-1378ae110517#.c887jlrum

Slide 40

Slide 40 text

#RWDSummit BASE STYLES 1 2 COMPONENTS 3 PAGE TEMPLATES WHAT TO DOCUMENT

Slide 41

Slide 41 text

#RWDSummit https://www.nngroup.com/articles/front-end-style-guides/

Slide 42

Slide 42 text

#RWDSummit STANDARDIZE 2

Slide 43

Slide 43 text

No content

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

No content

Slide 47

Slide 47 text

No content

Slide 48

Slide 48 text

#RWDSummit DOCUMENT 3

Slide 49

Slide 49 text

No content

Slide 50

Slide 50 text

No content

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

No content

Slide 53

Slide 53 text

No content

Slide 54

Slide 54 text

No content

Slide 55

Slide 55 text

No content

Slide 56

Slide 56 text

#RWDSummit BASIC DOCUMENTATION NAME 1 2 DESCRIPTION 3 EXAMPLE 3 CODE SNIPPET

Slide 57

Slide 57 text

#RWDSummit CENTRALIZE YOUR CSS 3a

Slide 58

Slide 58 text

#RWDSummit DEFINE CSS STANDARDS 4 REFACTOR TO PERFECTION 5

Slide 59

Slide 59 text

#RWDSummit START FUNCTIONAL http://www.basscss.com/ http://tachyons.io/

Slide 60

Slide 60 text

#RWDSummit BREAK UP YOUR COMPONENTS https://medium.com/@ahmedelgabri/global-scope-namespacing-css-681bda44c43e#.5i17q1gwv

Slide 61

Slide 61 text

#RWDSummit NAMESPACE THE CSS https://medium.com/@ahmedelgabri/global-scope-namespacing-css-681bda44c43e#.5i17q1gwv

Slide 62

Slide 62 text

#RWDSummit FIND IN PROJECT IS YOUR FRIEND

Slide 63

Slide 63 text

#RWDSummit REGEX SEARCH FOR CLASSES class\s*?=\s*?["'].*?table will find all instances where class=“ “ contains table

Slide 64

Slide 64 text

#RWDSummit DON’T FORGET JAVASCRIPT!

Slide 65

Slide 65 text

#RWDSummit GOVERN YOUR LIBRARY 6

Slide 66

Slide 66 text

#RWDSummit https://css-tricks.com/what-a-css-code-review-might-look-like/

Slide 67

Slide 67 text

#RWDSummit https://medium.com/eightshapes-llc/team-models-for-scaling-a-design-system

Slide 68

Slide 68 text

https://medium.com/eightshapes-llc/team-models-for-scaling-a-design-system-2cf9d03be6a0#.cod1997sc SOLITARY

Slide 69

Slide 69 text

https://medium.com/eightshapes-llc/team-models-for-scaling-a-design-system-2cf9d03be6a0#.cod1997sc CENTRALIZED

Slide 70

Slide 70 text

https://medium.com/eightshapes-llc/team-models-for-scaling-a-design-system-2cf9d03be6a0#.cod1997sc FEDERATED

Slide 71

Slide 71 text

#RWDSummit Effective organizational design is more than drawing boxes and arrows, it flows from a thorough understanding of strategic objectives, takes into consideration both the formal and informal elements of the organizational units involved in the redesign and weighs the potential impact on the rest of the organization and its ability to fulfill strategic goals. “ – Competing by Design, Nadler and Tushman

Slide 72

Slide 72 text

#RWDSummit Effective organizational design is more than drawing boxes and arrows, it flows from a thorough understanding of strategic objectives, takes into consideration both the formal and informal elements of the organizational units involved in the redesign and weighs the potential impact on the rest of the organization and its ability to fulfill strategic goals. “ – Competing by Design, Nadler and Tushman

Slide 73

Slide 73 text

#RWDSummit Effective organizational design is more than drawing boxes and arrows, it flows from a thorough understanding of strategic objectives, takes into consideration both the formal and informal elements of the organizational units involved in the redesign and weighs the potential impact on the rest of the organization and its ability to fulfill strategic goals. “ – Competing by Design, Nadler and Tushman

Slide 74

Slide 74 text

#RWDSummit Effective organizational design is more than drawing boxes and arrows, it flows from a thorough understanding of strategic objectives, takes into consideration both the formal and informal elements of the organizational units involved in the redesign and weighs the potential impact on the rest of the organization and its ability to fulfill strategic goals. “ – Competing by Design, Nadler and Tushman

Slide 75

Slide 75 text

#RWDSummit WHY ARE WE DOING THIS? 1 HOW WILL IT FIT IN OUR ORGANIZATION? 2 WHO’S DOING THE WORK? 4 WHAT INVESTMENT ARE WE WILLING TO MAKE? 3

Slide 76

Slide 76 text

#RWDSummit OPEN SOURCE CULTURE

Slide 77

Slide 77 text

#RWDSummit DOCUMENTATION GREAT

Slide 78

Slide 78 text

#RWDSummit EASY TO CONTRIBUTE MAKE IT

Slide 79

Slide 79 text

#RWDSummit MISTAKES FIND EASY

Slide 80

Slide 80 text

#RWDSummit NON-DEVELOPERS EMBRACE

Slide 81

Slide 81 text

#RWDSummit COMMUNICATE MAKE IT EASY TO

Slide 82

Slide 82 text

#RWDSummit ROADMAP OPEN & TRANSPARENT

Slide 83

Slide 83 text

#RWDSummit PATTERN LIBRARY TOOLS http://www.smashingmagazine.com/2015/04/an-in-depth-overview-of-living-style-guide-tools/

Slide 84

Slide 84 text

#RWDSummit CSS DOCUMENTATION 1

Slide 85

Slide 85 text

#RWDSummit 1

Slide 86

Slide 86 text

#RWDSummit STATIC SITE GENERATION 2

Slide 87

Slide 87 text

#RWDSummit

Slide 88

Slide 88 text

#RWDSummit INTEGRATED 3

Slide 89

Slide 89 text

#RWDSummit

Slide 90

Slide 90 text

#RWDSummit BETTER WAY THERE HAS TO BE A

Slide 91

Slide 91 text

http://patternpack.org/

Slide 92

Slide 92 text

#RWDSummit

Slide 93

Slide 93 text

#ZombieLibrary GET STARTED WITH PATTERN PACK

Slide 94

Slide 94 text

#ZombieLibrary https://github.com/patternpack/patternpack-example-library

Slide 95

Slide 95 text

#ZombieLibrary $ npm init $ git init

Slide 96

Slide 96 text

#ZombieLibrary $ npm install grunt patternpack --save-dev

Slide 97

Slide 97 text

#ZombieLibrary module.exports = function(grunt) { grunt.initConfig({ patternpack: { run: {}, build: {}, release: {} } }); grunt.loadNpmTasks('patternpack'); grunt.registerTask('default', ['patternpack:run']); } gruntfile.js

Slide 98

Slide 98 text

#ZombieLibrary $ grunt patternpack:run

Slide 99

Slide 99 text

#ZombieLibrary

Slide 100

Slide 100 text

#ZombieLibrary CREATE YOUR FIRST PATTERN

Slide 101

Slide 101 text

#ZombieLibrary

Slide 102

Slide 102 text

#ZombieLibrary

Slide 103

Slide 103 text

#ZombieLibrary

Slide 104

Slide 104 text

#ZombieLibrary

Slide 105

Slide 105 text

#ZombieLibrary

Slide 106

Slide 106 text

#ZombieLibrary

Slide 107

Slide 107 text

#ZombieLibrary

Slide 108

Slide 108 text

#ZombieLibrary

Slide 109

Slide 109 text

#ZombieLibrary

Slide 110

Slide 110 text

#ZombieLibrary UNLEASH YOUR CREATION

Slide 111

Slide 111 text

#ZombieLibrary USE SEMANTIC VERSIONING FOR YOUR DESIGN SYSTEM

Slide 112

Slide 112 text

#ZombieLibrary 1.0.5 major release minor release patch release

Slide 113

Slide 113 text

#ZombieLibrary 1.0.5 major release minor release patch release Customize to your needs

Slide 114

Slide 114 text

#ZombieLibrary $ grunt patternpack:release $ git push --follow-tags

Slide 115

Slide 115 text

#ZombieLibrary BUILD YOUR STATIC SITE 1 INCREMENT YOUR VERSION 2 CREATE A NEW COMMIT 3 TAG THE COMMIT 4

Slide 116

Slide 116 text

#ZombieLibrary INTEGRATE INTO YOUR APPLICATION

Slide 117

Slide 117 text

https://medium.com/@marcelosomers/chasing-the-holy-grail-bbc0b7cce365#.wvedzdvsx

Slide 118

Slide 118 text

#ZombieLibrary SUPPORT FOR NPM & BOWER

Slide 119

Slide 119 text

#ZombieLibrary $ npm install my-awesome-pattern-library

Slide 120

Slide 120 text

#ZombieLibrary $ npm install https://user:[email protected]/user/my- awesome-library.git

Slide 121

Slide 121 text

#ZombieLibrary ANATOMY OF A PACKAGE.JSON DEPENDENCY "devDependencies": { “my-awesome-pattern-library“: "https://user:[email protected]/jondoe/ my-awesome-pattern-library.git#1.0.0" }

Slide 122

Slide 122 text

#ZombieLibrary USERNAME & PASSWORD ANATOMY OF A PACKAGE.JSON DEPENDENCY "devDependencies": { “my-awesome-pattern-library“: "https://user:[email protected]/jondoe/ my-awesome-pattern-library.git#1.0.0" }

Slide 123

Slide 123 text

#ZombieLibrary ANATOMY OF A PACKAGE.JSON DEPENDENCY "devDependencies": { “my-awesome-pattern-library“: "https://user:[email protected]/jondoe/ my-awesome-pattern-library.git#1.0.0" } PATH TO GIT REPOSITORY

Slide 124

Slide 124 text

#ZombieLibrary ANATOMY OF A PACKAGE.JSON DEPENDENCY "devDependencies": { “my-awesome-pattern-library“: "https://user:[email protected]/jondoe/ my-awesome-pattern-library.git#1.0.0" } VERSION COMMITISH

Slide 125

Slide 125 text

#ZombieLibrary

Slide 126

Slide 126 text

#ZombieLibrary

Slide 127

Slide 127 text

#ZombieLibrary

Slide 128

Slide 128 text

http://patternpack.org/

Slide 129

Slide 129 text

#ZombieLibrary THIS IS MORE THAN JUST A TECH PROBLEM

Slide 130

Slide 130 text

INTERFACES FIGHT ZOMBIE

Slide 131

Slide 131 text

MODULARIZE

Slide 132

Slide 132 text

DOCUMENT

Slide 133

Slide 133 text

SHARE

Slide 134

Slide 134 text

#ZombieLibrary THANK YOU! Marcelo Somers @marcelosomers Slides http://j.mp/zombie-library-rwdsummit PatternPack http://patternpack.org/