This document discusses principles of lean frontend development. It advocates for modular, reusable code through techniques like styleguide-driven development and living styleguides. Code quality is emphasized through practices like prototyping with CodePen before building full features, testing options before making assumptions, and code reviews as retrospectives. An agile, iterative process is recommended over focusing solely on delivery.
35. ADVANTAGES:
• WON’T CLUTTER YOUR CODEBASE WITH TEST CODE
• CLEAN / SANBOXED ENVIRONMENT IN NO TIME
• SHARE AND TEST ON MULTIPLE BROWSERS/DEVICES
• GREAT FOR PROTOTYPING
• WIDE SUPPORT FOR YOUR PREFERRED STACK
39. “Everything is
acompound thing”
First Modular Development
Master in history
“Everything is a compound
thing”
First Modular Development
Master in History
47. ADVANTAGES:
• shared knowledge base (with teammates and
customers)
• every module state and variation is clearly visible
• code snippets (how to implement) and visual
output (how it looks)
48. LIVING STYLEGUIDES
/* ==========================================================================
Media Object
====
```
<div class="media">
<img src=//placehold.it/150x150 alt="" class="media__image">
<div class="media__wrap">
<h1 class="media__title">Media Title</h1>
<p class="media__body">
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</p>
</div>
</div>
```
========================================================================== */
49. LIVING STYLEGUIDES
/* ==========================================================================
Media Object
====
```
<div class="media">
<img src=//placehold.it/150x150 alt="" class="media__image">
<div class="media__wrap">
<h1 class="media__title">Media Title</h1>
<p class="media__body">
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</p>
</div>
</div>
```
========================================================================== */