CGI was the first, widely used system for creating dynamic content on the web. Prior to CGI (Common Gateway Interface), the only way to create dynamic content was to write a customized web server. That's not easy, of course, so few people bothered. CGI, however, allowed developers to connect separate programs to the web and thus transformed it from a repository of static documents and images into a network of online applications.
Today, there are numerous technologies available for creating dynamic content. Alternatives to CGI include the following:
With the increased use of these newer technologies, it is not uncommon for someone to ask whether CGI is still relevant today. Indeed, some of the companies marketing these newer technologies have a habit of referring to CGI applications as legacy applications, inspiring images of dusty mainframes.
|
Related Reading
CGI Programming with Perl |
Will CGI development soon be as obsolete as COBOL? Well, don't believe everything you read, especially if it was written by a marketing department. One of the virtues of CGI is that it is an open standard that does not have a company or even a group of volunteers to promote it. Thus, it is an easy target, and its dominating market share makes it a popular target as well.
So for the person who asks, "Why should I learn CGI?" I offer the following reasons:
In closing, there is no reason why you should learn only one web development technology. If you want to become an effective and successful web developer, it is valuable to learn a few. And, for the reasons I've outlined above, if you are going to learn more than one technology, the first should be CGI--especially given its popularity.
Scott Guelich graduated from Oberlin College in 1993 with a philosophy degree and decided to "only take a few years off" before continuing with graduate school. Unable to find any listing for "Philosopher Wanted" in the classifieds, and having done some programming while growing up, he quickly found himself working with computers. He discovered the Internet the following year and Perl the year after that. He has been doing web development for four years and currently works as a consultant in the San Francisco Bay Area. Nonetheless, he insists that he may still make it back to graduate school...some day.
|
Related Reading CGI Programming with Perl |
Copyright © 2009 O'Reilly Media, Inc.