-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
305 lines (292 loc) · 7.99 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>reveal.js</title>
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/codezilla.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
</head>
<body>
<div class="reveal">
<div class="slides">
<section data-background="css/theme/assets/openings-image.jpg"></section>
<section>
<section>
<h1>CODEZILLA</h1>
<h2>VueJS for dummies</h2>
<p>8 mei 2018 @ Trechters Utrecht</p>
<p>Huib Geertruy && Remy Parzinski</p>
</section>
<section>
<h2>15-16 februari</h2>
<ul>
<li>Frontend Developer Love Conference</li>
<li>VueJS Love Conference</li>
</ul>
<aside class="notes">
Theater Amsterdam
</aside>
</section>
<section>
<h1>Kennis maken met VueJS</h1>
<h2>Programma</h2>
<ul>
<li>Waarom VueJS?</li>
<li>VueJS vs the rest</li>
<li>Workshop: Todo List</li>
</ul>
</section>
</section>
<section>
<section>
<h2>Waarom VueJS?</h2>
<ul>
<li>Kleine footprint</li>
<li>Snel/Performant</li>
<li>Snel resultaat</li>
<li>Goede documentatie</li>
<li>Lage leercurve</li>
<li>Flexibiliteit</li>
</ul>
<aside class="notes">
<p><strong>Flexibiliteit: </strong>7 verschillende manieren om templates te doen</p>
</aside>
</section>
<section>
<h2>Waarom niet VueJS?</h2>
<ul>
<li>Kleine developer community</li>
<li>Taalbarrière</li>
<li>Flexibiliteit</li>
<li>Onnatuurlijke syntax<span class="fragment"> (eigen mening ;)</span></li>
</ul>
<aside class="notes">
<p>Maker <strong>Evan You</strong> is Chinees-Amerikaans en support vnl. Chinese developers.</p>
<p><strong>Overflexibiliteit</strong> maakt de instap in bestaande projecten moeilijk.</p>
</aside>
</section>
</section>
<!-- Comparison -->
<section>
<section>
<table>
<thead>
<tr>
<th></th>
<th>VueJS</th>
<th>Angular</th>
<th>AngularJS</th>
<th>React</th>
</tr>
</thead>
<tbody>
<tr>
<th>Components</th>
<td>✔</td>
<td>✔</td>
<td>✔ (1.5+)</td>
<td>✔</td>
</tr>
<tr>
<th>Directives</th>
<td>✔</td>
<td>✔</td>
<td>✔</td>
<td>✘</td>
</tr>
<tr>
<th>Virtual DOM</th>
<td>✔</td>
<td>✘</td>
<td>✘</td>
<td>✔</td>
</tr>
<tr>
<th>JSX</th>
<td>✔</td>
<td>✘</td>
<td>✘</td>
<td>✔</td>
</tr>
<tr>
<th>Animations</th>
<td>✔</td>
<td>✘</td>
<td>✘</td>
<td>✘</td>
</tr>
</tbody>
</table>
</section>
<section>
<table>
<thead>
<tr>
<th></th>
<th>VueJS</th>
<th>Angular</th>
<th>AngularJS</th>
<th>React</th>
</tr>
</thead>
<tbody>
<tr>
<th>High Performance</th>
<td>✔</td>
<td>✔</td>
<td>✘</td>
<td>✔</td>
</tr>
<tr>
<th>SSR</th>
<td>✔</td>
<td>✔</td>
<td>✘</td>
<td>✔</td>
</tr>
<tr>
<th>Lifecycle hooks</th>
<td>✔</td>
<td>✔</td>
<td>✘</td>
<td>✔</td>
</tr>
<tr>
<th>CLI tools</th>
<td>✔</td>
<td>✔</td>
<td>✘</td>
<td>✘</td>
</tr>
<tr>
<th>Debugger tools</th>
<td>✔</td>
<td>✘</td>
<td>✘</td>
<td>✘</td>
</tr>
</tbody>
</table>
</section>
<section>
<table>
<thead>
<tr>
<th></th>
<th>VueJS</th>
<th>Angular</th>
<th>AngularJS</th>
<th>React</th>
</tr>
</thead>
<tbody>
<tr>
<th>Flexibility</th>
<td>✔</td>
<td>✔</td>
<td>✘</td>
<td>✔</td>
</tr>
<tr>
<th>Two-way Binding</th>
<td>✔</td>
<td>✔</td>
<td>✔</td>
<td>✘</td>
</tr>
<tr>
<th>TypeScript</th>
<td>✔</td>
<td>✔</td>
<td>✘</td>
<td>✔</td>
</tr>
<tr>
<th>Latest Stable</th>
<td>2.5.16</td>
<td>6.0.0</td>
<td>1.6.10</td>
<td>16.3.2</td>
</tr>
<tr class="fragment">
<th>Footprint (minified)</th>
<td>~84Kb</td>
<td>>=200Kb</td>
<td>~166Kb</td>
<td>~5.5Kb</td>
</tr>
</tbody>
</table>
</section>
</section>
<!-- Workshop -->
<section>
<h1>Workshop</h1>
<section>
<h2>Todo app</h2>
<p>Bouw een Todo app met VueJS</p>
<p class="fragment">Voor de pro's: maak gebruik van VueX, vuePress, Animations, etc.</p>
</section>
<section>
<h2>Wat moet het doen?</h2>
<ul>
<li>Nieuw item toevoegen</li>
<li>Item afvinken/aanpassen</li>
<li>Afgevinkte items verwijderen</li>
<li>Maak gebruik van persistence (bvb. localStorage)</li>
</ul>
</section>
<section>
<h2>Wat heb je nodig?</h2>
<ul>
<li>Declarative rendering<a href="https://css-tricks.com/intro-to-vue-2-components-props-slots/">*</a></li>
<li>Data Binding<a href="https://v1.vuejs.org/guide/syntax.html">*</a></li>
<li>Iterating Data<a href="https://vuejs.org/v2/guide/list.html">*</a></li>
<li>Conditional Rendering<a href="https://vuejs.org/v2/guide/conditional.html">*</a></li>
<li>Event Emission<a href="https://vuejs.org/v2/guide/components-custom-events.html">*</a></li>
<li>Vue CLI<a href="https://github.com/vuejs/vue-cli/blob/dev/docs/README.md">*</a></li>
</ul>
</section>
<section>
<h2>Gettng started</h2>
<ol>
<li><pre><code>npm init</code></pre></li>
<li><pre><code>npm install vue-cli</code></pre></li>
<li><pre><code>./node_modules/.bin/vue init webpack my-todo-app</code></pre></li>
<li><pre><code>cd my-todo-app</code></pre></li>
<li><pre><code>npm start</code></pre></li>
<li>Implementeer evt. een UI library (bootstrap/bulma/etc.)</li>
</ol>
</section>
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
// More info about config & dependencies:
// - https://github.com/hakimel/reveal.js#configuration
// - https://github.com/hakimel/reveal.js#dependencies
Reveal.initialize({
dependencies: [
{ src: 'plugin/markdown/marked.js' },
{ src: 'plugin/markdown/markdown.js' },
{ src: 'plugin/notes/notes.js', async: true },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } }
],
history: true,
});
</script>
</body>
</html>