CSE31MS Supplementary Assignment 2000
Due Date: See Cover Letter
Assignment Policies and Plagiarism
Please see the Departmental handbook for full details on the procedures
related to the administration and return of assignments.
Plagiarism is the process of claiming that work done by others has been
done by you. Please note that the Department has a policy on plagiarism
in assignments and you should consult the relevant Departmental handout
for full details.
Objectives
-
Practice writing html files.
-
Understand how to write simple CGI scripts using Perl.
-
Practice writing a simple Java applet.
Problem Overview
You are required to develop a web page for an internet library.
This library contains details for publications in a large text file. Customers
can search the library in order to obtain publication details for a book
or article that is stored in the database. Customers can also request lists
of publications based on keyword searching (you need only implement searching
for one keyword).
If a book or article is held by the library then it is possible to order
a copy of the article or book, which will be sent to the home address of
the customer.
Specific Tasks
-
Install and configure the latest version of the Apache webserver.
-
Design and implement a homepage for this library in html. In addition to
a logo, and email link, provide a numbered list of links to the following
services.
-
Title Search
-
Keyword Search
-
Write a java applet which displays the library logo, and plays a sound
clip that you have found on the web.
-
Write a Perl CGI script that allows the user to enter a key word,
and which allows the user to select between searching for entries in the
database which have that key word in their TITLE or AUTHOR field or both.
A sample database file can be downloaded here
.
-
Write an html form that collects publication ordering information and sends
it to a Perl CGI script for processing. The information on the .
-
Customer Name
-
The data returned by the customer's search for a keyword
-
The customer e-mail address
-
credit card number and expiry date.
-
Write a short report of not more than 3 typed pages which discusses any
difficulties you encountered during the project. You should also discuss
any security and design issues that you think are particularly important
in the context of electronic commerce and the design of Web services of
this type.
Submission
Submission will be electronically managed via the commands submit
and verify. To submit your assignment create a directory called
"ms". Copy into the "ms" directory all your html files and any images,
sound files and all the files necessary for your Perl CGI scripts.
Execute the command "submit MS ms" to send the contents of the directory
to the submission site. You can check that the submission has been successful
by issuing a "verify" command. If you make an incorrect submission resubmit
using the "submit" command again. This will overwrite your previous submission.
If you have any difficulties with the operation of the " submit " command
you should use "man submit" to check that you understand how to use the
submit command.
Marking Scheme Outline
| Homepage and Links |
[15 marks] |
| Java Applet |
[15 marks] |
| Order form and Perl Script |
[25 marks] |
| Search page and Perl Script |
[30 marks] |
| Report |
[15 marks] |