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

Pattern Libraries: DevelopMe Workshop

Pattern Libraries: DevelopMe Workshop

A follow-up Pattern Library workshop for DevelopMe_
https://developme.training/

Keir Moffatt

May 08, 2018
Tweet

More Decks by Keir Moffatt

Other Decks in Technology

Transcript

  1. @iamkeir • 18+ years freelance web developer in Bristol •

    Wonderful people, agencies & brands • Front-end, specialising in pattern libraries for scale • Shopify, Perch, APIs… • Snowboard instructor, breakdancer… lemur ranger?
  2. “Simple rarely breaks - but if it does, simple is

    easy to fix” “Code obvious, not clever” “Code like the next developer is an axe murderer and knows where you live” “Cheese is pleasant”
  3. “What is the most efficient way to build a 100-page

    website?” Find patterns, build once, reuse many.
  4. SMACSS Scalable and modular architecture for CSS https://smacss.com/ • Base

    (e.g. body, anchor) • Layout (e.g. header, main) • Modules (e.g. carousel, hero) • State (e.g. is-collapsed, is-visible) • Theme (e.g. color, style)
  5. Atomic Design Chemistry, yo! http://bradfrost.com/blog/post/atomic-web-design/ • Atoms (e.g. input, p,

    button, etc…) • Molecules (e.g. search form) • Organisms (e.g. site header) • Templates (e.g. collection template) • Pages (e.g. final site page)
  6. OOCSS Object-orientated CSS http://oocss.org/ • Structure vs Skin (e.g. float,

    margin vs color, background) • Container vs Content (reusable content not tied to container/location)
  7. KE-SS* Keir’s CSS • Core (e.g. typography, media, forms, grid,

    layout…) • Modules (EVERYTHING) • Templates (a module party) *this isn’t really a thing
  8. “Simple rarely breaks - but if it does, simple is

    easy to fix” “Code obvious, not clever” “Code like the next developer is an axe murderer and knows where you live” “Cheese is pleasant”