-
Notifications
You must be signed in to change notification settings - Fork 0
/
final.html
70 lines (47 loc) · 2.57 KB
/
final.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
<!doctype html>
<html>
<head>
<title>CS 337 Final Study Guide</title>
<link rel="stylesheet" type="text/css" href="document.css">
<script src=""></script>
</head>
<body>
<div id="content">
<header>
<h2>Final Study Guide</h2>
</header>
<ol>
<li>HTTP Request - Know the basics of an HTTP request, just the actual request, no telnet or curl
parts.
<pre>
GET /some/document.html HTTP/1.1
host: www.example.com</pre>
</ul>
<li>Know how to denote PHP code blocks: <tt><?php /* code goes here */ ?></tt> Know where and when
you need to start/stop PHP execution in the flow of HTML.
<li>Know basic type information. Know how to get information on what type a variable holds.
<li>Understand the <tt>$_GET, $_POST, $_SERVER</tt> superglobals.
<li>HTML Forms - Know how to create an HTML form, the <tt><form></tt> element and the
<tt><input></tt> element
<li>Array - Know how to create an array. Know how to access elements of an array. Know how to
iterate over elements of an array. Know how to add elements to an existing array.
Know the difference between automatically assigned numeric array keys and explicitly set array keys.
Know how multi-dimensional arrays are constructed and accessed.
<li>Review the security concerns with user input, SQL injection, and Cross-Site Scripting attacks.
<li>Know how to properly return JSON data from a PHP program.
<li>Type coercion - Know how and when types are automatically converted in PHP. Know what PHP
considers to be 'true' and 'false'. Know what happens when you add/subtract strings and numbers.
<li>Accessibility - Know what accessibility concerns to be mindful of when doing web development.
<li>Classes - Know how to create a basic class. Know how to define properties and methods. Know
how to inherit from a base class. Understand visibility and scope.
<li>PDO / SQL - Know how to connect to a MySQL database using PDO. Know how to <tt>INSERT, UPDATE, and
SELECT</tt> data from a MySQL database using PHP <tt>PDO</tt> objects.
<li>AJAX - Know the basic idea behind AJAX: Creating a new HTTP request behind the scenes, and
registering a callback function to be executed when that request completes. Know how to use
and call the <tt>ajax()</tt> helper function from assignment 6.
<li>Midterm review - Know the basics of how to construct an HTML page. How to get references to
Elements in javascript, how to update properties of an element with javascript.
</ol>
</div>
</body>
</html>