The stupid question is the question not asked | |
PerlMonks |
Re^2: CGI programby manishrathi (Beadle) |
on Sep 23, 2009 at 15:41 UTC ( [id://797003]=note: print w/replies, xml ) | Need Help?? |
I did a lot reading before posting questions here and I am still confused. In the book "CGI programming with Perl", it was stated that CGI is a protocol. Does it mean that its something like HTTP ? But for using HTTP or LDAP or SQL, we dont use any API. We just open the interface on client machine for LDAP and SQL and comunicate. For HTTP, we dont need to do anything as its default protocol. So my confusion is about CGI being protocol. How can CGI protocol be used ? If we put a perl script in cgi-bin dir, will it automatically use CGI protocol ? Is CGI protocol and CGI API, two different things ? CGI APIs are created using what language ? There are a lot of Perl APIs available, then why CGI APIs are required ? If a program is written in Perl and CGI API is used in it, is that a Perl program or CGI Program ? What does it mean when .cgi extension is used ? When shall we use .cgi extension ? Is CGI API in-built in a web server for use ? What do you mean by "CGI specifies how a webserver can pass data to arbitrary programs" ? what is meant by "arbitrary programs" ? How is CGI API created ? Why do we have to use CGI functionality ? What is it that CGI has which a Perl does not ? Is it mandatory to use CGI to pass data to web server ? If we have not used CGI, how will data transfer to "arbitrary programs" ? Please excuse me , if some questions are primary. ButI am confused and want to get rid of this confusion.
In Section
Seekers of Perl Wisdom
|
|