What's a framework?

 

 

Why do we need it?

 

What's a framework ?

 

 

Template rendering 

DOM

Document Object Model

Application

DOM

Mount / Insert a VDOM

Virtual DOM or VDOM

Virtual Node / VNODE

VNODE

VNODE

Application

Mount method

Component

Render Fn

Data Reactivity

Sub Component

Sub Component

Big Component

Todo

Component

Todo

Component

Title Component

TodoList Component

Form Component

Init Phase

Init Vnodes

Insert into DOM

Big Component

Todo

Component

Todo

Component

Title Component

TodoList Component

Form Component

DOM

Rendering Phase

Data reactivity

Form Component

writing something

I am a new Todo
Post
Patch
Pre patch

DOM

To Do List Component

Adding a todo

Push new todo
Insert

DOM

Why do we need a framework?

 

- How much time it takes to set it up and it's not yet complete.

- I could have spent this time learning about a "real" framework.

- Maintaining / evolve it is very time consuming because it will never end.

- When maintenance and work is required,  nothing can be done at work.

- Performance issues.

- Use of the same coding syntax in order to reduce bugs and simplify understanding

Which one ?

THANK YOU !

what is a framework / why do we need it

By Florent Giraud

what is a framework / why do we need it

  • 844