CS500
01
Assignment 1
Due
Part I: Group Report of Lecture Notes and Textbook studied on Web
Development using CGI/Perl
Write a Microsoft report to summarize your group CGI/Perl study activities. The report must have the following.
1. The time and date of your group study and the topics covered in each study session.
2.
The group discussion summary of each topic
studied.
3. Questions and answers and any issues
discussed in each study session.
4. Conclusions of knowledge learned.
Email the report to the instructor
on the due day.
Part II: CGI/Perl Programming Project on cs1/cs3
1. HTML Forms
Design and develop Web pages with HTML Forms to buy and
sell merchandises.
(You may decide what to buy/sell.)
1. The HTML forms should have all the major elements such as Text and
password fields,
Checkboxes, Radio buttons, Submit and reset buttons, List
and scrolling box, and Filefield.
2. Add some JavaScript to check the validity of the data before send them to the CGI server.
2. CGI Scripts
Develop CGI scripts to accept and process the requests from the above HTML Forms.
1. Develop a login CGI script login.cgi
- Authenticate the user. The passwords could be stored in
your script or an external file.
2. Develop a buy CGI script buy.cgi
- Process the buy orders from the user
- Send a HTML page back to the user to display the process
result
- Send an email back to the user to confirm the purchase
order.
3. Develop a sell CGI script sell.cgi
- Process the sell orders from the user. Upload the sell
merchandise image and post them on the buy page.
- Send an email back to the user to confirm the sell order.
4. (Extra Credit) Develop a data store CGI script to store the merchandise
data either in external files
or in a database.
Homework Hand in Policy:
1. Write a MS word report that describes your development process, any
problems that you have solved, and run results (screen shots).
Email the instructor the report and your HTML and Perl
source code files on the due day.
2. Instructor may ask you to demonstrate your project to the instructor if needed.