Developer’s Guide

Table Of Contents
9-18
Developer’s Guide
The site keeps track of each web user by passing CDML tokens from
one web page to the next. Some of the CDML format files use the
[FMP-Include] replacement tag to reference text files and include
their content on the web pages. In addition, the site uses scripting for
easy navigation, which is described in the nav.js JavaScript library.
Items that are placed in the Shopping Cart are added to the
OrderedItems.fp5 database. Information that the web user enters on
the customerid.htm page is added to a new record in the
Customers.fp5 database. Items that are finally ordered (when the
web user proceeds to Checkout and clicks Continue) are added to the
Orders.fp5 database. The status of these orders remain open until the
web user enters a Knitting Factory account number and expiration
date.
All format files in these examples are well-commented, explaining
how the CDML tags are used in every step.
The default.htm page in the Shopping Cart Example folder