-
Notifications
You must be signed in to change notification settings - Fork 0
/
presentation-jug.html
330 lines (310 loc) · 9.09 KB
/
presentation-jug.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Clean HTML</title>
<meta name="description" content="A presentation on HTML for Geneva JUG">
<meta name="author" content="Audrey Lièvremont">
<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/beige.css" id="theme">
<!-- For syntax highlighting -->
<link rel="stylesheet" href="css/perso-jug.css">
<link rel="stylesheet" href="js/highlight/styles/docco.css">
<!-- If the query includes 'print-pdf', use the PDF print sheet -->
<script>
document.write( '<link rel="stylesheet" href="css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
</script>
</head>
<body>
<div class="reveal">
<div class="slides">
<section>
<section>
<h1>Clean HTML</h1>
<div>Geneva JUG 28/01/2014</div>
</section>
<section>
<h2>Audrey Lièvremont</h2>
<div>
<img id="avatar" src="images/avatar_octomom.png"/>
<ul>
<li>Développeuse chez AIM</li>
<li>jDuchess</li>
<li>@alievremont</li>
</ul>
</div>
</section>
</section>
<section>
<section>
<h2>
HTML
</h2>
<h2>=</h2>
<h2>
Hypertext Markup Language
</h2>
</section>
<section>
<pre><code class="lien-jug"><a href="jug.html">HTML a été créé pour cela</a></font></code></pre>
</section>
<section>
<h2>Historique</h2>
<div>
<img src="images/Historique_HTML.png">
<br>
</div>
</section>
<section>
<h2>Le HTML ne sert pas à décrire le <em>rendu</em> des pages</h2>
</section>
<section>
<h2>Interopérabilité du <em>HTML</em>
</h2>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
<ul>
<li>Navigateurs desktop
</li>
<li>Navigateurs mobiles
</li>
<li>Lecteurs d'écran
</li>
<li>Navigateurs en mode texte...
</li>
</ul>
</div>
</section>
<section id="mvc-model" data-background-size="1000px" data-background-image="images/ModeleMVC.png">
<h2 id="html-mvc" class="absolute-element fragment">
HTML
</h2>
<h2 id="css-mvc" class="absolute-element fragment">
CSS
</h2>
<h2 id="javascript-mvc" class="absolute-element fragment">
JavaScript
</h2>
</section>
</section>
<section>
<section>
<h2>Pourquoi ne faut-il pas faire de mise en page avec des <em><table> </em>
<br/>?
</h2>
</section>
<section>
<h2>Parce que ce n'est <em>pas fait pour cela</em> !</h2>
</section>
<section>
<img src="images/preacher.gif" alt="attention c'est horrible !"/>
</section>
<section>
<img src="images/table-1.png">
</section>
<section>
<h2 class="fragment" data-fragment-index="0">160 caractères</h2>
<pre><code><table></code><code><tr id="first"><td colspan="3">1</td></tr></code><code><tr id="second"><td colspan="2">2</td><td>3</td></tr></code><code><tr id="third"><td>4</td><td>5</td><td>6</td></tr></code><code></table></code></pre>
<h2 class="fragment" data-fragment-index="1">138 caractères</h2>
<pre><code><div id="bloc1">1</div></code><code><div id="bloc2">2</div></code><code><div id="bloc3">3</div></code><code><div id="bloc4">4</div></code><code><div id="bloc5">5</div></code><code><div id="bloc6">6</div></code></pre>
<h2 class="fragment" data-fragment-index="2">+ 16%</h2>
</section>
<section>
<h2>Ce n'est <em>pas</em> (main)tenable !</h2>
<img src="images/table-2.png">
</section>
</section>
<section>
<section>
<h2>Pour quoi faut-il utiliser les <em><table> </em></h2>
</section>
<section>
<table class="tableau-exemple">
<tr><th>Présentation</th><th>Speaker</th><th>Ça m'intéresse ?</th></tr>
<tr><td>Clean HTML</td><td>Audrey Lièvremont</td><td>Oui!</td></tr>
<tr><td>Les spécificités des tests d’intégration</td><td>Nicolas Fränkel</td><td>Oui!</td></tr>
<tr><td>Centre de développement agile chez Nespresso : retour d’expérience</td><td>Guillaume Vial</td><td>Oui!</td></tr>
<tr><td>Git : un workflow simple et efficace</td><td>Teryk Bellahsene</td><td>Oui!</td></tr>
<tr><td>Comment avantageusement remplacer Excel par R pour traiter vos fichiers de log</td><td>Philippe Kernevez</td><td>Oui!</td></tr>
<tr><td>Reverse Psychologie in Java development</td><td>Nicolas Peru</td><td>Oui!</td></tr>
</table>
</section>
<section>
<pre><code><div class="table">
<div class="ligne titre">
<div class="cellule">
Présentation
</div>
<div class="cellule">
Speaker
</div>
...</code></pre>
<br/>
<pre><code>.table{
display: table;
}
.ligne{
display: table-row;
}
.cellule{
display: table-cell;
}
</code></pre>
</section>
<section>
<pre><code><table>
<tr>
<th>
Présentation
</th>
<th>
Speaker
</th>
...</code></pre>
</section>
</section>
<section>
<section>
<h2>De l'importance de la sémantique</h2>
<pre><code>String attribut1;
String attribut2;
String attribut3;</code></pre>
</section>
<section>
<pre><code><div id="bloc1">
</div>
<div id="bloc2">
</div>
<div id="bloc3">
</div></pre></code>
</section>
<section>
<h2>Nommons nos variables</h2>
<pre><code><div id="titre">
</div>
<div id="sous-titre">
</div>
<div id="contenu">
</div></code></pre>
</section>
<section>
<h2>Typons nos variables</h2>
<pre><code>int floor;
int nbUsers;</code></pre>
<pre><code>Floor floor;
Users nbUsers;</code></pre>
</section>
<section>
<pre><code><div class="titre">
</div>
<div class="sous-titre">
</div>
<div class="contenu">
</div></code></pre>
<pre><code><h1>Clean HTML</h1>
<h2>Pourquoi la sémantique, c'est bien</h2>
<p>...
</p></code></pre>
</section>
<section>
<h2>The problem with <em><div></em></h2>
<pre><code><div id="page">
<div id="conteneur">
<div id="contenu">
...
...
...
</div>
</div>
</div></code></pre>
</section>
<section>
<h2>The problem with <em><div></em></h2>
<pre><code><div id="page">
<div id="conteneur">
<div id="contenu">
...
...
...
</div><!--contenu-->
</div><!--conteneur-->
</div><!--page--></code></pre>
</section>
</section>
<section>
<section>
<h2>Le <em>balisage</em> HTML5</h2>
<pre><code><header></code></pre>
<pre><code><footer></code></pre>
<pre><code><nav></code></pre>
<pre><code><article></code></pre>
<pre><code><template></code></pre>
</section>
<section>
<h2>Not so clean <em>HTML</em></h2>
<pre><code><audio></code></pre>
<pre><code><video></code></pre>
</section>
</section>
<section>
<img src="images/boxer.gif" alt="des questions ?"/>
</section>
<section>
<section id="references">
<h2>Références</h2>
<div>
<ul>
<li>Spécification de HTML living standards : http://www.whatwg.org/specs/web-apps/current-work/multipage/introduction.html#abstract</li>
<li>http://www.cybercodeur.net/weblog/presentations/seybold/everything.html</li>
<li>http://www.html5rocks.com/en/tutorials/webcomponents/template/</li>
</ul>
</div>
</section>
<section id="copyright">
<h2>Copyright</h2>
<ul>
<li>Image sur le modèle MVC par Deltacen</li>
<li>Images de http://www.cybercodeur.net/weblog/presentations/seybold/everything.html (license cc by-nc-sa)</li>
</ul>
</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 || 'linear', // 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: 'js/highlight/highlight.pack.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>