We will use Python to implement a program where each screen is a separate module. So each screen could be designed by a different person on the project. Each module provides a separate namespace: #!/usr/bin/python import One, Data, Two, Store print "Content-type: text/html\n\n"; if Data.source == "One": if Data.roll: Two.show() else: Store.show() else: One.show() #--------------------------------------------------------------- def show(): print """
""" #--------------------------------------------------------------- def show(): print """ """ #--------------------------------------------------------------- def show(): print """ """ #--------------------------------------------------------------- import cgi q = cgi.FieldStorage() (source, roll) = ("", "") if (q.has_key("source")): source = q["source"].value if (q.has_key("roll")): roll = q["roll"].value