developing style guides at light speed with fabricator

16
DEVELOPING STYLE GUIDES AT LIGHT SPEED WITH FABRICATOR

Upload: brett-whittington

Post on 15-Apr-2017

242 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Developing Style Guides at Light Speed with Fabricator

DEVELOPING STYLE GUIDES AT LIGHT SPEED WITH FABRICATOR

Page 2: Developing Style Guides at Light Speed with Fabricator

ABOUT ME

• Brett Whittington• Developer for 10 years• Worked at HMB for over 3 years• Enjoy working with Web Technologies

Page 3: Developing Style Guides at Light Speed with Fabricator

PROBLEM #1

Organization has distributed teams that are extremely vertical and independent. However, branding for the organization is shared and any changes to the enterprise stylesheets requires approvals and meetings.

Page 4: Developing Style Guides at Light Speed with Fabricator

PROBLEM #2

Organization has many different clients with different brands and marketing strategies. It has a large pool of developers that cycle on and off the different brands depending on who has time available to work on them. No one person is a subject matter expert so stylesheets are a mish mash of styles that are constantly changes.

Page 5: Developing Style Guides at Light Speed with Fabricator

WHAT IS A STYLE GUIDE?

• A document on how to tell a story.• How to write• How it should look• How things interact

• Key is consistency

Page 6: Developing Style Guides at Light Speed with Fabricator

STYLE GUIDES ARE IMPORTANT

• Align marketing goals and objectives• Create a visual dictionary for your brand• Reduces cost of future work (no re-inventing the wheel)

Page 7: Developing Style Guides at Light Speed with Fabricator

UI TOOLKITS

• A UI "toolkit" addresses the issue of complexity by breaking down an interface into smaller chunks. It is the digital equivalent of the auto industry's sub-assemblies and modules. It is a collection of independent pieces that are assembled to form larger pieces. A toolkit is not a website, rather it is the pieces that make up a website.

Page 8: Developing Style Guides at Light Speed with Fabricator

STYLE GUIDES VS TOOLKITS

Style Guides• Focused on Business• Not self-documenting• Instruction Manual• Reusable

Toolkits• Focused on code• Modular• Reusable• Living document

Page 9: Developing Style Guides at Light Speed with Fabricator

WHY NOT COMBINE THE TWO?

• Toolkits need documentation• Documentation is hard• How do you combine the two?

Page 10: Developing Style Guides at Light Speed with Fabricator

INTRODUCING FABRICATOR

• Developed by Resource/Amirati Luke Askew• Open source• Encourages prototyping• Combines style guide and toolkit into one living document.

Page 11: Developing Style Guides at Light Speed with Fabricator

BENEFITS

• Easy Modularization• CSS• JavaScript• Asset

• Automatic Bundling and Minification• Visual Guide with code samples.

Page 12: Developing Style Guides at Light Speed with Fabricator

REQUIREMENTS

• Node.js• Download Fabricator (zip) - Add to the project.

Page 13: Developing Style Guides at Light Speed with Fabricator

TECHNOLOGIES YOU’LL USE

• Gulp – A build process built for use in Node.js• Browserify – Allows easy modularization of javascript files and bundles them

into one• Markdown – Write text instead of HTML• SASS – CSS compiler• HTML/CSS*• JavaScript** = Only ones you really need to know.

Page 14: Developing Style Guides at Light Speed with Fabricator

JARGON

• Components – small unit of design• Structures – combination of components• Templates – combination of structures that resembles a page.

Page 15: Developing Style Guides at Light Speed with Fabricator

DEMO

Page 16: Developing Style Guides at Light Speed with Fabricator

LESSONS LEARNED

• Needs buy in from everyone• Does require some extra maintenance or must change

workflow• Sometimes it fails to update after saving or takes a long time

to refresh.• Documentation isn’t there yet• Adds a lot of files to a project.• Bleeding Edge of many JavaScript Frameworks