Slide 1

Slide 1 text

LEAN FRONTEND DEVELOPMENT 23.04.2015 – FEVR

Slide 2

Slide 2 text

ABOUT US 1 year BF ( before FEVR) Matteo Guidotto Full Stack Developer / Sometimes Project Manager @ Intesys Marco Solazzi Full Stack Developer with attitudes for Frontend Development @ Intesys

Slide 3

Slide 3 text

Matteo Guidotto - @j8matteo Digital Project Manager @ True Blue TEDxVerona Co-organizer www.matteoguidotto.com proudly father of FEVR Marco Solazzi - @dwightjack Frontend Developer @ AQuést JavaScript Otaku github. com/dwightjack/ proudly father of FEVR ABOUT US 1 year AF ( after FEVR)

Slide 4

Slide 4 text

WE WERE WEBMASTER

Slide 5

Slide 5 text

OUR WORKFLOW WASN’T SO SEXY

Slide 6

Slide 6 text

WE ARE FRONTEND DEVELOPERS

Slide 7

Slide 7 text

WE NEED TO BE LEAN WE NEED TO BE STRONG WE NEED TO BE AGILE

Slide 8

Slide 8 text

PLAN

Slide 9

Slide 9 text

GET OUT OF NEVERENDING SOFTWARE

Slide 10

Slide 10 text

CHOOSE RIGHT WEAPON FOR YOUR WAR

Slide 11

Slide 11 text

UNICORN TECHNOLOGY DOESN’T EXIST

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

DON’T USE ANGULAR FOR EVERYTHING

Slide 14

Slide 14 text

DEFINE USER AND BUYER PERSONAS

Slide 15

Slide 15 text

DEFINE USER AND BUYER PERSONAS DEVICES

Slide 16

Slide 16 text

DEVICE CENTERED DEVELOPMENT

Slide 17

Slide 17 text

BUDGETING ACTIVITIES

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

TRY

Slide 20

Slide 20 text

FEATURE’S DESIGN TO REAL STUFF

Slide 21

Slide 21 text

MINIMUM VIABLE PRODUCT

Slide 22

Slide 22 text

MINIMUM VIABLE PRODUCT CODE

Slide 23

Slide 23 text

“ MVC: UNPOLISHED, BAREBONE, TESTABLE, FAILABLE PIECE OF SOFTWARE ”

Slide 24

Slide 24 text

YOUR FEATURE DESIGN IS AN ASSUMPTION

Slide 25

Slide 25 text

“ANIMATED FONT SIZE ON A VERTICALLY DISTRIBUTED FULL HEIGHT LIST…” display: table?

Slide 26

Slide 26 text

TRY IT OUT!

Slide 27

Slide 27 text

Do or do not... there is no try

Slide 28

Slide 28 text

Do or do not... there is no try He didn’t know CodePen

Slide 29

Slide 29 text

CLUNKY! http://codepen.io/dwightjack/pen/ogwQKz

Slide 30

Slide 30 text

“LET’S TRY OUT flexbox”

Slide 31

Slide 31 text

http://codepen.io/dwightjack/pen/azwPzv

Slide 32

Slide 32 text

YOUR PREJUDICES ARE ASSUMPTIONS TOO!

Slide 33

Slide 33 text

“JS NATIVE METHODS JUST ROCK”

Slide 34

Slide 34 text

http://jsperf.com/native-vs-for-loops

Slide 35

Slide 35 text

COOL / SOLID OPTIONS

Slide 36

Slide 36 text

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

Slide 37

Slide 37 text

TEST PASSED! LET’S GET REAL

Slide 38

Slide 38 text

BUILD

Slide 39

Slide 39 text

“THERE’S NO BIG SOFTWARE JUST BIG MISTAKES”

Slide 40

Slide 40 text

“Everything is acompound thing” First Modular Development Master in history “Everything is a compound thing” First Modular Development Master in History

Slide 41

Slide 41 text

WHY MODULAR DEVELOPMENT: SIMPLICITY ENCAPSULATION SEPARATION OF CONCERNS

Slide 42

Slide 42 text

PICK YOUR FLAVORS

Slide 43

Slide 43 text

FULL STACK FRONTEND DEVELOPERS?

Slide 44

Slide 44 text

CROSSFUNCTIONAL FRONTEND TEAMS Semantics + Accessibility (HTML + ARIA) Presentation (CSS) Interactivity (JavaScript / BaaS APIs)

Slide 45

Slide 45 text

BROWSERS ALREADY DO THAT input[type=”date”]::-webkit-datetime-edit-month-field { color: #bada55; } document.querySelector(‘input[type=”date”]’).checkValidity();

Slide 46

Slide 46 text

“WE NEED TO OUTPUT 15 PAGE TEMPLATES” - a random PM

Slide 47

Slide 47 text

STYLEGUIDE DRIVEN DEVELOPMENT

Slide 48

Slide 48 text

http://rizzo.lonelyplanet.com/styleguide/ui-components/buttons http://rizzo.lonelyplanet.com/styleguide/ui-components/buttons

Slide 49

Slide 49 text

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)

Slide 50

Slide 50 text

Outdated Inaccurate

Slide 51

Slide 51 text

LIVING STYLEGUIDES /* ========================================================================== Media Object ==== ```

Media Title

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

``` ========================================================================== */

Slide 52

Slide 52 text

LIVING STYLEGUIDES /* ========================================================================== Media Object ==== ```

Media Title

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

``` ========================================================================== */

Slide 53

Slide 53 text

COOL / SOLID OPTIONS http://www.smashingmagazine.com/2015/04/13/an-in-depth-overview-of-living-style-guide-tools/

Slide 54

Slide 54 text

CHECK

Slide 55

Slide 55 text

KITCHEN ISN’T A 3DMAX RENDER WEBSITE ISN’T A PSD

Slide 56

Slide 56 text

CHECK IS LEARNING DO IT TOGETHER NOT ONE vs ONE

Slide 57

Slide 57 text

CODE SHOULD BE BEAUTIFUL TOO

Slide 58

Slide 58 text

COOL / SOLID OPTIONS

Slide 59

Slide 59 text

CODE SHOULD BE REUSABLE MODULAR COMMENTED

Slide 60

Slide 60 text

CODEREVIEW AS RETROSPECTIVE

Slide 61

Slide 61 text

ITERATE ALL THE TIME

Slide 62

Slide 62 text

IT’S NOT A GUIDE IT’S A FRAMEWORK

Slide 63

Slide 63 text

GET OUT OF DELIVERY OBSESSION

Slide 64

Slide 64 text

IT’S A DECLARATION OF INDEPENDENCE

Slide 65

Slide 65 text

THANKS 23.04.2015 – FEVR