|
[Top]
[Next]
[Prev]
| ............... Introduction to CGI
|
References to Additional Information
The preceeding was, of course, just a very cursory introduction to CGI.
To become a proficient CGI developer you will need to learn:
- the details of HTML (so you can create valid FORMS, and so your
gateway programs can return valid HTML documents as output);
- the details of the HTTP protocol (so you can return the correct
HTTP headers from your gateway programs)
- the details of CGI protocol (you need to know the names of the
different environment variables passed to the gateway programs; the contents
of the variables, and the encoding schemes used to send client-data
to the gateway program)
- how to write programs. Gateways are commonly written in perl or C,
but you can use just about any programming language.
To help you out, there are lots of useful tutorials, books, and online
resources. The following is a list of some of these resources.
4.1 Printable CGI Tutorial
I have prepared a much longer CGI tutorial, in printable PostScript format,
but you will need a postscript printer and some patience -- it is a very
long file (46 pages!). The file is also available in two UNIX compressed
formats: these are much smaller, and much faster to download, but are
of course useless if you can't uncompress them. All these files can be found
at ftp://ftp.hprc.utoronto.ca/pub/www/Documents/HTML/ under the names:
4.2 Books On CGI
There are several books that cover CGI programming, including my own
The HTML Sourcebook. Thomas Boutell maintains, as part of the
World Wide Web F.A.Q., a rather complete list of Web-related books, including
brief descriptions: several other books also cover CGI programming (of course,
you should buy mine first ... ;-) ). The list of books is available at:
http://sunsite.unc.edu/boutell/faq/books.htm
If this site is overly busy, you should try one of the F.A.Q. mirrors. A list
of mirrors is found at:
http://sunsite.unc.edu/boutell/faq/about.htm
4.3 On-Line CGI Resources
Even cheaper than books are online resources. There are several places where
you can find out the details of CGI programming. The following is a very
subjective list of some of the better resources:
- http://www.best.com/~hedlund/cgi-faq/ -
Marc Hedlund' FAQ on CGI programming. This is a nice introduction to CGI.
- http://hoohoo.ncsa.uiuc.edu/cgi/overview.html -
The CGI specification, and provided by NCSA. This is the detailed, and
complete, description of how CGI works.
- http://sunsite.unc.edu/boutell/faq/cgiprob.htm -
Common CGI Problems - from Thomas Boutell's World Wide Web FAQ.
- http://www.yahoo.com/Computers_and_Internet/Internet/World_Wide_Web/CGI___Common_Gateway_Interface/ -
The Yahoo collection of CGI resources, with with pointers to CGI
documentation sites, as well as to CGI programming libraries and other
resources.
- news:comp.infosystems.www.authoring.cgi -
The Usenet newsgroup devoted to discussions of CGI programming.
|
[Top]
[Next]
[Prev]
| ............... Introduction to CGI
|