;;; 8.mhtml: -*- Meta-HTML -*- 

;;;  Copyright (c) 1996 Universal Access Inc.
;;;  Author: Henry Minsky (hqm@ua.com) Sat Jul 27 22:01:28 1996.

<set-var title="Maintaining A Product Database">
<include header.mhtml>

<plain-text>
  Now that we have a database of products, we would like to have a set
  of forms which the store manager can use to add, modify, and delete
  products from the database.

  There are a number of ways we could go about creating a forms-based
  administrative application to maintain the product database. For
  purposes of illustration, we will do a very simple interface here,
  which consists of simply iterating over the items in the
  database, and creating one HTML form for each product. The 
  existing product data is stuffed into the form's input fields,

  Try changing the price of a cake in the database, and then see how the
  Web page for that cake is updated automatically. Or try setting
  the inventory number to zero, and see how the Web pages automatically
  announce the time to next re-stock.

  In a real production environment, it is likely that an organization
  with a large amount of online information would use a relational
  database to organize and store their data. In that case, the
  <a href="http://www.metahtml.com/products/"><Meta-HTML> ODBC
  Gateway</a> module would be used to access the database using SQL
  commands.

  <section-pages 8 show-basket.mhtml "The Shopping Basket"
		 show-products.mhtml "The Product Database">
  acme.mhtml
  cake-template.mhtml
  basket.mhtml
  products.mhtml
  seed-database.mhtml
  show-basket.mhtml
  show-products.mhtml
  modify-products.mhtml
  session.mhtml
  red.mhtml
  green.mhtml
  black.mhtml
  blue.mhtml
  header.mhtml
  footer.mhtml
  </section-pages>

  <pagelist-control-panel>
</plain-text>

<include footer.mhtml>
