Required Features

The organizers of SprocketExpo, as befits their role as fictional constructs intended only to provide a useful programming example, are unconcerned about the graphic design of their web site. A simple headline with the name of the show, and a few links along the left side of each page, will be sufficient for “branding” purposes.

They explain that the completed directory will need the following features:

  • A top-level page displaying the total number of exhibitors, and the date and time when the directory was generated. This page will also need links to the alphabetical and category pages described next.

  • A page for each letter of the alphabet, listing all the exhibitors whose names begin with that letter. The exhibitors’ names on these pages will actually be links pointing to each exhibitor’s detailed listing page.

  • A page for each product and service category under which exhibitors have been classified. Each page will have a list of exhibitor names (with links to their detail pages) similar to those on the alphabetical pages.

  • A detailed listing page for each exhibitor, showing the exhibitor’s name, booth number, address, phone, fax, email, URL, and description. Also, each page needs to display a list of product and services categories this exhibitor is associated with, with that list consisting of links to the corresponding category pages.

Get Perl for Web Site Management now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.