Design for ArsDigita Shoppe


The overall objective of this software is to give folks a basic on-line store for one-shot shopping (i.e., no shopping basket). The Tcl scripts talk to a Cybercash back-end.

Fundamental Design Precepts

Directories

Finite-State Machine

We implement a finite-state machine for orders.
confirmed
  | | |_______________________
  | |                        |
  | failed_authorization     |
  |                          |
authorized_plus_avs     authorized_minus_avs
  |
  |
shipped
  |
  |
returned
  |
  |
refunded

Note that the order can also be put into the state "void" by the shoppe administrator at any point before the state "shipped" has been reached.

Installation

  1. untar into /shoppe
  2. add Web server permissions to restrict access to /shoppe/admin and /shoppe/doc
  3. feed /shoppe/doc/data-model.sql to Oracle (you can just grab it in AOLserver and the Web server will offer to feed it to Oracle). Make sure that the AOLserver Oracle user has the authority to create sequences.

philg@mit.edu