This repository has been archived by the owner on Jan 11, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path00.intro.html
executable file
·714 lines (649 loc) · 21.8 KB
/
00.intro.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
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Web & Mobile Development — 00.intro</title>
<meta name="description" content="Web & Mobile Development — 00.intro">
<meta name="author" content="Bram(us) Van Damme - ikdoeict.be">
<link href='http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/main.css" media="screen">
<link rel="stylesheet" href="css/print.css" media="print">
<link rel="stylesheet" href="lib/zenburn.css">
</head>
<body>
<div id="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<!-- 0 : Title -->
<section>
<section>
<h3 class="inverted">Web & Mobile Development <small>JLW288</small></h3>
<h1>00.intro</h1>
<footer>
<em><a href="http://www.ikdoeict.be/">ikdoeict.be</a> — <a href="mailto:[email protected]">[email protected]</a></em>
</footer>
<script>
// Delicously hacky. Look away.
if( navigator.userAgent.match( /(iPhone|iPad|iPod|Android)/i ) )
document.write( '<p style="color: rgba(0,0,0,0.3); text-shadow: none;">('+'Tap to navigate'+')</p>' );
</script>
</section>
</section>
<!-- 1 : Slidedeck? -->
<section>
<section>
<h2>Slidedeck?!</h2>
<p><img src="assets/00/futurama_kwanza.png" alt="" title="" height="376" width="500" /></p>
<footer><em>(press the down key)</em></footer>
</section>
<section>
<h2>Wait? What? This is it?!</h2>
<ul class="short">
<li>Yes, it's called a slide deck.</li>
<li>Built with HTML/CSS/JS</li>
<li>Powered by <em>(a customized)</em> <a href="http://hakim.se/projects/reveal-js">Reveal.js</a></li>
<li>Main navigation: left/right</li>
<li>Sub-slides: up/down <em>(try it now!)</em></li>
<li>Touch Device users: Swiping supported!</li>
</ul>
</section>
<section>
<h2>Lost?</h2>
<ul class="short">
<li>Compass <em>(Bottom-Right)</em></li>
<li>Slide Number <em>(Bottom-Right)</em></li>
<li>Progress Bar <em>(Bottom)</em></li>
<li>Slide Overview <em>(space)</em></li>
<li>Back to index link <em>(Top-Left)</em></li>
</ul>
</section>
<section>
<h2>Code Examples</h2>
<ul>
<li>This slidedeck is filled with interactive examples</li>
<li>
Syntax Highlighted + Editable
<ul>
<li>Thanks to <a href="http://softwaremaniacs.org/soft/highlight/en/">Highlight.js</a></li>
</ul>
</li>
<li>
Numeric values can be adjusted with the ↑ & ↓ keys
<ul><li>Thanks to <em>(a customized)</em> <a href="https://github.com/LeaVerou/Incrementable/">Incrementable</a></li></ul>
</li>
<li>
Give it a try!
</li>
</ul>
<pre class="bigger"><code contenteditable class="language-css">body {
font-size: 1em;
padding: 20px;
color: lime;
}</code></pre>
</section>
<section>
<h2>Code Examples: CSS</h2>
<ul>
<li><span id="css-demo">Some CSS Snippets are linked to elements ...</span>
<pre class="bigger"><code contenteditable class="language-css" data-subject="#css-demo">color: red;</code></pre>
</li>
<li>... or to the current slide
<pre class="bigger"><code contenteditable class="language-css" data-subject="slide" data-step="10">font-size: 100%;</code></pre>
<ul>
<li>Thanks to <em>(a customized)</em> <a href="https://github.com/LeaVerou/CSSS/tree/master/plugins">CSS Snippets</a></li>
</ul>
</li>
<li>And oh, CSS Snippets don't need vendor prefixes
<pre class="bigger" id="rounded-demo"><code contenteditable class="language-css" data-subject="#rounded-demo">box-shadow: 0px 0px 10px #888;</code></pre>
<ul>
<li>Thanks to <a href="https://github.com/LeaVerou/prefixfree">PrefixFree</a></li>
</ul>
</li>
</ul>
</section>
<section>
<h2>Code Examples: JS</h2>
<ul>
<li>JavaScript blocks can even be run!</li>
<li>Use “Run” button, or hit CTRL+ENTER</li>
</ul>
<pre class="bigger"><code contenteditable class="language-javascript">// A comment
alert('OK GO!');</code></pre>
<ul>
<li class="fragment">Note
<ul>
<li>Most JavaScript examples will use <code>console.log()</code> — <a href="http://getfirebug.com/">Firebug</a> <em>(or the like)</em> required!</li>
</ul>
</li>
</ul>
</section>
<section>
<h2>Code Examples: HTML</h2>
<ul>
<li>HTML blocks can be rendered into an overlay</li>
<li>Use “Show in overlay” button, or hit CTRL+ENTER</li>
<li>Click the dark overlay background to close it</li>
</ul>
<pre class="bigger"><code contenteditable class="language-html"><h2>This is how you mark up an unordered list</h2>
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul></code></pre>
</section>
<section>
<h2>Code Examples: HTML & PHP</h2>
<ul>
<li>
HTML & PHP examples can be linked to a working example.
<ul>
<li>The example can be rendered into the overlay</li>
<li>The example can be linked into a new window/tab</li>
</ul>
</li>
<li>Use “Show in script overlay” button, or hit CTRL+ENTER</li>
<li>Click the dark overlay background to close it</li>
</ul>
<pre class="bigger"><code class="language-php" data-overlay-example="assets/00/examples/helloworld.php"><?php
echo 'Hello world! The time is now ' . date('Y-m-d H:i:s', time());
?>
</code></pre>
<footer>
<span class="fragment" style="display: block;">Note: PHP code examples aren't editable</span>
<span class="fragment">Beware: PHP code examples don't run on GitHub!</span>
</footer>
</section>
<section>
<h2>Printing?</h2>
<ul class="short">
<li>
Don't
<ul>
<li>These are interactive slides</li>
<li>They will be updated regularly</li>
<li>You can't copy paste from paper</li>
</ul>
</li>
<li>If you really want: you can
<ul>
<li>Only supported in Firefox and IE though</li>
</ul>
</li>
</ul>
</section>
</section>
<!-- 2: Web & Mobile Development -->
<section>
<section>
<h2>Web & Mobile Development</h2>
<p><img src="assets/00/futurama_helmet.jpg" alt="" title="" height="330" width="470" /></p>
<q>Back on track ...</q>
</section>
<section>
<h2>Instructors</h2>
<ul class="columns">
<li class="fragment column column-12" style="text-align: center; line-height: 1.2;">
<p><img src="assets/00/lecturer_bramus.jpg" width="300" alt="" title="" /></p>
<p style="font-size: 75%">Bram(us) Van Damme<br /><a href="mailto:[email protected]">[email protected]</a></p>
</li>
<li class="fragment column column-12" style="text-align: center; line-height: 1.2;">
<p><img src="assets/00/lecturer_davy.jpg" width="300" alt="" title="" /></p>
<p style="font-size: 75%">Davy De Winne<br /><a href="mailto:[email protected]">[email protected]</a></p>
</li>
</ul>
</section>
<section>
<h2>Timing</h2>
<ul>
<li class="fragment">
One semester = 13 weeks
<ul>
<li>Note: Week 13 = polyweek</li>
</ul>
</li>
<li class="fragment">
Weekly hands-on labs
<ul>
<li>Theoretical background + practice throughout timeslot</li>
</ul>
</li>
</ul>
</section>
<section>
<h2>Prerequisites (1)</h2>
<ul>
<li>
Webtechnieken1
<div class="columns">
<div class="column column-12">
<ul>
<li class="fragment">
XHTML
<ul>
<li>Correct use of elements</li>
<li>Propper syntax / validation</li>
</ul>
</li>
<li class="fragment">
CSS
<ul>
<li>Text styling & Backgrounds</li>
<li>Box Model</li>
<li>Positioning with float/absolute/relative/fixed</li>
</ul>
</li>
</ul>
</div>
<div class="column column-12">
<ul>
<li class="fragment">
Basic Javascript
<ul>
<li>Variables & Functions</li>
<li>Unobtrusive</li>
<li>Formchecking</li>
</ul>
</li>
<li class="fragment">
Firebug (or the like) — <a href="https://vimeo.com/6313836">video</a>
<ul>
<li>Seriously, without this you can't be a webdeveloper.</li>
</ul>
</li>
</ul>
</div>
</div>
</li>
</ul>
</section>
<section>
<h2>Prerequisites (2)</h2>
<ul>
<li>
Webtechnieken2
<div class="columns">
<div class="column column-12">
<ul>
<li class="fragment">Client-Server
<ul>
<li>GET/POST</li>
</ul>
</li>
<li class="fragment">PHP Basics
<ul>
<li>Syntax</li>
<li>Forms</li>
<li>Files & Folders</li>
<li>Persistency</li>
</ul>
</li>
</ul>
</div>
<div class="column column-12">
<ul>
<li class="fragment">PHP Intermediate
<ul>
<li>Code Organisation and Classes</li>
<li>Templates</li>
<li>Database Connectivity (MySQL)</li>
</ul>
</li>
</ul>
</div>
</div>
</li>
</ul>
</section>
<section>
<h2>Prerequisites (2)</h2>
<ul>
<li>
Webtechnieken3
<div class="columns">
<div class="column column-12">
<ul>
<li class="fragment">PHP Intermediate
<ul>
<li>Code Libraries (Plonk)</li>
<li>Object Oriented Websites</li>
</ul>
</li>
<li class="fragment">Use Cases, Wireframes & Storyboarding
<ul>
<li>Flow!</li>
</ul>
</li>
</ul>
</div>
<div class="column column-12">
<ul>
<li class="fragment">New techniques
<ul>
<li>HTML5</li>
<li>CSS3</li>
<li>New JS
<ul>
<li>Drag and Drop, Geolocation, Notifications, ...</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
</li>
</ul>
</section>
<section>
<h2>Prerequisites (2)</h2>
<ul>
<li>
Gegevensbanken
<ul>
<li class="fragment">Structured Query Language
<ul>
<li>Basic CRUD Actions <em>(INSERT, SELECT, UPDATE, DELETE)</em></li>
<li>Subqueries & Joins <em>(left, right, inner)</em></li>
<li>Calculations <em>(numbers, dates, etc.)</em></li>
<li>Optimization <em>(EXPLAIN ...)</em></li>
</ul>
</li>
<li class="fragment">Basic Administration
<ul>
<li>Import & Export</li>
<li>User Management</li>
</ul>
</li>
</ul>
</li>
</ul>
</section>
<section>
<h2>Course Subjects (1)</h2>
<ul>
<li class="fragment">Advanced Javascript</li>
<li class="fragment">Javascript Libraries and jQuery Basics</li>
<li class="fragment">jQuery Intermediate
<ul>
<li class="fragment">jQuery Plugins & Performance/Optimization</li>
<li class="fragment">Ajax & JSON</li>
</ul>
</li>
<li class="fragment">RESTful APIs</li>
<li class="fragment">Responsive Webdesign</li>
<li class="fragment">Mobile Apps</li>
</ul>
</section>
<section>
<h2>Course Subjects (2)</h2>
<blockquote>What about mobile apps?</blockquote>
<ul class="short">
<li class="fragment">Alas, no time this year</li>
<li class="fragment">But things will change next year
<ul>
<li>Exit Javascript
<ul>
<li>Moves forward to Webscripting1 & Webscripting2 <em>(*)</em></li>
</ul>
</li>
<li>Enter Mobile Development
<ul>
<li>iOS, Android, etc.</li>
</ul>
</li>
</ul>
</li>
</ul>
<footer class="fragment"><small>(*) Other name changes: Webtechnieken2 → Webscripting1; Webtechnieken3 → Webscripting2</small></footer>
</section>
<section>
<h2>Technology</h2>
<ul>
<li class="fragment">
Technology
<ul>
<li>Scripting Language: PHP 5.4</li>
<li>Databaseserver: MySQL and SQLite3</li>
<li>Webserver: Apache or <a href="http://php.net/manual/en/features.commandline.webserver.php">PHP 5.4's built-in server</a></li>
</ul>
</li>
<li class="fragment">
<a href="http://www.wampserver.com/en/">Wampserver</a> (Win) or <a href="http://www.mamp.info/en/">MAMP (Pro)</a> (OS X) recommended
<ul>
<li class="fragment">Follow <a href="http://helpdesk.ikdoeict.be/index.php?/Knowledgebase/Article/View/11/4/howto-installatieconfiguratie-van-software-wamplamp-stack">these instructions</a> to configure your install</li>
<li class="fragment">Be sure to add the PHP binary to your system's <code>PATH</code>
<ul>
<li>Windows: Add <code>C:\wamp\bin\php\<em>version</em>\</code> to <code>PATH</code> via Computer Settings</li>
<li>OS X: Paste this on the Terminal: <code>echo 'export PATH=/Applications/MAMP/bin/php/php<em>version</em>/bin/:$PATH' >> ~/.bash_profile</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</section>
<section>
<h2>Development</h2>
<ul>
<li class="fragment">
A PHP specific IDE
<ul>
<li>Netbeans</li>
<li>Aptana Studio</li>
<li>PHPStorm</li>
<li>Zend Studio</li>
</ul>
</li>
<li class="fragment">
Your favorite text editor with these features (<a href="http://www.codelord.net/2010/02/16/stop-coding-in-the-middle-ages/ ">why?</a>)
<ul>
<li>Syntax Highlighting</li>
<li>Autocompletion</li>
<li>PHPDoc Integration</li>
<li>On-the-fly syntax check</li>
</ul>
</li>
</ul>
</section>
<section>
<h2>Course Materials, Assignments & Announcements</h2>
<ul>
<li class="fragment">
Everything distributed via Toledo
<ul>
<li>Check it regularly!</li>
</ul>
</li>
<li class="fragment">
Course Materials
<ul>
<li>Available on <a href="http://bramus.github.com/ria-course-materials/">GitHub</a></li>
<li>Feel free to fork and commit improvements/additions</li>
</ul>
</li>
<li class="fragment">
Assignments
<ul>
<li>Several tasks grouped into one big assignment</li>
<li>To be completed by the end of the week (Sunday, 8PM)</li>
</ul>
</li>
</ul>
</section>
<section>
<h2>Cloning the Course Materials</h2>
<ul>
<li class="fragment">
<a href="http://git-scm.com/downloads">Download</a> and install Git
<ul>
<li>Choose <em>“Run Git from the Windows Command Prompt”</em> during install
</ul>
</li>
<li class="fragment">
Clone the repository
<pre class="bigger"><code>cd c:\wamp\www
git clone https://github.com/bramus/ria-course-materials.git</code></pre>
<ul><li>Visit your copy at <a href="http://localhost/ria-course-materials">http://localhost/ria-course-materials</a></li></ul>
</li>
<li class="fragment">
Update the repository regularly to get the latest version
<pre class="bigger"><code>cd c:\wamp\www\ria-course-materials
git reset --hard
git pull</code></pre>
</li>
</ul>
<footer>Note: This is an example on Windows using Wampserver</footer>
</section>
<section>
<h2>Evaluation</h2>
<ul>
<li class="fragment">Permanent: 30%
<ul>
<li>Progress, Accuracy, Attitude, Programming Style, ...</li>
</ul>
</li>
<li class="fragment">Project #1: 30%
<ul>
<li>Deadline some time before the Easter holiday</li>
</ul>
</li>
<li class="fragment">Project #2: 40%
<ul>
<li>End Term Project</li>
<li>Free to choose what to do <em>(proposal must get approved by us)</em></li>
<li>Deadline at the end of the semester</li>
<li>Presentation/Demonstration/Evaluation at the end of the semester</li>
<li>More details later ... :)</li>
</ul>
</li>
</ul>
</section>
</section>
<!-- 6 : Help! -->
<section>
<section>
<h2>When stuck ...</h2>
<p><img src="assets/00/futurama_bender_turtle.gif" alt="" title="" height="350" width="470" /></p>
</section>
<section>
<h2>Help yourself ...</h2>
<ul>
<li class="fragment">
Breathe in, breathe out, and THINK!
<ul>
<li>
Error visible? Read it!
<ul>
<li>PHP will tell you what went wrong in which file and on what line</li>
</ul>
</li>
<li>
Correct URL? Correct variable? Does the variable contain anything?
<ul>
<li>Debugsession</li>
<li>use <code>Plonk::dump();</code> (PHP) or <code>console.log()</code> (JS)</li>
</ul>
</li>
<li>
TIP: <a href="http://en.wikipedia.org/wiki/Rubber_duck_debugging">Rubber Duck Debugging</a>
</li>
</ul>
</li>
<li class="fragment">
Use the built-in help
<ul>
<li>Syntax Highlighting</li>
<li>Function autocompletion</li>
<li>Function documentation (PHPDoc)</li>
</ul>
</li>
</ul>
</section>
<section>
<h2>... or get helped</h2>
<ul>
<li>
Keep the <a href="http://blogs.perl.org/users/chisel/2011/12/the-ten-minute-thinking-rule.html">10 minute thinking rule</a> in mind!
<blockquote style="width: 90%; text-align: justify;">You may only interrupt another co-worker to ask a question if you have sat on your own for ten minutes and tried to figure out the solution yourself. When asked, you must be able to demonstrate that you’ve made some effort.</blockquote>
<ul>
<li class="fragment">
Check the slides and code examples
</li>
<li class="fragment">
Check <a href="http://php.net/addslashes">http://php.net/<em>nameofthefunction</em></a> or <a href="http://api.jquery.com">http://api.jquery.com</a>
</li>
<li class="fragment">
Check Google <em>(#lmgtfy)</em>
</li>
<li class="fragment">
Check ICT-Blue (Forum/Wiki)
</li>
</ul>
</li>
<li class="fragment">
Ask a colleague or post a question on ICT-Blue
<ul>
<li>Mail a link to the topic on ICT-Blue to your instructor</li>
</ul>
</li>
</ul>
</section>
</section>
<!-- 7: Domestic Conventions -->
<section>
<section>
<h2>Domestic Conventions</h2>
<p><img src="assets/00/futurama_preacherbot.png" alt="" title="" height="352" width="470" /></p>
</section>
<section>
<h2>Domestic Conventions<br /><small>(Huishoudelijk Reglement)</small></h2>
<ul>
<li class="fragment">Do apply</li>
<li class="fragment">Can be found on Toledo</li>
<li class="fragment">Rules/Conventions about
<ul>
<li>Plagiarism</li>
<li>Deadlines and Uploads</li>
<li>Absences</li>
<li>Code Style and Code Layout</li>
</ul>
</li>
</ul>
</section>
</section>
<!-- 8: The END -->
<section>
<section>
<h2>Questions?</h2>
<footer>
<em><a href="http://www.ikdoeict.be/">ikdoeict.be</a> — <a href="mailto:[email protected]">[email protected]</a></em>
</footer>
</section>
</section>
</div>
<!-- The navigational controls UI -->
<aside class="controls">
<a class="left" href="#">◄</a>
<a class="right" href="#">►</a>
<a class="up" href="#">▲</a>
<a class="down" href="#">▼</a>
<span id="revealIndex">/</span>
</aside>
<!-- Index Link -->
<aside class="back">
<a href="index.html">← Back to index</a>
</aside>
<!-- ikdoeict.be Link -->
<a href="http://www.ikdoeict.be/" title="ikdoeict.be" id="ikdoeict">ikdoeict.be</a>
<!-- Displays presentation progress, max value changes via JS to reflect # of slides -->
<div class="progress"><span></span></div>
</div>
<script src="js/reveal.js"></script>
<script src="lib/highlight.js"></script>
<script src="lib/prefixfree.js"></script>
<script src="lib/css-snippets.js"></script>
<script src="lib/css-edit.js"></script>
<script src="lib/incrementable.js"></script>
<script src="js/main.js"></script>
</body>
</html>