Placeholder
Delivering Flexible Cross Platform
Design Systems
Delivering
Flexible
Cross Platform
Design Systems
Slide 2
Slide 2 text
No content
Slide 3
Slide 3 text
Who am I?
Just
Slide 4
Slide 4 text
No content
Slide 5
Slide 5 text
SENIOR DIR., UX PLATFORM
GoDaddy
ON THE INTERNET THEY CALL ME @INDEXZERO
Slide 6
Slide 6 text
UX Platform?
…?
Slide 7
Slide 7 text
No content
Slide 8
Slide 8 text
cross cutting
All of our
technology
user experience
A BIT MORE THAN JUST OUR DESIGN SYSTEM
Slide 9
Slide 9 text
No content
Slide 10
Slide 10 text
UXCore2
Our design system
ABOUT 50 COMPONENTS
REACT BASED
OVER 100 CONTRIBUTORS
STARTED IN LATE 2015
SUPPORTS REACT NATIVE
~40% OF FRONT END ENGINEERS
Slide 11
Slide 11 text
LET’S BREAKDOWN
THE PROBLEM
Slide 12
Slide 12 text
Delivering
Flexible
Cross Platform
Design Systems
Design Systems
Cross Platform
Flexible
Delivering
Slide 13
Slide 13 text
Delivering
Flexible
Cross Platform
Design Systems
Design Systems
Slide 14
Slide 14 text
ELEMENTS
of a
DESIGN SYSTEM
Slide 15
Slide 15 text
No content
Slide 16
Slide 16 text
‘sub-atomic’
First off the
Slide 17
Slide 17 text
‘sub-atomic’
First off the
atomic design
of
COLOR PALETTE, TYPOGRAPHY, SPACING, “VOICE”
Slide 18
Slide 18 text
No content
Slide 19
Slide 19 text
COMPONENTS
ATOMS & MOLECULES OF ATOMIC DESIGN
Lots of
Slide 20
Slide 20 text
No content
Slide 21
Slide 21 text
LIVING DOCUMENTATION
all disciplines
for
Slide 22
Slide 22 text
LIVING DOCUMENTATION
all disciplines
for
ENGINEERS
TECHNICAL WRITERS
DESIGNERS
CONTRIBUTORS
Slide 23
Slide 23 text
CONSIDER EVEN A SIMPLE BUTTON COMPONENT
Slide 24
Slide 24 text
CONSIDER EVEN A SIMPLE BUTTON COMPONENT
Slide 25
Slide 25 text
CONSIDER EVEN A SIMPLE BUTTON COMPONENT
Slide 26
Slide 26 text
WORKFLOWS
Slide 27
Slide 27 text
No content
Slide 28
Slide 28 text
governance of
system extensibility
The
Slide 29
Slide 29 text
Delivering
Flexible
Cross Platform
Design Systems
Cross Platform
Slide 30
Slide 30 text
BEHOLD…
THE GLORIOUS INTERTUBES!
Slide 31
Slide 31 text
BEHOLD…
THE GLORIOUS INTERTUBES!
WEB (OF COURSE)
MOBILE WEB
NATIVE MOBILE APPS
NOT TO MENTION PRINT & VIDEO
Slide 32
Slide 32 text
No content
Slide 33
Slide 33 text
RESPONSIVE
DESIGN
Assuming of course
…yeah? Not up for debate, right?
Slide 34
Slide 34 text
No content
Slide 35
Slide 35 text
REACT
and
REACT
NATIVE
Slide 36
Slide 36 text
STYLES
Slide 37
Slide 37 text
STYLES
CSS? INLINE STYLES?
DO YOU NEED BOTH?
Slide 38
Slide 38 text
IS SEEMS THAT
IS MOVING IN THE RIGHT DIRECTION
Slide 39
Slide 39 text
No content
Slide 40
Slide 40 text
native mobile
mimic
styles
religiously?
Slide 41
Slide 41 text
NO
Slide 42
Slide 42 text
Well
MAYBE
IT DEPENDS. YMMV.
NO
Slide 43
Slide 43 text
CONSIDER A DROPDOWN ON WEB & MOBILE (REACT NATIVE)
Slide 44
Slide 44 text
‘intuitive
familiar’
equals
Raskin, ‘94
Slide 45
Slide 45 text
Delivering
Flexible
Cross Platform
Design Systems
Flexible
Slide 46
Slide 46 text
RESPONSIVE
DESIGN
We already said
… FLEX(BOX)IBLE
Slide 47
Slide 47 text
No content
Slide 48
Slide 48 text
FEATURES
HOW MANY IS “TOO MANY”?
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
are you
one brand?
many?
or
Slide 55
Slide 55 text
λ-CALCULUS OF COLOR SELECTION
Slide 56
Slide 56 text
λ-CALCULUS OF COLOR SELECTION
Slide 57
Slide 57 text
λ-CALCULUS OF COLOR SELECTION
Slide 58
Slide 58 text
λ-CALCULUS OF COLOR SELECTION
WHAT IF A BRAND WANTS TO USE “SECONDARY” FOR “PRIMARY” BUTTON?
MORE BUTTON-SPECIFIC VARIABLES FOR REBINDING
In λ-calculus this is an “α-conversion”
Slide 59
Slide 59 text
Flexible
Cross Platform
Design Systems
Delivering
Slide 60
Slide 60 text
No content
Slide 61
Slide 61 text
STAGES
of
DELIVERY
Slide 62
Slide 62 text
DEVELOP
& PUBLISH
& PROMOTE
& MAINTAIN
& ROLLOUT
Slide 63
Slide 63 text
No content
Slide 64
Slide 64 text
DEVELOP
WHERE WORKFLOW IS KING
Slide 65
Slide 65 text
No content
Slide 66
Slide 66 text
EASY
Make it
contributors
for any new
Slide 67
Slide 67 text
No content
Slide 68
Slide 68 text
ENTRY POINT
Treat every
a
FIRST INTERACTION
as though
IT COULD BE
Slide 69
Slide 69 text
No content
Slide 70
Slide 70 text
small module
the
most easily
is
understood
Slide 71
Slide 71 text
No content
Slide 72
Slide 72 text
monorepo
Using a
diligence
requires
Slide 73
Slide 73 text
monorepo
Using a
YOUR PACKAGES/**/README.MD STILL MATTERS!
diligence
requires
AND –– npm home your-package
Slide 74
Slide 74 text
Use
Storybook
(cross platform is still a little rough)
Slide 75
Slide 75 text
Use
Storybook
(cross platform is still a little rough)
storybook
Just use
color me
seriously
impressed
Slide 76
Slide 76 text
No content
Slide 77
Slide 77 text
HAVE
an
EXAMPLE
STRUCTURE
Slide 78
Slide 78 text
No content
Slide 79
Slide 79 text
imagine
Now
25+ examples
Slide 80
Slide 80 text
No content
Slide 81
Slide 81 text
EXACTLY
WHAT’S A BETTER APPROACH?
Slide 82
Slide 82 text
No content
Slide 83
Slide 83 text
No content
Slide 84
Slide 84 text
AS SIMPLE
possible with
as
Slide 85
Slide 85 text
AS SIMPLE
possible with
as
CLEAR REQUIRE / IMPORT USAGE
DESIGN DOCUMENTATION
PLATFORM SPECIFIC EXAMPLES
ZERO CONFIG, SANE DEFAULTS
Slide 86
Slide 86 text
No content
Slide 87
Slide 87 text
CHECK BACK IN ABOUT SIX WEEKS ^_^
Slide 88
Slide 88 text
No content
Slide 89
Slide 89 text
PUBLISH
WHAT COULD GO WRONG?
Slide 90
Slide 90 text
No content
Slide 91
Slide 91 text
PRODUCTION
begins at
PUBLISH TIME
Slide 92
Slide 92 text
No content
Slide 93
Slide 93 text
can break
publishing
NPM INSTALL & UNIT TESTS
UPSTREAM BUILD TOOLCHAINS
REACT NATIVE APPS
MISCONFIGURED CONSUMERS
Slide 94
Slide 94 text
No content
Slide 95
Slide 95 text
No content
Slide 96
Slide 96 text
PROMOTE
... CONTINUOUS DEPLOYMENT
AND THE NATURE OF DESIGN SYSTEMS
Slide 97
Slide 97 text
No content
Slide 98
Slide 98 text
too many unknowns
there are simply
…WHEN OPERATING AT
LARGE ENOUGH SCALE ANYWAY
Slide 99
Slide 99 text
Let’s
Slide 100
Slide 100 text
Let’s
ROLLOUT
TO PRODUCTION!
Slide 101
Slide 101 text
WARNING: CONSUMER BUNDLES SHOULD
NOT INCLUDE YOUR DESIGN SYSTEM OR
DEPENDENCIES THAT CHANGE INFREQUENTLY
PLEASE BE ADVISED.
Slide 102
Slide 102 text
No content
Slide 103
Slide 103 text
vendor
bundle
USE A
Slide 104
Slide 104 text
There should only be
one true version
Slide 105
Slide 105 text
There should only be
one true version
design system
of your
in production
Slide 106
Slide 106 text
No content
Slide 107
Slide 107 text
webpack
externals
EXPOSE
and
version them
Slide 108
Slide 108 text
No content
Slide 109
Slide 109 text
webpack
externals?
WHAT ARE
Slide 110
Slide 110 text
ANY ORDINARY WEBPACK BUNDLE
Slide 111
Slide 111 text
ANY ORDINARY WEBPACK BUNDLE
MODULE LOADER – THE “FACTORY”
Slide 112
Slide 112 text
ANY ORDINARY WEBPACK BUNDLE
MODULE LOADER – THE “FACTORY”
MODULE 0
Slide 113
Slide 113 text
ANY ORDINARY WEBPACK BUNDLE
MODULE LOADER – THE “FACTORY”
MODULE 0
module.exports = /* module 0’s code */
Your computer
npm publish
your design system
all your users
Slide 121
Slide 121 text
Your computer
npm publish
Warehouse.ai
your design system
all your users
new
request
versions
every Xm
Slide 122
Slide 122 text
No content
Slide 123
Slide 123 text
MAINTAIN
FIXING FIRES BEFORE THEY HAPPEN
Slide 124
Slide 124 text
No content
Slide 125
Slide 125 text
DEVOPS
WHEN THINGS DON’T GO AS PLANNED
Slide 126
Slide 126 text
No content
Slide 127
Slide 127 text
FAILOVER
CACHING
Slide 128
Slide 128 text
No content
Slide 129
Slide 129 text
YOU MUST
have a
ROLLBACK
PLAN
Slide 130
Slide 130 text
No content
Slide 131
Slide 131 text
warehouse.ai
Using
npm dist-tag add @your/[email protected] prod
makes this trivial
Slide 132
Slide 132 text
warehouse.ai
Using
npm dist-tag add @your/[email protected] prod
makes this trivial
... TRY IT OUT!
HTTPS://GITHUB.COM/GODADDY/WAREHOUSE.AI
Slide 133
Slide 133 text
No content
Slide 134
Slide 134 text
HYGIENE
PAYING TECHNICAL DEBT
Slide 135
Slide 135 text
... YOU CAN’T AVOID IT
Slide 136
Slide 136 text
... YOU CAN’T AVOID IT
WARNING: ON A LONG ENOUGH TIMELINE,
IF LEFT UNCHECKED ALL SOFTWARE WILL
CRUMBLE FROM TECHNICAL DEBT
PLEASE BE ADVISED.
Slide 137
Slide 137 text
UPGRADING TO NEW VERSIONS: REACT, BABEL, WEBPACK, ETC.
REMOVING DEPRECATED APIS E.G. componentWillReceiveProps, etc.
USING LATEST APIS – E.G. PORTALS, REACT@16 CONTEXT, etc.
Slide 138
Slide 138 text
IT ADDS UP
QUICKLY
UPGRADING TO NEW VERSIONS: REACT, BABEL, WEBPACK, ETC.
REMOVING DEPRECATED APIS E.G. componentWillReceiveProps, etc.
USING LATEST APIS – E.G. PORTALS, REACT@16 CONTEXT, etc.
Slide 139
Slide 139 text
MAY THE SOURCE BE WITH YOU
SLIDES WILL BE POSTED ON TWITTER SHORTLY – FOLLOW ME @INDEXZERO
THANKS FOR LISTENING!