Aaron,
Hi. I read your post with interest. I am just about to start on a web
project and this is one of the questions I'm looking into. I am a long
time C/C++ programmer with some ASP experience and also some Perl
experience. Needless to say, I prefer Perl in terms of aesthetics and
functionality (ie., coolness).
However, I need to get this e-commerce site up and running as soon as
possible. I have spent some time trying to get an Apache/mod_perl site
up and running, and I have been running all sorts of problems just
getting the system up and running. Getting a system up and running is,
of course, not usually a problem with MS tools.
My question to you is: why exactly do you prefer mod_perl over ASP (or
ASP.NET) ? What exactly can you do with mod_perl that you can't with
ASP? On many forums I hear people making the claim that Apache/Perl is
better than either ASP or PHP, but rarely is that followed up by
concrete examples as to why.
Thanks,
Tom Gazzini
(Looking for reasons to justify using Perl, though it may take twice as
longer to get a site up and running that with ASP... Or will it?)
> -----Original Message-----
> From: Aaron Trevena [mailto:aaron.trevena@xxxxxxxxxxxxxxxx]
> Sent: 29 April 2003 12:59
> To: modperl@xxxxxxxxxxxxxxx
> Subject: Re: ASP?
>
>
> techies stpauls wrote:
>
> >I am a newby to the whole apache thing. Managed to get it
> working and
> >serving webpages at home using apache 2 ?(Win32) and no-ip.com, my
> >friend asked me if it did asp, and sent me a date of birth
> asp webpage,
> >I stuck it in the httpdocs folder and it kinda works, but my
> question
> >is do I need configure and install modperl on the machine to make it
> >work right or should it work automaticlly, Sam
> >
>
> You can use the Apache::ASP perl module ( google or
www.perldoc.com or
www.cpan.org for details) - there is also a vbscript apache module on
the internet somewhere but I cannot remember off the top of my head -
but this requires the ASP code be written in PerlScript while most ASP
is written in vbscript (an even more crippled version of visual basic).
Apache does not natively support ASP, you can do everything ASP does and
better with apache and any programming language - you can probably
replace the ASP with PHP in ten minutes.
You could also use any of Mason, embperl or template toolkit combined
with modperl to do the job in slightly more time but with better
scaling, security and general language goodness.
As somebody who spent almost a year of his life programming with ASP
(now back in the wonderful world of modperl and much happier, thanks) I
would reccomend you stay well away from it. I would also avoid running
internet services from a home pc running windows unless you want to be
hacked PDQ. You can get Linux Virtual Private Servers from about 20 quid
a month or install linux dual boot to learn about web servers properly
without exposing your private documents to hackers and virus.
There are some very good books on starting out with apache around now -
O Reilly have several, and so do Manning and Sams iirc.
regards,
A.
|