ASYNCHRONOUS JAVASCRIPT: STAIRWAY TO HEAVEN
A frontend perspective
from callback hell to the present... and future.
GERSON LÁZARO
Systems Engineer - Universidad Francisco de Paula Santander
Frontend Software Engineer at Bizagi
WHAT DOES A FRONT-END DEVELOPER DO?
Front-end Developers are responsible for implementing visual elements that users see and interact within a web application.
ONCE UPON A TIME...
The beginnings of the internet
1990
First website: The world wide web project - Conseil Européen pour la Recherche Nucléaire (CERN)
1995
Nananananananananananananananananananana batman!!
The rise of flash drives a change in web design and development.
2005
Gmail's first website. It is not possible to say which was the first site to use Ajax. But gmail was a great example.
AND NOW
It's the future
ASYNCHRONOUS JAVASCRIPT
"I will finish later!"
STARTING POINT: CALLBACKS
WHAT IS THE PROBLEM?
CALLBACK HELL
EVOLUTION: PROMISES
SIMPLIFICATION: ASYNC AND AWAIT
ASYNCHRONOUS + MEMOIZE = FAST AND FURIOUS
A bonus for competitive programmers
QUESTIONS?
Thanks!
www.gersonlazaro.com