Contents (hide)
Since we won't have time to cover the Google Maps API, you can find slides and examples from a previous offering of CS 312. This is using the Google Maps v3 API, which is now the default, so all of the code and examples are valid and should work.
For Project 5, I will be strictly enforcing the policy on late submissions. Submissions received (or modified) more than 3 days after the deadline will receive no credit. I take off 5 points for each 24 hour period that the submission is late.
Deadline: Tuesday, Dec 6 before midnight Final deadline for any credit: Friday, Dec 9 before midnight (If you submit your assignment after Thursday night, do not expect to have it graded before the final exam on Saturday.)
Important: Once you have submitted your project, do not edit any of the files. I will use the later of your submission timestamp and the last modified timestamps as your submission date.
Tuesday, Dec 6 - HTML5/jQuery, slides and examples posted on the Schedule
Thursday, Dec 8 - Final exam review, study guide has been posted (look over the midterm study guide as well
I will be holding additional office hours at 3-4:15pm on Thurs, Dec 1 instead of meeting class.
Project 4 is now due by Wed, Nov 23 before midnight.
You may ignore the part of requirement #4 that says "you will need to declare the global variable xmlhttp". This is not needed for this assignment.
You can also find these on the Schedule page under Nov 10.
I'll be posting grades on Blackboard shortly (at latest by 5pm today) and if you did not make 100, you'll be receiving an email to your @odu.edu account with comments on your submission.
Here are the guidelines I used for grading - I'll reference these numbers in your email:
We'll finish up our discussion on XML tomorrow at the beginning of class, but then we'll start our XML lab, which will be continued on Thursday. Please bring your laptops both class days this week.
Also note that I've mapped out classes until Thanksgiving break (see the Schedule). We'll do PHP/Ajax lecture on Tues, Nov 15 and then labs until the break.
Here are a couple helpful hints on checking the information a user enters in a checkbox or radio button section of a form.
Checkboxes
document.forms[x].checkboxname.checked == true
Here's an example:
http://www.java2s.com/Tutorial/JavaScript/0200__Form/Checkboxchecked.htm
Radio Buttons:
document.forms[x].radiobuttonname is an array, so you'll have to create a loop to check each one of the radio buttons.
document.forms[x].radiobuttonname.length
document.forms[x].radiobuttonname[x].checked == true
Here's an example:
http://www.java2s.com/Tutorial/JavaScript/0200__Form/CheckingaRadioButtonGroup.htm
You can also find these on the Schedule page next to the day of the lab.
Note, many of these tasks can be done in different ways, so these are just examples of one way of doing them.
CGI lab - http://www.cs.odu.edu/~mweigle/cs312/labs/cgi-lab.html
JavaScript lab - http://www.cs.odu.edu/~mweigle/cs312/labs/js-lab.html and http://www.cs.odu.edu/~mweigle/cs312/labs/js-lab.js
I've posted your current grades on Blackboard. This includes HW 4 and Quiz 2, but not Project 1.
I've posted the Mid-Term Study Guide. Remember that the exam (covering topics through DNS) is on Thursday, Oct 20. We will have a review session in class on Tuesday, Oct 18. Bring questions about the study guide, homework, or general course topics. I'll answer questions until either our time is up or you run out of questions.
When trying to view your webpage, remember that the public_html directory is not used in the URL.
For example, the page for our in-class examples is located at /home/mweigle/public_html/cs312/index.html. You access the page with http://www.cs.odu.edu/~mweigle/cs312/. The public_html folder tells the webserver where to look for your webpages. index.html is the default page to load (so http://www.cs.odu.edu/~mweigle/cs312/index.html will work, too).
HW 4 is now due Tues, Oct 4.
I've had a couple questions about HW 4, Problem 1 (using telnet to talk to the web server). Use putty to login to one of the CS Unix machines (fast alias is fine). Then, use the command
telnet www.cs.odu.edu 80
to connect to the web server that is listening for connections on port 80. The rest is similar to the example we discussed in class (and that is in the lecture notes).
Quiz1 and solutions have now been posted.
Quiz 1 will be held at the beginning of class on Tuesday (Sep 27). It will cover propagation, transmission, and end-to-end delay calculations. It is open book/notes, but you will have a limited amount of time.
A couple notes on HW 3 (due Thursday at class time):
Work the HTTP exercises found on slides 31-34 of the HTTP lecture (see schedule). We'll review the answers in class on Thursday. You'll see similar questions on a homework, the mid-term, and the final exam.
Please sign up for the class mailing list. Use whatever email address you will actually check every day.
Classes have been cancelled for Monday and Tuesday due to Hurricane Irene. See http://www.odu.edu or the ODU Student Alert for more information.
Your main resource for information about CS 312 is the course website. The syllabus and lecture notes for the first day of class are already posted. Lecture notes can be found on the Schedule page.