Web Design and Implementation (Winter 04-05)


Dynamic Sites and CGI ( 7 February 2005)

This week's topic is CGI, or the "common gateway interface." This is the interface that allows the web server to run a program on the server, and then return the results of the program to the user. Typically, the program will take as an input the contents of a form--whether it's a simple one-box search form (like Google), or a complex, lengthy registration form.

Before starting on the exercises (which will be a separate post), read Chapter 11 of the Webmaster in a Nutshell book, and the Webmonkey article "CGI Scripts for Fun and Profit."

You should also review the information we covered on forms, since form attributes like "action" and "method" become very important in the context of CGI.


Links From Other Weblogs (Trackbacks)
(Trackback link: http://www.it.rit.edu/~ell/mt/mt-tb.cgi/1210)
Trackback link from Adrienne's 409 Class Blog

Excerpt: Lecture notes: CGI - common gateway interface - Browser httpd CGI --> calls program - CGI is a protocol, not a language - CGI scripts can be written in many languages, but most commonly Perl because it doesn't need to...
Read More: 2/7 CGI lecture

Posted Feb 7, 2005 12:38 PM
Trackback link from John's Weblog

Excerpt: Today we started CGI script, and it was basically explained to us that this would just be an introduction. I started to do the reading off of the clas webpage, but I needed to meet with my group. We have...
Read More: JCaligaris 2/7/05

Posted Feb 7, 2005 1:37 PM
Comments