Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Lean Frontend Development
Search
FEVR
February 12, 2015
Technology
0
4.2k
Lean Frontend Development
Our Speech @ WebDeBS About Frontend Framework for working more Lean
FEVR
February 12, 2015
Tweet
Share
More Decks by FEVR
See All by FEVR
React Native for Better Apps
fevr
1
920
CSS from the future
fevr
0
690
BEM
fevr
0
780
The future of Javascript: episode 2
fevr
1
720
Historiae JavaScript
fevr
0
870
FRONTEND & BACKEND: AN ENDLESS LOVE
fevr
1
780
Responsive images in da house
fevr
0
1k
Javascript Test Dummies
fevr
0
710
METEOR: FULL-STACK JAVASCRIPT FOR REAL-TIME APPS — FROM IDEA TO EXECUTION, FASTER
fevr
1
980
Other Decks in Technology
See All in Technology
ゼロから創る横断SREチーム 挑戦と進化の軌跡
rvirus0817
2
260
OpenAIの蒸留機能(Model Distillation)を使用して運用中のLLMのコストを削減する取り組み
pharma_x_tech
4
550
Qiita埋め込み用スライド
naoki_0531
0
860
アップデート紹介:AWS Data Transfer Terminal
stknohg
PRO
0
180
Turing × atmaCup #18 - 1st Place Solution
hakubishin3
0
470
Postman と API セキュリティ / Postman and API Security
yokawasa
0
200
どちらを使う?GitHub or Azure DevOps Ver. 24H2
kkamegawa
0
690
フロントエンド設計にモブ設計を導入してみた / 20241212_cloudsign_TechFrontMeetup
bengo4com
0
1.9k
10個のフィルタをAXI4-Streamでつなげてみた
marsee101
0
160
alecthomas/kong はいいぞ / kamakura.go#7
fujiwara3
1
300
ずっと昔に Star をつけたはずの思い出せない GitHub リポジトリを見つけたい!
rokuosan
0
150
20241220_S3 tablesの使い方を検証してみた
handy
3
360
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
347
20k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
66k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
17
2.3k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
2
290
YesSQL, Process and Tooling at Scale
rocio
169
14k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Side Projects
sachag
452
42k
How to train your dragon (web standard)
notwaldorf
88
5.7k
The Language of Interfaces
destraynor
154
24k
Transcript
13.02.2015 – wedebs - #brainpirlo LEAN FRONTEND DEVELOPMENT
13.02.2015 – wedebs - #brainpirlo ABOUT US Matteo Guidotto –
Twitter: @j8matteo PM, UX & Frontend Developer, Agile Lover matteoguidotto.com Marco Solazzi – Twitter: @dwightjack Frontend Web Developer - github.com/dwightjack/
WE WERE WEBMASTER
OUR WORKFLOW WASN’T SO SEXY
WE ARE FRONTEND DEVELOPERS
WE NEED TO BE LEAN WE NEED TO BE STRONG
WE NEED TO BE AGILE
PLAN
GET OUT OF NEVERENDING SOFTWARE
CHOOSE RIGHT WEAPON FOR YOUR WAR
UNICORN TECHNOLOGY DOESN’T EXIST
DON’T USE ANGULAR FOR EVERYTHING
None
DEFINE USER AND BUYER PERSONAS
DEFINE USER AND BUYER PERSONAS DEVICES
DEVICE CENTERED DEVELOPMENT
BUDGETING ACTIVITIES
BUILD BRICK BY BRICK
TRY
FEATURE’S DESIGN TO REAL STUFF
MINIMUM VIABLE PRODUCT
MINIMUM VIABLE PRODUCT CODE
“ MVC: UNPOLISHED, BAREBONE, TESTABLE, FAILABLE PIECE OF SOFTWARE ”
YOUR FEATURE DESIGN IS AN ASSUMPTION
“ANIMATED FONT SIZE ON A VERTICALLY DISTRIBUTED FULL HEIGHT LIST…”
display: table?
TRY IT OUT!
Do or do not... there is no try
Do or do not... there is no try He didn’t
know CodePen
CLUNKY! http://codepen.io/dwightjack/pen/ogwQKz
“LET’S TRY OUT flexbox”
http://codepen.io/dwightjack/pen/azwPzv
YOUR PREJUDICES ARE ASSUMPTIONS TOO!
“JS NATIVE METHODS JUST ROCK”
http://jsperf.com/native-vs-for-loops
COOL / SOLID OPTIONS
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
BUILD
TEST PASSED! LET’S GET REAL
“THERE’S NO BIG SOFTWARE JUST BIG MISTAKES”
“Everything is acompound thing” First Modular Development Master in history
“Everything is a compound thing” First Modular Development Master in History
WHY MODULAR DEVELOPMENT: SIMPLICITY ENCAPSULATION SEPARATION OF CONCERNS
PICK YOUR FLAVORS
FULL STACK FRONTEND DEVELOPERS?
CROSSFUNCTIONAL FRONTEND TEAMS Semantics + Accessibility (HTML + ARIA) Presentation
(CSS) Interactivity (JavaScript / BaaS APIs)
BROWSERS ALREADY DO THAT <input type=”date” required min=”10” max=”100”> input[type=”date”]::-webkit-datetime-edit-month-field
{ color: #bada55; } document.querySelector(‘input[type=”date”]’).checkValidity();
“WE NEED TO OUTPUT 15 PAGE TEMPLATES” - a random
PM
STYLEGUIDE DRIVEN DEVELOPMENT
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)
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> ``` ========================================================================== */
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> ``` ========================================================================== */
COOL / SOLID OPTIONS
CHECK
KITCHEN ISN’T A 3DMAX RENDER WEBSITE ISN’T A PSD
CHECK IS LEARNING DO IT TOGETHER NOT ONE vs ONE
CODE SHOULD BE BEAUTIFUL TOO
COOL / SOLID OPTIONS
CODE SHOULD BE REUSABLE MODULAR COMMENTED
CODEREVIEW AS RETROSPECTIVE
ITERATE ALL THE TIME
IT’S NOT A GUIDE IT’S A FRAMEWORK
GET OUT OF DELIVERY OBSESSION
IT’S A DECLARATION OF INDEPENDENCE
13.02.2015 – wedebs - #brainpirlo THANKS