English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I know CGI is a server-side scripting, but I downloaded this simple CGI script onto my computer and it works on it, not uploading it to the internet or anything, and also Python is installed on my computer (c:\Python22) and it's completely operational! It's in a .exe program, and I know not me or anyone else decided to download it. But then I read that Google uses Python, so somehow it has to output it as HTML. And then I read that Google used to use c/c#/c++, but i read in other places that they are used for Java, as in a Java applet, not a server-side scripting.

2006-06-11 07:18:00 · 1 answers · asked by Matt 2 in Computers & Internet Internet

1 answers

C, C#, C++, and Python are all programming languages, with a number of differences between them. However, they are all multi-purpose languages, which means that they are not restricted simply to web technologies, although any of them can be used for web programming.

CGI, on the other hand, is a gateway interface. It's a description of a method for programs or scripts to interact with others on the web. Quite honestly, it's been a long time since I've seen anyone actually writing CGI scripts, with the prevalence of PHP, ASP.NET, JSP, and a host of other methods of interacting with the web instead. For beginners, I would recommend looking at PHP as a very simple method for interacting with users and databases.

For what it's worth, Python has been updated to well beyond 2.2. Python 2.4.3 is currently available at http://www.python.org, with 2.5 coming out this summer. It's a fantastic beginner's language, able to teach procedural and object-oriented programming concepts.

2006-06-14 14:54:05 · answer #1 · answered by Sailor 2 · 1 0

fedest.com, questions and answers