[ Contents ]
[ Prev ]
[ Next ]
Web Development - CGI Scripting
- Web development meant "CGI scripts" for several years.
CGI scripts
are regular programs, that are ran by a web server, get their input
using environment variables, in a standard manner, and anything they
write to the standard output, is sent back to the Web browser.
- CGI scripts are often written using scripting languages, because their
execution speed is limited anyway, and scripting languages make it
easier to write them, and less likely to introduce security holes.
- To enhance the speed of CGI execution, various in-server modules have
been written. For apache, "mod_perl"
exists, that allows a Perl program to be "compiled" only once, and
remain active between user invocations. This allows supporting
persistent connections to databases and other state information.
[ Contents ]
[ Prev ]
[ Next ]