Slide 1

Slide 1 text

A DIY Guide To Building Your Own Rendering Engine

Slide 2

Slide 2 text

http://frameworklessmovement.org/

Slide 3

Slide 3 text

Start With Why _

Slide 4

Slide 4 text

Why should you learn how to build a Rendering Engine?

Slide 5

Slide 5 text

Let me tell you a story...

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

Some years ago, I had to modernize a front-end application on top of an old Java Framework...

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

We couldn’t add new dependencies...

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

The only available libraries were jQuery and underscore

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

We delivered the project, but our team was unhappy

Slide 14

Slide 14 text

Microwave spaghetti bolognese by BBC Food

Slide 15

Slide 15 text

“Never Manipulate the DOM” Every JavaScript Developer —

Slide 16

Slide 16 text

Manipulating DOM is hard

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

Manipulating DOM is important for a front-end developer

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

Principles _

Slide 21

Slide 21 text

Choose a simple Architecture

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

YAGNI (You aren't gonna need it)

Slide 24

Slide 24 text

“Premature optimization is the root of all evil” Donald Knuth —

Slide 25

Slide 25 text

Performance is UX

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

stats.js http://mrdoob.github.io/stats.js/

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

Eat the Frog

Slide 30

Slide 30 text

https://github.com/flowingis/strazz-talk-cityjs2021

Slide 31

Slide 31 text

What I learned _

Slide 32

Slide 32 text

A custom Rendering Engine can live in harmony with frameworks

Slide 33

Slide 33 text

It’s a good way to work with legacy code

Slide 34

Slide 34 text

How to decide if it’s a good solution?

Slide 35

Slide 35 text

Accattatevill’ https://leanpub.com/decision-making-for-software-development-teams https://www.apress.com/gp/book/9781484249666 (“buy them” in Neapolitan)

Slide 36

Slide 36 text

Francesco Strazzullo (AKA Strazz) @TheStrazz86 (Follow me on Twitter!) Ego Slide

Slide 37

Slide 37 text

Thanks Francesco Strazzullo [email protected]