-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
362 lines (290 loc) · 10 KB
/
index.html
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
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Web Matters</title>
<meta name="description" content="Web Matters">
<meta name="author" content="Marco Oliveira">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="css/reveal.min.css">
<link rel="stylesheet" href="css/theme/default.css" id="theme">
<!-- For syntax highlighting -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- If the query includes 'print-pdf', include the PDF print sheet -->
<script>
if( window.location.search.match( /print-pdf/gi ) ) {
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = 'css/print/pdf.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
}
</script>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section>
<h1>Web Matters</h1>
<h4>Why web matters and web matters you should know.</h4>
<p>@sonicspot</p>
</section>
<!-- EARLY PRESS -->
<section>
<section data-markdown data-notes="^Note:">
## `$ whoami`
- Marco Oliveira - [twitter.com/sonicspot](https://twitter.com/sonicspot)
- Baboom Limited CTO - [baboom.com](http://baboom.com)
- Indigo United co-founder - [IndigoUnited.com](http://indigounited.com)
- opoJS founder - [opoJS.com](http://opojs.com)
- Open-source advocate and contributor to a few projects.
- Developing for the web for more than 10 years.
Note:
- HTML websites
- Flash
- backend development (PHP)
- currently frontend and backend (JS and NodeJS)
</section>
</section>
<!-- WEB MATTERS -->
<section>
<section data-markdown>
## Web Matters
Note:
- Colleagues think.
- Parents think.
- What I really do.
</section>
<section data-background-size="contain" data-background-repeat="no-repeat" data-background="img/talhoreal.png"></section>
<section data-background-size="contain" data-background-repeat="no-repeat" data-background="img/sysadmin.jpg"></section>
<section>
<iframe src="http://baboom.com" width="1000px" height="600px"></iframe>
<br><br>
<p>I know... It's awesome, right?</p>
</section>
<section data-markdown>
## Web development SUCKS!
Note:
- Lower class of software development
</section>
<section data-markdown>
> Aw... That's cool, but I prefer developing real software...
</section>
<section data-markdown>![dafuq](img/dafuq.jpg)</section>
<section data-markdown>![Are you kidding me?](img/are-you-kidding.png)</section>
<section data-markdown>![dafuq](img/true-story.png)</section>
</section>
<section>
<!-- WHAT IS REAL SOFTWARE? -->
<section data-markdown>
## What is real software?
</section>
<section data-markdown>
- Will call it **web / non-web**.
- What's the difference?
</section>
<section data-markdown data-notes="^Note:">
- Not inside the browser?
Note:
- Desktop: Haroopad, Macaw, Atom
- Mobile: BBC Olympics
- Robots: https://www.youtube.com/watch?v=FR_QOxGsRz0
- 3D games: https://blog.mozilla.org/blog/2014/03/12/mozilla-and-epic-preview-unreal- engine-4-running-in-firefox/
- Accounting: https://twitter.com/pgte/status/452367467776860160/photo/1
- Can anyone guess the technology used to develop this?
</section>
<section data-markdown>![Desktop](img/atom.png)</section>
<section data-markdown>![Mobile](img/mobile.png)</section>
<section><iframe width="560" height="315" src="//www.youtube.com/embed/FR_QOxGsRz0" frameborder="0" allowfullscreen></iframe></section>
<section><iframe width="560" height="315" src="//www.youtube.com/embed/BV32Cs_CMqo" frameborder="0" allowfullscreen></iframe></section>
<section data-markdown>
- All developed using web technologies.
- node-webkit
- phonegap
- NodeJS
- WebGL
</section>
</section>
<!-- STIGMATA -->
<section>
<section data-markdown>
## STIGMATA
</section>
<section data-markdown>
- *interpreted vs compiled*
- compiled is FASTER!
</section>
<section data-markdown>
- True most of the times.
- Doesn't matter most of the times.
</section>
<section data-markdown data-notes="^Note:">
- Programmers are not perfect, and demanding technologies lead to poor solutions.
- Slower & harder to maintain.
Note:
- Lots of successful companies rely on web technologies.
- Paypal
- eBay
- LinkedIn
- Wallmart
- If good enough for them, good enough for you!
</section>
<section data-markdown data-notes="^Note:">
### Metrics
- Raw performance.
- Development time.
- Licensing.
- Security.
- Resilience.
- Maintainability.
- Many others depending on the project.
Note:
Raw performance is only one of the several metrics for software development.
</section>
<section data-markdown>
Most software, even "non-web" software, relies on web technologies.
- JSON (JavaScript Object Notation)
- REST APIs
</section>
<section data-markdown data-notes="^Note:">
- Web evolved from websites into applications
- (Facebook, Twitter, Baboom :D)
- Easy & fast deploy.
- No need to install, just visit the website.
- Cross platform.
- Interaction and design usually more appealing.
Note:
- Danger to become awesome and face a problem most non-web does not face.
</section>
</section>
<section>
<section data-markdown>
## Scale
</section>
<section data-markdown data-notes="^Note:">
- Most "non-web" software runs on a single machine.
- Web has many servers and even more clients.
- Applications grow fast.
- Time to shine for software architects.
Note:
- application needs to scale.
- Social applications suffer from thi.
- Growth spikes can make or break your application.
- Requires careful thought and engineering.
- Time to shine for software architects.
</section>
<section data-markdown data-notes="^Note:">
- Driving force for birth and maturing of many technologies.
- NoSQL (Couchbase, CouchDB, MongoDB).
- Fulltext search engines (ElasticSearch, Solr, SphinxSearch).
- Web servers and caching servers (Nginx, G-WAN, Varnish).
Note:
- Having a unified work force in terms of technologies can help you manage your resources.
</section>
</section>
<section>
<section data-markdown>
## Lingua Franca
### JavaScript
</section>
<section data-markdown>
### **DISCLAIMER:** I was not always a JavaScript fan.
</section>
<section data-markdown data-notes="^Note:">
- Typically associated with poorly written code.
- Strange variable scope.
- Spaghetti code.
- Callback hell.
- You can mess with the prototypes of native Objects.
- Has lots of **WTF**'s. [wtfjs.com](http://wtfjs.com)
Note:
`Array(16).join('wtf' - 1) + ' batman'` by Gary Bernhardt in [WAT](https://www.destroyallsoftware.com/talks/wat)
</section>
<section data-markdown>
On the other hand,
- Very expressive.
- Not verbose.
- Asynchronous.
Several characteristics make JavaScript a fantastic language to use everywhere.
</section>
<section data-markdown>
### Atwood's Law
> Any application that can be written in JavaScript, will eventually be written in JavaScript.
</section>
<section data-markdown>
## Enter NodeJS
</section>
<section data-markdown data-notes="^Note:">
- JavaScript outside of the browser.
- Platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications.
- event-driven, non-blocking I/O model
- perfect for data-intensive real-time applications that run across distributed devices.
</section>
<section data-markdown data-notes="^Note:">
### Fantastic... What does it mean?
</section>
<section data-markdown data-notes="^Note:">
- Your code is single threaded.
- Single event at a time.
- Much easier to develop highly concurrent software.
Note:
- Who knows what NodeJS is?
- Who has used NodeJS?
- Who is using it right now? Did I mention we are hiring?
</section>
</section>
<section>
<section data-markdown data-notes="^Note:">
## Live coding
(always works out great)
</section>
</section>
<section>
<section data-markdown data-notes="^Note:">
- No longer division between *web and non-web* software.
- Don't use web just because, but don't ignore it as well.
</section>
</section>
<section>
<section data-markdown data-notes="^Note:">
Thanks!
@sonicspot
</section>
</section>
<!-- <section data-background-size="contain" data-background-repeat="no-repeat" data-background="assets/img/mockups/01_identity.jpg"></section> -->
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.min.js"></script>
<script>
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none
// Parallax scrolling
// parallaxBackgroundImage: 'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg',
// parallaxBackgroundSize: '2100px 900px',
// Optional libraries used to extend on reveal.js
dependencies: [
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
]
});
</script>
</body>
</html>