computer science s-75cdn.cs75.net/2012/summer/lectures/0/lecture0.pdf · 3 prerequisites ! multiple...
TRANSCRIPT
0
Computer Science S-75 Building Dynamic Websites Harvard Summer School
https://www.cs75.net/
Lecture 0: HTTP
David J. Malan
[email protected] http://cs.harvard.edu/malan
1
DNS
Image from godaddy.com.
2
DNS
n A n CNAME n MX n NS n ...
3
Prerequisites
n Multiple years of programming experience in any language; comfort with HTML and CSS
4
Expectations
n Attend all lectures n Implement three projects
5
Lectures n Lecture 0: HTTP n Lecture 1: PHP n Lecture 2: PHP, Continued n Lecture 3: XML n Lecture 4: SQL n Lecture 5: SQL, Continued n Lecture 6: JavaScript n Lecture 7: Ajax n Lecture 8: Security n Lecture 9: Scalability
6
Sections, Office Hours
n Mondays, after lecture n Wednesdays, after lecture
7
Projects
n Project 0 n Project 1 n Project 2
8
Grades
n Scope n Correctness n Design n Style
scope × (3 × correctness + 2 × design + 1 × style)
9
www.cs75.net
10
CS50 Discuss
11
Web Hosts
Image from dreamhost.com.
12
Virtual Private Servers
Image from linode.com.
13
CS50 Appliance
Image from fedoraproject.org.
14
SSH
15
SFTP
16
Forms n Text Fields
<input name="email" type="text" />
n Password Fields <input name="password" type="password" />
n Hidden Fields <input name="id" value="123" />
n Checkboxes <input checked="checked" name=“remember" type="checkbox" />
n Radio Buttons <input name="gender" type="radio" value="F" /> <input name="gender" type="radio" value="M" />
n Drop-Down Menus <select name=“state"> <option value=""></option> <option value=“MA"></option> <option value=“NY"></option> </select>
17
Computer Science S-75 Building Dynamic Websites Harvard Summer School
https://www.cs75.net/
Lecture 0: HTTP
David J. Malan
[email protected] http://cs.harvard.edu/malan