Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is cgi programming

Tags:

What is exactly meant by CGI programming . If I am writing a cgi program in 'C' ,

in that context , what does the 'cgi' mean ?

Is the servelt environment is an abstraction of classical cgi programming ?

like image 616
Mariselvam Avatar asked Feb 20 '11 17:02

Mariselvam


People also ask

What is Python CGI programming?

CGI stands for Common Gateway Interface in Python which is a set of standards that explains how information or data is exchanged between the web server and a routine script.

Do you need programming for CGI?

See The Common Gateway Interface (CGI) is a standard protocol that defines how webserver software can delegate the generation of webpages to a console application. Such applications are known as CGI scripts; they can be written in any programming language, although scripting languages are often used. Save this answer.

What is the advantage of CGI programming?

Advantages of CGI:It is always easier to use the code already written than to write your own. CGI specifies that the programs can be written in any language, and on any platform, as long as they conform to the specification. CGI-based counters and CGI code to perform simple tasks are available in plenty.

What is CGI programming in Java?

The Common Gateway Interface (CGI) is a standard for writing programs that can interact through a Web server with a client running a Web browser. These programs allow a Web developer to deliver dynamic information (usually in the form of HTML) via the browser.


1 Answers

Abbreviation of Common Gateway Interface, a specification for transferring information between a World Wide Web server and a CGI program. A CGI program is any program designed to accept and return data that conforms to the CGI specification. The program could be written in any programming language, including C, Perl, Java, or Visual Basic. CGI programs are the most common way for Web servers to interact dynamically with users. Many HTML pages that contain forms, for example, use a CGI program to process the form's data once it's submitted. Another increasingly common way to provide dynamic feedback for Web users is to include scripts or programs that run on the user's machine rather than the Web server. These programs can be Java applets, Java scripts, or ActiveX controls. These technologies are known collectively as client-side solutions, while the use of CGI is a server-side solution because the processing occurs on the Web server.

like image 197
Vidya Avatar answered Oct 24 '22 02:10

Vidya