On subcontract to
pear transmedia, Cyberglitz responsibility was to develop a simple
poll for a web site targeted at adolescent girls.
Requirement: Ability to set up new polls without reprogramming
Solution:This design uses a simple text file to specify
the question, options and graph colors for each poll.
Requirement: A single poll program can be used to put a poll on any page.
Solution: The perl program determines what html page it
is in by a line in the text file. It reads that page from the
server disk, swaps in a new block of code where the poll was, and
rewrites the page to the browser.
|