Script Demo

    

Sometimes custom scripts are written for a website, to perform a specific task. CGI scripts are generally used for server side tasks such as posting to a guestbook, sending form data via email, when interactivity is needed, or to interact with a database. CGI stands for "Common Gateway Interface", and CGI scripts are like the doorway which the actual program moves through to process the request on the server.
       This demo is a calendar script, written in Perl. Below you will see the interface or form used to input data. The specific settings on the form were developed in conjunction with my client, Lui Collins, who is a folksinger, and needed an application that could receive concert data, store it in a database, and then format the data and output it appropriately when the user clicks on her "Extended Calendar" page.
       This is an actual working demo. You can input data, and then click on the submit button, which activates the script, formats the data and sends it to a database.
       You will see an intermediate page that the person inputting to the form uses to verify the info they have input to the database. This intermediate page contains any data in the database. There is a link on this intermediate page to "see output page". The output page is what the public sees when they click on the site link for "calendar". The script checks today's date, sorts the dates in the database, drops off any dates previous to today's date, selects all dates up until one year from today, and formats the data in tables.
      Please go ahead and test the demo now!



Home


Sites


Other Works


Résumé


Inspirations





      

Add to Database
Use this form to add to database or to edit an entry
Edit must contain same year, month, date and time as original to overwrite it
Otherwise use Remove form below
Select null (under P.M.) if no time value

Year     Month     Date  

  Day      Time    
Single Date  
Range of Dates:  
Last Date: Year     Month     Date  
Venue Name  
City    State  
Contact Info

School Program         Children's Concert         Festival  
Private Concert         Old Timey Music         Regular Concert  

w/DR         w/BF         w/PR         solo  

  

Remove from Database
Use this form to remove an entry from the database
Year, month, date and time must be same as original



Year     Month     Date      Time    


  

Search Database
Use this form to view a specific entry or range of entries
Range of dates shows all dates between
Single Date requires exact data as original
Show all requires no dates



Year     Month     Date      Time    

Single Date  
Range of Dates:  
Show All  
Last Date: Year     Month     Date  

  

Home    Sites    Other Works    Résumé    Inspirations