I'd like to clarify that CGI is Common Gateway Interface. It is not a
language. You can write CGI with PHP, ASP, Perl, Python, shell, C,
etc... So, no matter what you use to create dynamic pages, it is still
CGI.
mod_perl is a good suggestion, since you will have perl available to
you in Apache, as opposed to spawning another process. However, the
original post seemed concerned about memory, and a mod_perl enabled
Apache uses more memory (size vs. speed tradeoff).
Some good benchmarks can be seen http://www.chamas.com/bench/index.html
concerning speed.
Anyways, use whichever server/language suits your needs best.. but
remember, Perl is not CGI, CGI is not Perl, you can use various
languages as CGI.
Cheers,
Kevin
On Wed, Jul 11, 2001 at 02:08:21PM +0100, Pierre Smolarek ([EMAIL PROTECTED])
spew-ed forth:
> /me introduces you to mod_perl and Apache::ASP
>
> ----- Original Message -----
> From: "Kipp, James" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 11, 2001 2:03 PM
> Subject: RE: Is there an alternative to CGI ???
>
>
> > Well there is ASP and PHP and cold fusion.
> > PHP is becoming quite popular
> > you might want to check into fastCGI, check the apache web site for that
> >
> >
> > > -----Original Message-----
> > > From: George S Pereira [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, July 11, 2001 6:15 AM
> > > To: Michael Fowler
> > > Cc: [EMAIL PROTECTED]
> > > Subject: Re: Is there an alternative to CGI ???
> > >
> > >
> > >
> > > Michael,
> > > My aim is to create a website using Perl for
> > > dynamically creating
> > > the webpages. But I don't want to use CGI, because I read
> > > that since CGI
> > > create a seperate connection for every user, it thereby uses
> > > more memory,
> > > than say an ASP application.
> > >
> > > I don't mind using CGI, but if there are other options
> > > available,
> > > then I want to look thru them also.
> > >
> > >
> > > George Savio Pereira
> > > ^^^^^^^^^^^^^^^^^^^^
> > > Email : [EMAIL PROTECTED]
> > >
> > >
> > > On Wed, 11 Jul 2001, Michael Fowler wrote:
> > >
> > > > On Wed, Jul 11, 2001 at 01:52:58PM +0530, George S Pereira wrote:
> > > > > Using CGI as a bridge between Perl and the Internet has some
> > > > > disadvantages, prominent is the increased use of memory.
> > > >
> > > > I'm not sure how you can say one of CGI's disadvantages is
> > > increased use of
> > > > memory when you aren't comparing it to anything.
> > > >
> > > > Also, let's be very clear; CGI is not a bridge between Perl and the
> > > > Internet, it's a protocol between a web server and an
> > > application. There
> > > > are many things wrong with saying it's a "bridge between
> > > Perl and the
> > > > Internet", not the least of which is the fact that CGI is
> > > used only in one
> > > > domain, the web. Granted, this is a fairly visible domain,
> > > but it is not
> > > > the whole of the internet.
> > > >
> > > >
> > > > > Is there another alternative for connecting Perl with
> > > the Internet
> > > > > other than CGI ???? (Like maybe using Perl with ASP!!!)
> > > >
> > > > There are other ways of dynamically generating web content
> > > with Perl. With
> > > > the Apache web server the primary (possibly only, I can't
> > > think of any
> > > > others) alternative is mod_perl. With mod_perl you setup
> > > hooks inside the
> > > > web server for authenticating users, generating content,
> > > and various other
> > > > things.
> > > >
> > > > This is all very generic and academic, though. What is
> > > your overall goal?
> > > >
> > > >
> > > > Michael
> > > > --
> > > > Administrator www.shoebox.net
> > > > Programmer, System Administrator www.gallanttech.com
> > > > --
> > > >
> > > >
> > >
> > >
>
--
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Disciple - Master, which came first? The chicken or the egg?
Zen Master - The chicken *is* the egg!