All students should have a strong knowledge of HTML, including forms, tables, and basic CGI scripting, either from their own study or from WestLake's Advanced HTML/Introduction to CGI Scripting course. In addition, all students should be familiar with C, C++, Pascal, or another high-level programming language.
- Differences between server-based and client-based interaction and their implications for web site development
- (30 min. discussion, 45 min. hands-on)
- 3 demonstration programs that illustrate how to call functions to perform specified tasks, such as creating a window in response to input from the user
- Analysis of demonstration programs that perform dynamic calculations, such as calculators and color selectors. One demo program will convert physical quantities from one set of units to another; the other will change the background color in response to the user's selection from a color panel.
1:30 Form Validation (30 min. discussion, 50 min. hands-on)
- Analysis of a demonstration program that validates a class registration form
- Exercise: Develop an application to validate a subscription form. This validation checks whether important fields in the form have been filled in by the user and verifies that the fields have been filled with the proper type of data.
3:10 The Status Bar (15 min. discussion, 30 min. hands-on)
- Methods for writing messages to the Status Bar
- Analysis of a demonstration program that writes customized messages to the Status Bar when the user moves her mouse over a link.
- Exercise: Develop a script that prints a customized message of your choice to the Status Bar
4:05 Dynamic Image "Flipping" (10 min. discussion, 20 min. hands-on)
- Exercise: Automatically changing an image in one frame as the user moves her mouse across different links in another frame
4:35 Cookies (15 min. discussion)