Programming Exercise I: An On-Line Music Store Using Files


Absolutely no copying others' work

Due Date
Friday, March 14, 2008 in class. Each team turns in

The Objectives
Design and implement an on-line music store using files. This exercise is for students to learn how to build a file-driven web site.




Requirements
MicroSongs is an on-line, B2C (business-to-customer), digital music store, which includes the following features: The store owner (superuser) has the following requirements: Other than the above requirements, the instructor has the following requirements:

An Example
Note that this example is not related to this exercise. It is only to show how to display web interfaces.

  Start Using the Music Store.

      Name:

      Password:

                       

  Password:                    



Evaluation
The following features will be considered when grading:
  1. This exercise will not be graded if the system entry interface can not be found at http://people.cs.und.edu/~userid/351/1/, and redirection (http-equiv="refresh") to the pages not hosted by http://people.cs.und.edu/~userid/ is prohibited.
  2. Form your own three-member team as soon as possible. The instructor will randomly group those students, who have not formed their own teams in a week.
  3. Before submitting the exercise, test it comprehensively. Absolutely no extra points will be granted after grading.
  4. The exercise must meet the requirements. However, exercises with functions exceeding the requirements will not receive extra credits.
  5. Files instead of databases have to be used.
  6. Grading will put a greater emphasis on file design, the focus of this exercise.
  7. Each exercise may have a different weight, which is based on its difficulty level.
  8. User-friendliness will be heavily considered.
  9. If not specified, no error checking is required; i.e., you may assume the input is always correct for that case. For example, the ASIN entered will always be a 10-character string.
  10. Each function will be tested extensively.
  11. Firefox 2.0 browser will be used to grade exercises. Note that Internet Explorer and Firefox are not compatible. That is your exercises may work on the IE but not Firefox.
  12. The hard-copy exercises will be kept until the end of this semester. They will be used to check against others' exercises. The instructor will inform you the exercise evaluations by emails after grading.