-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
342 lines (330 loc) · 17.8 KB
/
index.html
File metadata and controls
342 lines (330 loc) · 17.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
<!doctype html>
<html lang="en" prefix="og: http://ogp.me/ns#">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Asynchronous Javascript: Stairway to Heaven - Gerson Lázaro C.</title>
<meta name="description" content="Asynchronous Javascript: Stairway to Heaven - Gerson Lázaro">
<link rel="canonical" href="https://gersonlazaro.com/asynchronous-javascript-slides/">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,700,700i%7CMaitree:200,300,400,600,700&subset=latin-ext" rel="stylesheet">
<!-- CSS WebSlides -->
<link rel="stylesheet" type='text/css' media='all' href="./static/css/webslides.css">
<link rel="stylesheet" href="./static/css/main.css">
<!-- FACEBOOK -->
<meta property="og:url" content="http://gersonlazaro.com/">
<meta property="og:type" content="article">
<meta property="og:title" content="Asynchronous Javascript: Stairway to Heaven">
<meta property="og:description" content="Asynchronous Javascript: Stairway to Heaven">
<meta property="og:updated_time" content="2020-12-12T17:20:50">
<meta property="og:image" content="./static/images/images/background.jpg'">
<!-- TWITTER -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@yesiamlazaro">
<meta name="twitter:creator" content="@yesiamlazaro">
<meta name="twitter:title" content="Asynchronous Javascript: Stairway to Heaven">
<meta name="twitter:description" content="Asynchronous Javascript: Stairway to Heaven">
<meta name="twitter:image" content="./static/images/images/background.jpg">
<!-- FAVICONS -->
<link rel="apple-touch-icon" sizes="57x57" href="./static/images/favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="./static/images/favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="./static/images/favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="./static/images/favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="./static/images/favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="./static/images/favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="./static/images/favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="./static/images/favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="./static/images/favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="./static/images/favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="./static/images/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="./static/images/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="./static/images/favicon/favicon-16x16.png">
<link rel="manifest" href="./static/images/favicon/manifest.json">
<meta name="msapplication-TileColor" content="#97ff6c">
<meta name="msapplication-TileImage" content="./static/images/favicon/ms-icon-144x144.png">
<meta name="theme-color" content="#97ff6c">
</head>
<body>
<main role="main">
<article id="webslides" class="vertical">
<section class="bg-black">
<span class="background dark" style="background-image:url('./static/images/images/background.jpg')"></span>
<!--.wrap = container (width: 90%) -->
<div class="wrap aligncenter">
<h1><strong>ASYNCHRONOUS JAVASCRIPT: STAIRWAY TO HEAVEN</strong></h1>
<p class="text-intro">A frontend perspective<br>
from callback hell to the present... and future.
</p>
</div>
<!-- .end .wrap -->
</section>
<section class="bg-black">
<div class="wrap aligncenter">
<img class="sl-logo" src="./static/images/images/GL_Logo.svg" alt="Gerson Lázaro">
<h2>GERSON LÁZARO</h2>
<p>Systems Engineer - Universidad Francisco de Paula Santander<br>
Frontend Software Engineer at Bizagi</p>
</div>
</section>
<section class="bg-black">
<span class="background dark" style="background-image:url('./static/images/images/what_is_frontend.jpg')"></span>
<div class="wrap aligncenter">
<h1><strong>WHAT DOES A FRONT-END DEVELOPER DO?</strong></h1>
</div>
</section>
<section class="bg-black">
<div class="wrap aligncenter">
<h2>Front-end Developers are responsible for implementing visual elements that users see and <span class="sl-highlight">interact</span> within a web application. </h2>
</div>
</section>
<section class="bg-black">
<span class="background dark" style="background-image:url('./static/images/images/web_evolution.jpg')"></span>
<div class="wrap aligncenter">
<h1><strong>ONCE UPON A TIME...</strong></h1>
<p class="text-intro">The beginnings of the internet</p>
</div>
</section>
<section class="fullscreen bg-black">
<div class="card-50">
<figure>
<img src="./static/images/images/captura_1.jpg">
</figure>
<!-- end figure-->
<div class="flex-content">
<h2>1990</h2>
<p class="text-intro">First website: The world wide web project - Conseil Européen pour la Recherche Nucléaire (CERN)</p>
<p class="aligncenter">
<a target="_blank" href="http://info.cern.ch/hypertext/WWW/TheProject.html" class="sl-button">View website</a>
</p>
</div>
<!-- end .flex-content-->
</div>
</section>
<section class="fullscreen bg-black">
<div class="card-50">
<figure>
<img src="./static/images/images/captura_2.jpg">
</figure>
<!-- end figure-->
<div class="flex-content">
<h2>1995</h2>
<p class="text-intro">First search engine: Lycos. At this time the web layout is done using tables.</p>
<p class="aligncenter">
<a target="_blank" href="https://web.archive.org/web/19961025120541/http://www.lycos.com/" class="sl-button">View website</a>
</p>
</div>
<!-- end .flex-content-->
</div>
</section>
<section class="fullscreen bg-black">
<div class="card-50">
<figure>
<img src="./static/images/images/captura_3.jpg">
</figure>
<!-- end figure-->
<div class="flex-content">
<h2>1995</h2>
<p class="text-intro">Nananananananananananananananananananana batman!!<br>The rise of flash drives a change in web design and development.</p>
<p class="aligncenter">
<a target="_blank" href="https://www.1995batman.com/2018/01/external-link-original-batman-forever.html" class="sl-button">View website</a>
</p>
</div>
<!-- end .flex-content-->
</div>
</section>
<section class="fullscreen bg-black">
<div class="card-50">
<figure>
<img src="./static/images/images/captura_4.jpg">
</figure>
<!-- end figure-->
<div class="flex-content">
<h2>1998</h2>
<p class="text-intro">Mozilla's first website. CSS in all its glory (?). Web design becomes relevant.</p>
<p class="aligncenter">
<a target="_blank" href="https://web.archive.org/web/19981212031129/http://www.mozilla.org/" class="sl-button">View website</a>
</p>
</div>
<!-- end .flex-content-->
</div>
</section>
<section class="fullscreen bg-black">
<div class="card-50">
<figure>
<img src="./static/images/images/captura_5.jpg">
</figure>
<!-- end figure-->
<div class="flex-content">
<h2>1999</h2>
<p class="text-intro">Blogger's first website. Back-end interaction becomes more important than ever.</p>
<p class="aligncenter">
<a target="_blank" href="hhttp://web.archive.org/web/19991012022531/http://blogger.com/" class="sl-button">View website</a>
</p>
</div>
<!-- end .flex-content-->
</div>
</section>
<section class="fullscreen bg-black">
<div class="card-50">
<figure>
<img src="./static/images/images/captura_6.jpg">
</figure>
<!-- end figure-->
<div class="flex-content">
<h2>2005</h2>
<p class="text-intro">Gmail's first website. It is not possible to say which was the first site to use Ajax. But gmail was a great example.</p>
<p class="aligncenter">
<a target="_blank" href="http://web.archive.org/web/20050404043703/http://gmail.google.com/?dest=http://gmail.google.com/gmail" class="sl-button">View website</a>
</p>
</div>
<!-- end .flex-content-->
</div>
</section>
<section class="fullscreen bg-black">
<div class="embed dark">
<div data-youtube data-youtube-id="9CS7j5I6aOc" data-autoplay allowfullscreen data-mute data-loop></div>
</div>
<div class="wrap aligncenter">
<h1><strong>AND NOW</strong></h1>
<p class="text-intro">It's the future</p>
</div>
</section>
<section class="bg-black">
<span class="background dark" style="background-image:url('./static/images/images/async.jpg')"></span>
<div class="wrap aligncenter">
<h1><strong>ASYNCHRONOUS JAVASCRIPT</strong></h1>
<p class="text-intro">"I will finish later!"</p>
</div>
<!-- .end .wrap -->
</section>
<section class="bg-black">
<span class="background dark" style="background-image:url('./static/images/images/what_is_frontend.jpg')"></span>
<div class="wrap aligncenter">
<h1><strong>STARTING POINT: CALLBACKS</strong></h1>
</div>
</section>
<section class="bg-black slide-top">
<div class="wrap sl-code content-center">
<h1><strong>ASYNCHRONOUS JAVASCRIPT: CALLBACKS</strong></h1>
<p class="text-intro">Where it all started</p>
<p class="codepen" data-height="600" data-theme-id="dark" data-default-tab="js,result" data-user="gerson-l-zaro" data-slug-hash="OJRRapW" data-preview="true" data-editable="true" style="height: 632px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;" data-pen-title="AJ1">
<span>See the Pen <a href="https://codepen.io/gerson-l-zaro/pen/OJRRapW">
AJ1</a> by Gerson Lázaro (<a href="https://codepen.io/gerson-l-zaro">@gerson-l-zaro</a>)
on <a href="https://codepen.io">CodePen</a>.</span>
</p>
</div>
</section>
<section class="bg-black">
<span class="background dark" style="background-image:url('./static/images/images/what_is_frontend.jpg')"></span>
<div class="wrap aligncenter">
<h1><strong>WHAT IS THE PROBLEM?</strong></h1>
</div>
</section>
<section class="bg-black slide-top">
<div class="wrap sl-code content-center">
<h1><strong>ASYNCHRONOUS JAVASCRIPT: CALLBACKS</strong></h1>
<p class="text-intro">This is the problem</p>
<p class="codepen" data-height="600" data-theme-id="dark" data-default-tab="js,result" data-user="gerson-l-zaro" data-slug-hash="ExgNBqz" data-preview="true" data-editable="true" style="height: 265px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;" data-pen-title="AJ2">
<span>See the Pen <a href="https://codepen.io/gerson-l-zaro/pen/ExgNBqz">
AJ2</a> by Gerson Lázaro (<a href="https://codepen.io/gerson-l-zaro">@gerson-l-zaro</a>)
on <a href="https://codepen.io">CodePen</a>.</span>
</p>
</div>
</section>
<section class="bg-black">
<span class="background" style="background-image:url('./static/images/images/callback_hell.png')"></span>
<div class="wrap aligncenter">
<h1><strong>CALLBACK HELL</strong></h1>
</div>
</section>
<section class="bg-black">
<span class="background dark" style="background-image:url('./static/images/images/promises.jpg')"></span>
<div class="wrap aligncenter">
<h1><strong>EVOLUTION: PROMISES</strong></h1>
</div>
</section>
<section class="bg-black">
<div class="wrap aligncenter">
<img src="./static/images/images/promise1.png" alt="">
</div>
</section>
<section class="bg-black">
<div class="wrap aligncenter">
<img src="./static/images/images/promise2.png" alt="">
</div>
</section>
<section class="bg-black slide-top">
<div class="wrap sl-code content-center">
<h1><strong>ASYNCHRONOUS JAVASCRIPT: PROMISES</strong></h1>
<p class="text-intro">A real example</p>
<p class="codepen" data-height="600" data-theme-id="dark" data-default-tab="js,result" data-user="gerson-l-zaro" data-slug-hash="poENMVB" data-preview="true" data-editable="true" style="height: 265px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;" data-pen-title="AJ3">
<span>See the Pen <a href="https://codepen.io/gerson-l-zaro/pen/poENMVB">
AJ3</a> by Gerson Lázaro (<a href="https://codepen.io/gerson-l-zaro">@gerson-l-zaro</a>)
on <a href="https://codepen.io">CodePen</a>.</span>
</p>
</div>
</section>
<section class="bg-black">
<span class="background dark" style="background-image:url('./static/images/images/promises.jpg')"></span>
<div class="wrap aligncenter">
<h1><strong>SIMPLIFICATION: ASYNC AND AWAIT</strong></h1>
</div>
</section>
<section class="bg-black">
<div class="wrap aligncenter">
<img src="./static/images/images/async.png" alt="">
</div>
</section>
<section class="bg-black slide-top">
<div class="wrap sl-code content-center">
<h1><strong>ASYNCHRONOUS JAVASCRIPT: ASYNC/AWAIT</strong></h1>
<p class="text-intro">Simpler is better</p>
<p class="codepen" data-height="600" data-theme-id="dark" data-default-tab="js,result" data-user="gerson-l-zaro" data-slug-hash="WNGoVYL" data-preview="true" data-editable="true" style="height: 265px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;" data-pen-title="AJ4">
<span>See the Pen <a href="https://codepen.io/gerson-l-zaro/pen/WNGoVYL">
AJ4</a> by Gerson Lázaro (<a href="https://codepen.io/gerson-l-zaro">@gerson-l-zaro</a>)
on <a href="https://codepen.io">CodePen</a>.</span>
</p>
</div>
</section>
<section class="bg-black">
<span class="background dark" style="background-image:url('./static/images/images/memoization.jpg')"></span>
<div class="wrap aligncenter">
<h1><strong>ASYNCHRONOUS + MEMOIZE = FAST AND FURIOUS</strong></h1>
<p class="text-intro">A bonus for competitive programmers</p>
</div>
</section>
<section class="bg-black slide-top">
<div class="wrap sl-code content-center">
<h1><strong>THE FULL BLOG</strong></h1>
<p class="text-intro">Post + Comments + Image = The optimal way</p>
<p class="codepen" data-height="600" data-theme-id="dark" data-default-tab="js,result" data-user="gerson-l-zaro" data-slug-hash="WNGoVVW" data-preview="true" data-editable="true" style="height: 265px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;" data-pen-title="AJ5">
<span>See the Pen <a href="https://codepen.io/gerson-l-zaro/pen/WNGoVVW">
AJ5</a> by Gerson Lázaro (<a href="https://codepen.io/gerson-l-zaro">@gerson-l-zaro</a>)
on <a href="https://codepen.io">CodePen</a>.</span>
</p>
</div>
</section>
<section class="bg-black">
<span class="background dark" style="background-image:url('./static/images/images/questions.jpg')"></span>
<div class="wrap aligncenter">
<h1><strong>QUESTIONS?</strong></h1>
</div>
</section>
<section class="bg-black">
<div class="wrap aligncenter">
<img class="sl-logo" src="./static/images/images/GL_Logo.svg" alt="Gerson Lázaro">
<h2>Thanks!</h2>
<p>www.gersonlazaro.com</p>
</div>
</section>
</article>
<!-- end article -->
</main>
<!-- end main -->
<script src="./static/js/webslides.js"></script>
<script async src="https://cpwebassets.codepen.io/assets/embed/ei.js"></script>
<script>
window.ws = new WebSlides();
</script>
</body>
</html>