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

Front-End Architecture on Multibrand

Front-End Architecture on Multibrand

David Dias

April 22, 2016
Tweet

More Decks by David Dias

Other Decks in Programming

Transcript

  1. Martin Golding « Always code as if the guy who

    ends up maintaining your code will be a violent psychopath who knows where you live. »
  2. But in 2013, we faced a new challenge (at that

    time, lot of new tools come out into the front-end world)
  3. - Build fonts: convert icons in SVG to .ttf, .woff,

    .eot webfonts - Build images: optimize all layout's images (performance) - Dev reload: reload automatically the page after modifications - Dev js: concatenate and minify all JavaScript files - ...
  4. PUG

  5. CSS culture • Strong nomenclature: c- (component), l- (layout), u-

    (utility)... • CSS guidelines rules • Based on OOCSS, SMACSS and BEM
  6. page.psd component A.psd component B.psd component C.psd component A.pug component

    B.pug component C.pug + css + js + css + js + css + js styleguide Score - Sitecore
  7. component A + component B.1 + component C component A1

    + component B + component C3 Article page styleguide Static page