tags:

views:

82

answers:

2

one day I chat with a experienced programmer about devloping file hosting system, he tell me it's need to use cgi in your program to work in best way.

so what is cgi ?

whay to use?

and when?

+1  A: 

Some of these links will be more helpful than others. A google search will find plenty more.

My impression, for what it's worth, is that CGI is less popular than it once was.

There are only 222 questions on SO tagged 'cgi'.

pavium
thanks, but the essence of my question, is really still need to use CGI nowadays (i mean it can performe thing that cann't done by php).
assaqqaf
I would be very surprised if there's anything that can be done with GGI that a modern technology like PHP couldn't do. However, the FastCGI Wikipedia article link provided by Sbm007 suggests a few advantages in separating the web application from the server.
pavium
@pavium: you mean CGI don't have any preference than PHP in functionality neither in performance.
assaqqaf
I can't comment on the functionality or performance (surely it depends on the implementation) but I thought there might be something in the idea of separating the web application from the server. The Wikipedia FastCGI article says: *This separation allows server and application processes to be restarted independently – an important consideration for busy web sites.* You should ask your experienced programmer precisely what he meant.
pavium
+2  A: 

Maybe he was referring to FastCGI and mod_php?

Sbm007
could you provide us with a nutshell info about it !!
assaqqaf
@assaqqaf - the wikipedia article has some good information on it, as well as great reference links - check them out!
jcinacio