CGI Programming Languages

As I’ve already stated, almost any programming language can be used to write CGI programs. Just because it isn’t mentioned here doesn’t mean that it’s unsuitable for CGI programming. As long as programs written in the language can meet the criteria that I discussed earlier in this hour for CGI programs, it can be used for CGI programming. In this section of the hour, I’m going to discuss some of the more commonly used languages, but this is by no means a complete list.

Perl

Perl is the granddaddy of all of the languages used for CGI programming. Perl had the right mix of ease of use, features helpful to CGI programming, and popularity to become the dominant language for writing CGI programs when the original Web servers ...

Get Sams Teach Yourself CGI in 24 Hours, Second Edition 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.