Solved

cgi file extension and difference types of cgi?

Posted on 2006-06-30
4
233 Views
Last Modified: 2013-12-25
whats the difference between the following...

Perl
Python CGI
Ruby CGI
Ruby on Rails

do each of these have their own file extension like .cgi and .pl for example??
Im familiar with php and asp but have never done any perl or cgi. What are the differences between the languages listed above??
0
Comment
Question by:cimmer
  • 3
4 Comments
 
LVL 19

Accepted Solution

by:
Kim Ryan earned 250 total points
ID: 17022681
They are all scripting languages often used in a web context. They are all object oriented, untyped, have auto memory management. Ruby on rails is a web framework written in Ruby
.pl = perl .py = python But a .cgi application could be perl, ruby, any language depending on how the web server dfiens file extensions

There are too many difference to list here, check the following.  Perl is the most widely used as has a huge library of contributed modules (CPAN). Ruby on Rails is making a big impact as a rapid web development tool. Python uses a more ofrmalised syntax so is a good first or teaching language.

See also:
http://en.wikipedia.org/wiki/Ruby_%28programming_language%29
http://en.wikipedia.org/wiki/Perlhttp://en.wikipedia.org/wiki/Python_programming_language
0
 
LVL 19

Expert Comment

by:Kim Ryan
ID: 17022682
0
 
LVL 48

Expert Comment

by:Tintin
ID: 17028061
Perl - A general purpose programming language
Python CGI - CGI scripts written in Python
Ruby CGI - CGI scripts written in Ruby
Ruby on Rails - Framework to develop Ruby web applications
0
 
LVL 19

Expert Comment

by:Kim Ryan
ID: 17040233
Has this helped you?
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This tutorial will give you a fast look what you can do with WhizBase. I expect you already know how to work with HTML at least, and that you understand the basics of the internet and how the internet works. WhizBase is a server-s…
Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question