Re: ASP compared with Perl on IIS CGI by AlanT
AlanT
Sun Jan 23 20:43:02 CST 2005
Dear Jeff,
Thanks for your reply!
Actually, the scenario is that:
I hold a web server running IIS 6.0 and ASP is allowed to run for user by
default. Besides, I've also installed Perl on it to run some scripts for
administrative purpose. Recently, some users request to write Perl for their
interests but I doubt whether it 's not the best choice for user application
compared with ASP (most of them writing in VBScript). At this moment, I can't
predict the worse case (or harmful) on this web server if I allow user to run
Perl as well.
I'm an administrator of this web server but also a beginner in Perl & ASP,
that's why I ask this question.
;-)
Alan
"Jeff Cochran" wrote:
> On Fri, 21 Jan 2005 02:43:02 -0800, Alan T
> <AlanT@discussions.microsoft.com> wrote:
>
> >Is there any comment by comparing ASP with Perl running on IIS 6.0 in
> >following aspect? (for cgi purpose)
> >
> >1. Stability
> >2. Security
> >3. Speed
> >4. Flexibility
> >
> >I would like to see if any of you have different options.
>
> You can't really compare them in this manner. All these will vary by
> the type of application or program being run. For example, PERL will
> run circles around ASP (actually Jscript or VBScript since ASP isn't a
> language and PERL is...) if you're doing string functions. PERL has
> some phenomenal native string manipulation capabilities that don't
> exist in VBScript/Jscript.
>
> On the other hand, PERL can be a dog when dealing with the file system
> and some database functions. Those areas might go to a VBScript and
> ADO application. Besides, you can always write poor code in any
> language. Stability and security are not functions of a language as
> much as functions of the programmer and platform.
>
> You also mention "for CGI purpose". Since only PERL really qualifies
> as a CGI technology, if that's your defining criteria then you have a
> choice of PERL. Though I doubt you actually really mean CGI anyway.
>
> Choose the langauge and technology appropriate to the project and
> resources available. I certainly wouldn't choose PERL for example if
> I had a shop full of VBScript/ASP prgrammers and no other apps in
> PERL.
>
> Jeff
>