Two different strategies for WWW client-server interactions:
-
Pre-edited HTML files (links) --- static and plain ASCII read-only files, identified by a file path; exist on disk; no need to process when used by the server (server performance is only determined by disk -> core memory I/O transfer)
-
CGI scripts --- programs (shell,perl,programming languages) to generate data (usually in HTML format) to be returned to the server (which will then be transferred to the requesting client in HTTP protocol); the resultant data are dynamically generated on the fly; pipes are used to feed the output (via STDOUT) to server; server performance is mostly determined by CPU processing)
|