forked from csev/wa4e
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lessons.json
1784 lines (1783 loc) · 56.5 KB
/
lessons.json
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
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"title": "Web Applications for Everybody (WA4E)",
"description" : "Hello and welcome to my site where you can work through these modules and learn develop PHP-based database-backed web applications.",
"count": true,
"required_modules": [
"https://github.com/tsugitools/gift",
"https://github.com/tsugitools/youtube",
"https://github.com/tsugitools/peer-grade"
],
"badges": [
{
"title" : "Enrolled in Web Applications for Everybody (WA4E)",
"image" : "00_hello_world.png",
"threshold" : "0.0",
"assignments" : [
]
},
{
"title" : "Structured Query Language / MySQL",
"image" : "01_sql.png",
"threshold" : "0.6",
"assignments" : [
"install",
"mysql_01_single",
"mysql_02_tracks",
"mysql_03_many_peer"
]
},
{
"title" : "Building Database Backed Web Sites with PHP",
"image" : "02_php.png",
"threshold" : "1.0",
"assignments" : [
"php_01_rrc",
"php_02_hash",
"php_03_guess",
"php_04_rps",
"php_05_autosdb"
]
},
{
"title" : "Building a CRUD Application with PHP",
"image" : "02_crud.png",
"threshold" : "1.0",
"assignments" : [
"php_06_crud"
]
},
{
"title" : "JavaScript",
"image" : "03_javascript.png",
"threshold" : "1.0",
"assignments" : [
"php_07_profile"
]
},
{
"title" : "JQuery, and JSON",
"image" : "04_jquery.png",
"threshold" : "1.0",
"assignments" : [
"php_07_profile",
"php_08_position",
"php_09_education"
]
},
{
"title" : "Introductory Handlebars",
"threshold" : "1.0",
"image" : "04_handlebars.png",
"assignments" : [
"php_10_handlebars_peer"
]
},
{
"title" : "PHP-Intro Community Master",
"image" : "05_community.png",
"threshold" : "0.8",
"assignments" : [
"php_01_php_peer",
"php_04_rps_peer",
"php_05_autosdb_peer",
"php_05_autosess",
"php_05_autosess_peer",
"php_06_crud_peer",
"php_07_profile_peer",
"php_08_position_peer",
"php_09_peer"
]
},
{
"title" : "Web Applications with PHP, SQL, JavaScript, and JQuery",
"image" : "badge_wa4e.png",
"threshold" : "0.6",
"assignments" : [
"html_01",
"mysql_01_single",
"mysql_02_tracks",
"mysql_03_many_peer",
"php_01_rrc",
"php_02_hash",
"php_03_guess",
"php_04_rps",
"php_05_autosdb",
"php_06_crud",
"php_07_profile",
"php_08_position",
"php_09_education"
]
}
],
"discussions" : [
{
"title" : "Welcome to WA4E",
"launch" : "mod/tdiscus/",
"resource_link_id": "discussion_welcome"
}
],
"modules": [
{
"title": "Introduction to Dynamic Web Content",
"anchor": "rrc",
"icon" : "fa-clone",
"description": "We look at the basic structure of a web application and how a web browser interacts with a web server. We explore the Request-Response Cycle that is the basis of the Hypertext Transfer Protocol (HTTP).",
"slides": "lectures/Web-01-HTTP.ppt",
"chapters" : "1, 3, 4",
"videos" : [
{
"title" : "Web Applications and the Request/Response Cycle",
"youtube" : "6Vyn7qhV2xs"
},
{
"title" : "Understanding Browser Developer Mode",
"youtube" : "kL3hYPVnhjQ"
}
],
"references" : [
{
"title" : "Hypertext Transfer Protocol",
"href" : "https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol"
},
{
"title" : "What Happens When You Click a Link? - Computerphile",
"href" : "https://www.youtube.com/watch?v=keo0dglCj7I"
}
],
"lti" : [
{
"title" : "Quiz: Request-Response Cycle",
"launch" : "mod/gift/?quiz=01-Request-Response.txt",
"resource_link_id" : "php_01_rrc_quiz"
},
{
"title" : "Autograder: Request-Response Cycle",
"launch" : "tools/autograder/",
"resource_link_id" : "php_01_rrc",
"custom" : [
{
"key": "exercise",
"value": "http_headers.php"
}
]
}
]
},
{
"title": "HyperText Markup Language (HTML)",
"anchor": "html",
"icon" : "fa-html5",
"description": "We briefly cover the basics of the HyperText Markup Language (HTML) that is the markup for web pages.",
"slides": "lectures/Web-02-HTML.ppt",
"chapters" : "7-14",
"videos" : [
{
"title" : "HTML - HyperText Markup Language (Part 1)",
"youtube" : "ZV9SG8unDYc"
},
{
"title" : "HTML - HyperText Markup Language (Part 2)",
"youtube" : "tibwt3mVINM"
},
{
"title" : "HTML - Sample Code Walkthrough",
"youtube" : "b99aHsUi7Zk"
}
],
"references" : [
{
"title" : "HTML Sample Code (Browse)",
"href" : "{apphome}/code/html/index.htm"
},
{
"title" : "HTML Sample Code (Download)",
"href" : "{apphome}/code/html.zip"
}
],
"assignment" : "{apphome}/assn/html/",
"lti" : [
{
"title" : "Quiz: HTML",
"launch" : "mod/gift/?quiz=00-HTML.txt",
"resource_link_id" : "php_01_html_quiz"
},
{
"title" : "Autograder: HyperText Markup Language (HTML)",
"launch" : "tools/web-autograde/",
"resource_link_id" : "html_01",
"custom" : [
{
"key": "exercise",
"value": "a01.php"
}
]
}
]
},
{
"title": "Cascading Style Sheets (CSS)",
"anchor": "css",
"icon" : "fa-css3",
"description": "We briefly cover the basics of cascading Style Sheets (CSS) that allow us to style the markup for web pages.",
"slides": "lectures/Web-03-CSS.ppt",
"chapters" : "19-22",
"videos" : [
{
"title" : "CSS - Cascading Style Sheets - (Part 1)",
"youtube" : "v6lfSzF8MuI"
},
{
"title" : "CSS - Cascading Style Sheets - (Part 2)",
"youtube" : "hEY4V_OWZAU"
},
{
"title" : "CSS - Cascading Style Sheets - (Part 3)",
"youtube" : "aA587wqx0B0"
},
{
"title" : "CSS - Sample Code Walkthrough (Part 1)",
"youtube" : "SLiS4oQahuk"
},
{
"title" : "CSS - Sample Code Walkthrough (Part 2)",
"youtube" : "pzw7JnPCGdo"
}
],
"assignment" : "{apphome}/assn/css/",
"references" : [
{
"title" : "CSS Sample Code (Browse)",
"href" : "{apphome}/code/css/index.htm"
},
{
"title" : "CSS Sample Code (Download)",
"href" : "{apphome}/code/css.zip"
},
{
"title" : "Web Developer Plugin by Chris Pedrick",
"href" : "https://chrispederick.com/"
},
{
"title" : "CSS Cheat Sheet by Leslie Frank",
"href" : "http://www.lesliefranke.com/files/reference/csscheatsheet.html"
}
],
"lti" : [
{
"title" : "Quiz: CSS",
"launch" : "mod/gift/?quiz=00-CSS.txt",
"resource_link_id" : "php_01_css_quiz"
},
{
"title": "Peer Graded: Cascading Style Sheets (CSS)",
"launch" : "mod/peer-grade/",
"resource_link_id" : "css",
"custom" : [
{
"key": "config",
"json":
{
"title": "Cascading Style Sheets",
"description": "In this assignment you will develop a Cascading Style Sheet (CSS) to control, the look, feel, and layout of some provide HTML content.",
"grading": "This is a relatively simple assignment. Don't take off points for little mistakes. If they seem to have done the assignment give them full credit. Feel free to make suggestions if there are small mistakes. Please keep your comments positive and useful. If you do not take grading seriously, the instructors may delete your response and you will lose points.",
"assignment" : "{apphome}/assn/css/",
"parts": [
{
"title": "Image (JPG or PNG) of your index.htm with the styling applied",
"type": "image"
},
{
"title": "The source code of your blocks.css file",
"type": "image"
},
{
"title": "Image (JPG or PNG) of your blocks.css passing the W3 CSS validator",
"type": "image"
},
{
"title": "Image (JPG or PNG) of your browser viewing www.brainyquote.com with all styles turned off",
"type": "image"
},
{
"title": "Image (JPG or PNG) of your browser at www.brainyquote.com inspecting the navigation element to find its background color",
"type": "image"
}
],
"totalpoints": 10,
"instructorpoints": 0,
"peerpoints": 4,
"assesspoints":3,
"minassess": 2,
"maxassess": 6,
"flag": true,
"resubmit":"on"
}
}
]
}
]
},
{
"title": "Installing PHP and SQL",
"anchor": "install",
"icon" : "fa-clone",
"description": "The first task is to work through the installation steps including installing a text editor, installing MAMP or XAMPP (or equivalent), creating a MySql Database, and writing a PHP program.",
"chapters" : "3",
"assignment" : "{apphome}/assn/install/",
"videos" : [
{
"title": "Installing MAMP on Macintosh for PHP/MySQL",
"youtube": "CwwF801i5_4"
},
{
"title": "Installing MAMP on Windows-10 for PHP/MySQL",
"youtube": "0P6DEUJaVTc"
},
{
"title": "Installing XAMPP on Windows for PHP/MySQL",
"youtube": "X0_pthMQPMM"
}
],
"references" : [
{
"title" : "Installation Handout",
"href" : "install.php"
},
{
"title": "Bonus: Brian Behlendorf on the Apache Software Foundation",
"href": "https://www.youtube.com/watch?v=6kRMlfIBMCY"
}
],
"lti" : {
"title": "Peer Graded: Installation Screen Shots",
"launch" : "mod/peer-grade/",
"resource_link_id" : "install",
"custom" : [
{
"key": "config",
"json":
{
"title":"Peer Graded: Installing PHP/MySQL",
"description":"This assignment is designed to show that you have successfully installed a PHP/MySQL environment.",
"grading":"This is a relatively simple assignment. Don't take off points for little mistakes. If they seem to have done the assignment give them full credit. Feel free to make suggestions if there are small mistakes. Please keep your comments positive and useful. If you do not take grading seriously, the instructors may delete your response and you will lose points.",
"assignment":"{apphome}/assn/install/",
"parts":[
{
"title":"Image (JPG or PNG) of your php.ini display_errors setting (Maximium 1MB per file)",
"type":"image"
},
{
"title":"Image (JPG or PNG) of PHPMyAdmin with the results of your SELECT statement (Maximium 1MB per file)",
"type":"image"
}
],
"totalpoints": 10,
"instructorpoints": 0,
"peerpoints": 4,
"assesspoints":3,
"minassess": 2,
"maxassess": 6,
"flag": true,
"resubmit":"on"
}
}
]
}
},
{
"title": "Introduction to PHP",
"anchor": "php-intro",
"icon" : "fa-bell",
"description": "We begin learning PHP.",
"slides": "lectures/PHP-01-Overview.ppt",
"chapters" : "23, 24, 25, 26, 27, 28, 31",
"videos" : [
{
"title" : "PHP Language Overview - Part 1",
"youtube" : "srw_5veGPyg"
},
{
"title" : "Bonus: Rasmus Lerdorf Interview on Creating PHP",
"youtube" : "YIGRXEzjE6c"
},
{
"title" : "PHP Language - Variables and Constants - Part 2",
"youtube" : "uL6WzC7chE0"
},
{
"title" : "PHP Language - Expressions - Part 3",
"youtube" : "r6UdI22AOUM"
},
{
"title" : "PHP Language - Control Structures - Part 4",
"youtube" : "JrssSWJ5JzQ"
}
],
"assignment" : "{apphome}/assn/php/",
"lti" : [
{
"title" : "Quiz: PHP",
"launch" : "mod/gift/?quiz=02-PHP.txt",
"resource_link_id" : "php_02_php_quiz"
},
{
"title" : "Peer graded: Getting Started with PHP",
"launch" : "mod/peer-grade/",
"resource_link_id" : "php_01_php_peer",
"custom" : [
{
"key": "config",
"json" :
{
"title": "Getting Started with PHP",
"description": "Your application will be a single index.php file with some elements in HTML and some elements in PHP. This also verifies that you can do basic HTML and know how to use the 'pre' tag as well as understand how to switch between PHP and HTML when writing a PHP script. Make sure to save your screen shots JPG or PNG files and keep them less than 1MB. You must include the URL bar in all of your screen shots and the software must be running in your PHP server (i.e. file:// urls will not be accepted)",
"grading": "Please do your reviews of the other students submissions carefully. The actual points you award are less important than useful comments about what might be wrong and need fixing. You cannot re-submit your assignment unless the instructor allows you to resubmit.",
"assignment" : "{apphome}/assn/php/",
"solution" : "{apphome}/solutions/php/",
"parts": [
{
"title": "Image of your application showing the URL bar and the rest of the output.",
"type": "image"
},
{
"title": "Image of your application showing the URL bar and output of fail.php",
"type": "image"
},
{
"title": "Image of your application showing the URL bar output of check.php",
"type": "image"
},
{
"title": "Source code of your index.php",
"type": "code",
"language": "php"
}
],
"totalpoints": 10,
"instructorpoints": 0,
"peerpoints": 4,
"assesspoints":3,
"minassess": 2,
"maxassess": 6,
"flag": true,
"resubmit":"on"
}
}
]
}
]
},
{
"title": "PHP Arrays",
"anchor": "php-arrays",
"icon" : "fa-bell",
"description": "We look at unique aspects of arrays in the PHP language.",
"slides": "lectures/PHP-02-Arrays.ppt",
"chapters" : "27, 28, 31",
"videos" : [
{
"title" : "PHP Arrays - Part 1",
"youtube" : "bfXmkxSzdms"
},
{
"title" : "PHP Arrays - Part 2",
"youtube" : "1XkdPLvtJ3Y"
}
],
"references" :
[
{
"title" : "Sample Array Code",
"href" : "code/arrays/"
},
{
"title" : "Sample Array Code (Download)",
"href" : "code/arrays.zip"
},
{
"title" : "Using NGROK and the Autograder (Macintosh)",
"href" : "md/ngrok_mac.md"
},
{
"title" : "Using NGROK and the Autograder (Windows-10)",
"href" : "md/ngrok_win.md",
"oldhref" : "https://www.youtube.com/watch?v=L4M58YLwXVI"
}
],
"assignment" : "{apphome}/assn/guess/",
"solution" : "{apphome}/code/arrays/guess.php?guess=12",
"lti" : [
{
"title" : "Quiz: PHP Arrays",
"launch" : "mod/gift/?quiz=02-Arrays.txt",
"resource_link_id" : "php_02_arrays_quiz"
},
{
"title" : "Auto-grader: Guessing Game",
"launch" : "tools/autograder/",
"resource_link_id" : "php_03_guess",
"custom" : [
{
"key": "exercise",
"value": "guess.php"
}
]
}
]
},
{
"title": "PHP Functions",
"anchor": "php-fuctions",
"icon" : "fa-bell",
"description": "We look at functions in PHP language.",
"slides": "lectures/PHP-03-Functions.ppt",
"chapters" : "32",
"videos" :
[
{
"title" : "PHP Functions - Part 1",
"youtube" : "qgVaMIXF5EQ"
},
{
"title" : "PHP Functions - Part 2 - Scope and Modularity",
"youtube" : "1Msp1AGz_NU"
}
],
"references" :
[
{
"title" : "Bruce Schnier: Building Cryptographic Systems",
"href" : "https://www.youtube.com/watch?v=opT6pIfyGUs"
}
],
"assignment" : "{apphome}/assn/crack/",
"solution" : "{apphome}/solutions/crack/",
"lti" : [
{
"title" : "Quiz: Functions",
"launch" : "mod/gift/?quiz=03-Functions.txt",
"resource_link_id" : "php_03_func_quiz"
},
{
"title" : "Peer Graded: Reversing an MD5 Hash",
"launch" : "mod/peer-grade/",
"resource_link_id" : "php_02_hash",
"custom" : [
{
"key": "config",
"json" :
{
"title":"Reversing an MD5 hash (password cracking)",
"description":"In this assignment we build code to reverse an MD5 hash using a brute force technique where we simply 'forward hash' all possible combinations of characters in strings. This would be similar to a situation where an e-commerce site stored hashed passwords in its database and we somehow have gotten our hands on the database contents and we want to take the hashed password and determine the actual plaintext passwords.",
"grading":"Please review carefully. The actual points are less important and useful comments about what might be wrong and need fixing. You cannot re-submit your assignment unless the instructor allows you to resubmit.",
"assignment":"{apphome}/assn/crack/",
"solution":"{apphome}/solutions/crack/",
"parts":[
{
"title":"A screen shot of one of the MD5's from the list from the specification that you can successfully crack. Include the URL of your page in the screen shot so we can see your GET parameter.",
"type":"image"
},
{
"title":"One of the MD5's in the list from the specification does not crack. Figure out which MD5 does not crack and show your application not finding the PIN for the MD5. Include the URL of your page in the screen shot so we can see your GET parameter.",
"type":"image"
},
{
"title":"Source code of your index.php",
"type":"code",
"language":"php"
}
],
"totalpoints": 10,
"instructorpoints": 0,
"peerpoints": 4,
"assesspoints":3,
"minassess": 2,
"maxassess": 6,
"flag": true,
"resubmit":"on"
}
}
]
}
]
},
{
"title": "PHP Forms",
"anchor": "php-forms",
"icon" : "fa-bell",
"description": "We look at how HTML forms are created and processed in the PHP language.",
"slides": "lectures/PHP-04-Forms.ppt",
"chapters" : "14, 27",
"videos" : [
{
"title" : "PHP Forms (Part 1)",
"youtube" : "zVd5CS40lrU"
},
{
"title" : "PHP Forms - GET and POST (Part 2)",
"youtube" : "V1nC77E2QHQ"
},
{
"title" : "PHP Forms - Input Types (Part 3)",
"youtube" : "yEh5IrpEesc"
},
{
"title" : "PHP Forms - HTML Injection and Validation (Part 4) ",
"youtube" : "C5blJ7GtwYY"
},
{
"title" : "PHP Forms - MVC - (Part 5) ",
"youtube" : "VcdnOAFJ92w"
},
{
"title" : "PHP Forms Code Walkthrough - (Part 1) ",
"youtube" : "x6LkjVhpr2Y"
},
{
"title" : "PHP Forms Code Walkthrough - (Part 2) ",
"youtube" : "nft7bs4oYCw"
},
{
"title" : "PHP Forms Code Walkthrough - (Part 3) ",
"youtube" : "NKsvNYYwHPg"
}
],
"references" : [
{
"title" : "Sample Forms Code (Download)",
"href" : "code/forms.zip"
},
{
"title" : "Sample Forms Code",
"href" : "code/forms/"
}
],
"assignment" : "{apphome}/assn/rps/",
"solution" : "{apphome}/solutions/rps",
"lti" : [
{
"title" : "Quiz: Forms",
"launch" : "mod/gift/?quiz=03-Forms.txt",
"resource_link_id" : "php_03_forms_quiz"
},
{
"title" : "Autograder: Rock Paper Scissors",
"launch" : "tools/autograder/",
"resource_link_id" : "php_04_rps",
"custom" : [
{
"key": "exercise",
"value": "rps.php"
}
]
},
{
"title" : "Peer grader: Rock Paper Scissors",
"launch" : "mod/peer-grade/",
"resource_link_id" : "php_04_rps_peer",
"custom" : [
{
"key": "config",
"json" :
{
"title":"Login and Rock Paper Scissors",
"description":"In this assignment we will a two page web application to play rock, paper, scissors (https://en.wikipedia.org/wiki/Rock-paper-scissors). We will only allow logged in users to play the game.",
"grading":"Please review carefully. The most important aspect of peer-grading is useful comments about what might be wrong and need fixing. You cannot re-submit your assignment unless the instructor allows you to resubmit.",
"assignment":"{apphome}/assn/rps/",
"solution":"{apphome}/solutions/rps/",
"parts":[
{
"title":"A screen shot (with URL) of your login.php rejecting an incorrect password",
"type":"image"
},
{
"title":"A screen shot (with URL) of your game.php correctly showing the 'Name parameter missing' error",
"type":"image"
},
{
"title":"A screen shot (with URL) of your game.php doing a normal play with the computer making a choice other than Rock",
"type":"image"
},
{
"title":"A screen shot (with URL) of your game.php doing a correct test run",
"type":"image"
},
{
"title":"Source code of login.php",
"type":"code",
"language":"php"
},
{
"title":"Source code of game.php",
"type":"code",
"language":"php"
}
],
"totalpoints": 10,
"instructorpoints": 0,
"peerpoints": 4,
"assesspoints":3,
"minassess": 2,
"maxassess": 6,
"flag": true,
"resubmit":"on"
}
}
]
}
]
},
{
"title": "Introduction to Structured Query Language (SQL)",
"anchor": "sql-intro",
"icon" : "fa-database",
"description": "We learn about single table queries and the basic syntax of the SQL language.",
"slides": "lectures/SQL-01-MySQL.ppt",
"chapters" : "37, 39, 41",
"handout": "lectures/SQL-01-MySQL-Handout.doc",
"videos" : [
{
"title" : "Single Table SQL - Part 1",
"youtube" : "FXtT2RRmrdo"
},
{
"title" : "Single Table SQL - Part 2",
"youtube" : "9608FG9_XWM"
}
],
"references" : [
{
"title" : "SQL Handout",
"href" : "lectures/SQL-01-MySQL-Handout.txt"
},
{
"title": "Bonus: Elizabeth Fong - Creating the SQL Database Standards",
"href" : "https://www.youtube.com/watch?v=rLUm3vst87"
}
],
"lti" : [
{
"title" : "Quiz: Queries",
"launch" : "mod/gift/?quiz=06-SQL-Queries.txt",
"resource_link_id" : "php_06_sqls_quiz"
},
{
"title" : "Autograder: Single-table SQL (Users)",
"launch" : "tools/sql/",
"resource_link_id" : "mysql_01_single",
"custom" : [
{
"key": "exercise",
"value": "single_mysql.php"
}
]
}
]
},
{
"title": "Database Design",
"anchor": "sql-design",
"icon" : "fa-database",
"description": "Covering database design with multiple tables, foreign keys, and the JOIN operation..",
"slides": "lectures/SQL-02-MySQL-Design.ppt",
"chapters" : "38, 40, 42",
"references" :
{
"title" : "Multi-Table SQL Handout",
"href" : "lectures/SQL-02-MySQL-Design-Handout.txt"
},
"videos" : [
{
"title" : "Data Modeling - Building a Data Model (Part 1)",
"youtube" : "qFJa1bB9wrs"
},
{
"title" : "Data Modeling - Representing Relationships (Part 2)",
"youtube" : "I17pyb1e9YA"
},
{
"title" : "Data Modeling - Relationships in SQL (Part 3)",
"youtube" : "CBVZGsmd5qw"
},
{
"title" : "Data Modeling - Using Join (Part 4)",
"youtube" : "RxqgQPkqoUE"
},
{
"title" : "Data Modeling - Many-To-Many (Part 5)",
"youtube" : "Ymlu1tK9qK0"
}
],
"assignment" : "{apphome}/assn/sql-tracks",
"lti" : [
{
"title" : "Quiz: Database Models",
"launch" : "mod/gift/?quiz=07-Database-Models.txt",
"resource_link_id" : "php_07_models_quiz"
},
{
"title" : "Peer Grader: Multi-Table Databases (Tracks)",
"launch" : "mod/peer-grade/",
"resource_link_id" : "mysql_03_many_peer",
"custom" :
[
{
"key" : "config",
"json" :
{
"title":"Building a Multi-Table Database With Relationships",
"description":"In this assignment, you will build a copy of the Music database covered in lecture. You will populate your database with tracks, artists and albums that are different from the ones used in class. You must include three artists, five albums, and 20 tracks in your data. Your tables need to be normalized as described in lecture.",
"grading":"This is a relatively simple assignment. Don't take off points for little mistakes. If they seem to have done the assignment give them full credit. Feel free to make suggestions if there are small mistakes. Please keep your comments positive and useful. If you do not take grading seriously, the instructors may delete your response and you will lose points.",
"assignment":"{apphome}/assn/sql-tracks/",
"parts":[
{
"title":"Screen shot (JPG or PNG) of data in the Track table",
"type":"image"
},
{
"title":"Screen shot (JPG or PNG) of all the data joined up sorted in ascending order by the album title",
"type":"image"
},
{
"title":"Screen shot (JPG or PNG) of all of the genres for a particular artist. Hint - use JOIN, DISTINCT and WHERE",
"type":"image"
}
],
"totalpoints": 10,
"instructorpoints": 0,
"peerpoints": 4,
"assesspoints":3,
"minassess": 2,
"maxassess": 6,
"flag": true,
"resubmit":"on"
}
}
]
},
{
"title" : "Autograder: Many-to-Many Databases",
"launch" : "tools/sql/",
"resource_link_id" : "mysql_02_tracks",
"custom" : [
{
"key": "exercise",
"value": "many_many_mysql.php"
}
]
}
]
},
{
"title": "PHP Objects",
"anchor": "php-objects",
"icon" : "fa-bell",
"description": "We look at the object oriented pattern in the PHP language.",
"slides": "lectures/PHP-05-Objects.ppt",
"chapters" : "33",
"videos" :
[
{
"title" : "PHP Objects - Part 1",
"youtube" : "9-Ch77JBKFQ"
},
{
"title" : "PHP Objects - Defintition - Part 2",
"youtube" : "C5uu-8fakN0"
},
{
"title" : "PHP Objects - Life Cycle - Part 3",
"youtube" : "kWYuUfyR5rc"
},
{
"title" : "PHP Objects - Inheritance - Part 4",
"youtube" : "zU6uil50Mkg"
}
],
"references" :
{
"title" : "Sample code",
"href" : "code/objects.zip"
},
"lti" : [
{
"title" : "Quiz: PHP Objects",
"launch" : "mod/gift/?quiz=08-PHP-Objects.txt",
"resource_link_id" : "php_08_objects_quiz"
}
]
},
{
"title": "PHP and MySQL",
"anchor": "php-mysql",
"icon" : "fa-bell",
"description": "We look at how we connect to a MySQL using the Portable Data Objects (PDO) library and issue SQL commands in the the PHP language.",
"slides": "lectures/PHP-06-MySQL-PDO.ppt",
"videos" : [
{
"title" : "PHP MySQL and PDO - Part 1",
"youtube" : "cmKxlLCL2-s"
},
{
"title" : "PHP MySQL and PDO - Part 2",
"youtube" : "M_Ai2gzBmWY"
},
{
"title" : "PHP MySQL and PDO - Part 3",
"youtube" : "L4atUHiyPzA"
},
{
"title" : "PHP MySQL and PDO - Part 4",
"youtube" : "FxoIOSZzlmk"
},
{
"title" : "PDO Code Walkthrough - Part 1",
"youtube" : "owGDQA54qt8"
},
{
"title" : "PDO Code Walkthrough - Part 2",
"youtube" : "2KkzRk0aNcc"
},
{
"title" : "PDO Code Walkthrough - Part 3",
"youtube" : "sRIGf52-k-Q"
}
],
"references" :
{
"title" : "Sample code",
"href" : "code/pdo.zip"
},
"assignment" : "{apphome}/assn/autosdb/",
"solution" : "{apphome}/solutions/autosdb",
"lti" : [
{
"title" : "Quiz: PHP and MySQL",
"launch" : "mod/gift/?quiz=08-PDO.txt",
"resource_link_id" : "php_08_pdo_quiz"
},
{
"title" : "Autograder: Autos Database",
"launch" : "tools/autograder/",
"resource_link_id" : "php_05_autosdb",
"custom" : [
{
"key": "exercise",
"value": "autosdb.php"
}
]
},
{
"title" : "Peer graded: Autos Database",
"launch" : "mod/peer-grade/",
"resource_link_id" : "php_05_autosdb_peer",
"custom" : [
{
"key": "config",
"json":
{
"title":"Automobiles and Databases",
"description":"In this assignment you will build a web based application to track data about automobiles and store the data in a MySQL database.",
"grading":"Don't take off points for little mistakes. If they seem to have done the assignment give them full credit. Feel free to make suggestions if there are small mistakes. Please keep your comments positive and useful. If you do not take grading seriously, the instructors may delete your response and you will lose points.",
"assignment":"{apphome}/assn/autosdb/",
"solution":"{apphome}/solutions/autosdb/",
"parts":[
{
"title":"A screen shot (including the URL) of your login.php rejecting an account without an at-sign (@)",
"type":"image"
},
{
"title":"A screen shot of your error log showing correct messages for both a successful and failed login attempt.",
"type":"image"
},
{
"title":"A screen shot (with URL) of your autos.php showing 'Name parameter missing'",
"type":"image"
},
{
"title":"A screen shot (including the URL) of your autos.php with three vehicles in the list. At least one of the vehicles must have '<b>' in its title and it must be shown properly (i.e. the title should not be bold)",
"type":"image"
},