Project 0

Summary

Create a webapp to enable a group of people to collaborate online on authoring a simple document. The goal is to expose the challenges that underlie building such a webapp without a framework and, to that end, it will be implemented with CGI using a scripting language (Perl).

Perl Resources

Authoritative page Tutorial My page

Base Requirement

Whenever a user visits the URL of your webapp, a screen similar to the following is displayed:

The webapp allows several users to concurrently create a list of countries. The user enters a country name and then clicks the “add” button. The above screen shows that 4 countries have been entered so far (by all users) and 2 of them were created by this user in this session (the other 2 may have been created by other users or by this user in a prior session). The master list is displayed beneath as shown.

Validation

In all other cases, the country is added, the form re-served, and no message appears at the top.

Possible Variations

The following two variations require CSS and JavaScript: