Shop.com Merchant System - an e-commerce database

Shop.com is an e-commerce site offering access to vendors organized in a taxonomy. Driving the Shop.com web site is Shop.com Merchant Management, a database storing shopping categories and merchant links. The database itself is stored as a Haskell source file. We generate the site content by running Hugs over the database. The codebase generates SQL insert commands which are then piped into a sql database server. Shell scripts then generate the site from the database server. (The original version generated the site in Haskell direct from the Haskell database.) This application is being phased out in favor of managing the data in the database itself.