Informatics 41 * Fall 2004 * David G. Kay * UC Irvine

INFORMATICS WEB STORE

The Informatics Web Store is a Scheme program that implements a rudimentary web store.

It consists of these six files, which you should download into one folder:

  1. webstore.scm -- the program that handles all the store's inner working (the "model")


  2. customer-ui.scm -- the program that runs the store for a customer (the "view" and "controller" for customers)


  3. administrator-ui.scm -- the program that runs the store for the management (the "view" and "controller" for management)


  4. html-helper.scm -- functions to facilitate generating HTML


  5. string-helper.scm -- functions to manipulate strings


  6. store-io.ss -- a DrScheme teachpack that supplies the necessary functionality for file input and output

To run the store in DrScheme, choose the Advanced Student language level and install the store-io.ss teachpack above as well as the servlet.ss teachpack from DrScheme. Then run either customer-ui.scm (to see the store from the customer's perspective) or administrator-ui.scm (to see the store as an administrator).