Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Modular Front-End Architectures with Pattern Libraries

Modular Front-End Architectures with Pattern Libraries

The way we build applications and websites has shifted from building pages to building design systems. During this session we will review an enterprise case study of what to do and what not to do when moving to a modular design approach. We will discuss useful principles that will help you improve consistency, efficiency and maintainability across multiple projects.

This session will also cover modified workflows that incorporate pattern libraries in your design and development process and give you practical tools on how to build your own pattern library.

Objective
Streamline the design process and improve collaboration with developers by breaking down pages into reusable modules.

Five things audience members will learn
• Discussion on the benefits of using a pattern library
• How to identify, review, and rate patterns
• Organizing patterns into a library
• Building and documenting patterns (including a healthy dose of Sass)
• Utilizing your new pattern library for rapid prototyping

Bermon Painter

March 16, 2016
Tweet

More Decks by Bermon Painter

Other Decks in Design

Transcript

  1. Benefits A useful tool to use when breaking down a

    user interface into it’s most modular pieces, instead of thinking about things as a series of disconnected pages.
  2. Static Style Guides Built with (or generated) static HTML. They

    are standalone representations of modules that are build separately from your applications.
  3. Challenges You’ve implemented a pattern library. Now what? It’s difficult

    it is to get buy-in, train teams, maintain the codebase between the pattern library and one or more applications, deal with technical debt, etc.
  4. Challenges Adoption If the people that manage the money don’t

    see or understand the value in a pattern library, the won’t dedicate the time, resources, and budget to maintain one.
  5. Challenges Governance Loose collaboration will fail. The must be a

    framework that clearly defines roles, responsibilities, and who have the authority to make decisions and provide a clear direction to the team.
  6. Challenges Application The entire team must be on board on

    writing patterns, following code standards, and maintaining the patterns.
  7. Folder Structure /assets /images /content /layout /fonts /javascript /libs /modules

    module-name.js /testing module-name.spec /sass /base /helpers /modules module-name.scss /setup /themes /theme-name module-name.scss
  8. Pattern Anatomy Focus on implementing modules as a “single source

    of truth” to be used across multiple application, without relying on copy/paste.
  9. .css Function & Unit Tests .html .js .coffee .sass .slim

    1. Responsive 2. Accessible 3. Versioned 4. Managed Dependencies Module
  10. Creating Pages 1. Elements (base elements, like Normalize) 2. Modules

    (combination of elements) 3. Theme (look and feel specific to an application)
  11. Creating Pages 1. Elements (base elements, like Normalize) 2. Modules

    (combination of elements) 3. Theme (look and feel specific to an application) 4. Layout (combination of elements, modules, theme)
  12. Creating Pages 1. Elements (base elements, like Normalize) 2. Modules

    (combination of elements) 3. Theme (look and feel specific to an application) 4. Layout (combination of elements, modules, theme) 5. Page (generated output served to the client)