ITC 250/CPET 499 Web Systems
Homework Assignment #6
Assigned Date: October
12, 2012
Due Date: Oct. 18, 2012 before 3:00 PM (as email
attachments)
PART
I: JavaScript Exercises and on Script Documentation (Individual
assignment)
Go to examples given in the following web
links for JavaScrpt programs, study the related info of
each web page, experiment (run) each script, download a copy of each script
program (HTML page), re-engineer the Javascript code
if needed.
·
For example – thisBulb
= 0; appears in Example 9-2 (http://www.etcs.ipfw.edu/~lin/Presentation/JavaScript/09_JsArrays.html
) will be upgraded by adding a “var” in front of the
variable declaration
var thisBulb
= 0;
·
Additional documentation at the
beginning of each HTML page which explains how this HTML web page is to be
executed by a Web browser
For the following examples that appear
on Developing Advanced Web Applications Using JavaScript, by Prof. Paul Lin,
should be reengineered based on the guidelines given above:
·
Example 5-1: Create a new window for displaying
an animated airplane.gif graphics (http://www.etcs.ipfw.edu/~lin/Presentation/JavaScript/05_JsDocsWindows.html
)
·
Example 6-5: An example shows how to tie together
the button and events: onload, onclick, and onmouseover.
(http://www.etcs.ipfw.edu/~lin/Presentation/JavaScript/06_JsFormsEvents.html )
·
Example 7-3: This JavaScript program displays
clock, system time and date, and universal time and date. (http://www.etcs.ipfw.edu/~lin/Presentation/JavaScript/07_JsDateTimeObjs.html )
·
Example 8-1: Testing a cookie without a CGI
program. (http://www.etcs.ipfw.edu/~lin/Presentation/JavaScript/08_JsCookies.html )
·
Example 9-2: This JavaScript program use an image
array to store graphics file for use in displaying the light bulb On-Off
control. (http://www.etcs.ipfw.edu/~lin/Presentation/JavaScript/09_JsArrays.html )
Prepare your hw6 report save it as hw6-websys.docx.
Hand
In Requirement
·
Email all homework 6 report files in
Microsoft word format, plus all html pages to Prof. Lin at lin@ipfw.edu
.
Team-Based,
due 10/25
PART II; Read Chapter 17.6 Apache,
MySQL, and PHP Installation
·
Prepare your XAMPP Installation for
your team’s Web server (on your own PC/notebook)
·
Experimenting/testing both the
previously installed Microsoft IIS server on your own computer and the Apache
web server
Prepare the team’s web server selection
report (in the Lab report format)
Hand
In Requirement
·
Email the team’s Web server selection
report in Microsoft word format to Prof. Lin at lin@ipfw.edu
. before 3 PM, Oct. 25.