You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Victor <vi...@wwcd.com> on 2000/07/24 20:28:37 UTC

Apache::ASP Question

I am trying to figure out what Apache::ASP is and how well it works. Can
anyone point me to information on the following points or provide me
with answers to the following?

1. How compatible is Apache::ASP with ASP?
2. How well does Apache::ASP perform?
3. Can Apache::ASP use COM?
4. What platforms does Apache::ASP run on?

I also wanted a clarification of ASP. As I understand it, ASP is M$'s
version of VB that runs in a way similar to how php does? Is ASP a
language or ... ? Does Apache::ASP support the vb syntax ?

Thanks for any input.
Victor


Re: Apache::ASP Question

Posted by Joshua Chamas <jo...@chamas.com>.
Victor wrote:
> 
> So to move a page written in VB to unix, I'd need something like ChilliSoft
> ?
> 

Until I write a VBScript to perl parser, yes you can only
use perl under Apache::ASP.  I found VBScript to be an utterly
crippled language a couple years ago when I started this project
but I absolutely loved ASP with session management, nice API,
excellence scripting syntax etc.

A note about performance... VBScript does extremely well
on small trivial scripts.  Perl's runtime strength lies in 
larger more complex programs.  The same is true when looking
at perl vs. PHP.  An unofficial benchmark I heard for a real
application was that a script ported to Apache::ASP with 
heavy DBD::Oracle access had 10 times better performance than 
the original ASP script under NT/IIS on the same hardware.

Note that Apache::ASP itself is very fast, and only slightly
slower than Apache::Registry CGI scripts.  Further, you get
other performance advantages when using perl database access,
and Apache, than when under NT/IIS/ASP.  The benchmarks
at http://www.chamas.com/bench don't capture these differences
because the "Hello World" bench is so simple, and only test
startup speed differences, not runtime language advantages.

Yes, we need a better benchmark, but these things take a lot
of time. :)

-- Joshua
_________________________________________________________________
Joshua Chamas			        Chamas Enterprises Inc.
NodeWorks >> free web link monitoring	Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

Re: Apache::ASP Question

Posted by Vivek Khera <kh...@kciLink.com>.
>>>>> "V" == Victor  <vi...@wwcd.com> writes:

V> So to move a page written in VB to unix, I'd need something like ChilliSoft
V> ?

Perhaps. Or maybe the ASP to PHP converter will do it for you?  I hear
rumors of such a thing that will convert your M$ ASP to php.

But that's not Perl... ;-)

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-301-545-6996
GPG & MIME spoken here            http://www.khera.org/~vivek/

Re: Apache::ASP Question

Posted by Victor <vi...@wwcd.com>.
So to move a page written in VB to unix, I'd need something like ChilliSoft
?

Vivek Khera wrote:

> >>>>> "V" == Victor  <vi...@wwcd.com> writes:
>
> V> I also wanted a clarification of ASP. As I understand it, ASP is M$'s
> V> version of VB that runs in a way similar to how php does? Is ASP a
> V> language or ... ? Does Apache::ASP support the vb syntax ?
>
> No, ASP on M$ is _usually_ written in VB.  It is not a language, but a
> framework; You can write ASP pages in any language.  Apache::ASP lets
> you do it in Perl.


Re: Apache::ASP Question

Posted by Vivek Khera <kh...@kciLink.com>.
>>>>> "V" == Victor  <vi...@wwcd.com> writes:

V> I also wanted a clarification of ASP. As I understand it, ASP is M$'s
V> version of VB that runs in a way similar to how php does? Is ASP a
V> language or ... ? Does Apache::ASP support the vb syntax ?

No, ASP on M$ is _usually_ written in VB.  It is not a language, but a
framework; You can write ASP pages in any language.  Apache::ASP lets
you do it in Perl.

Re: Apache::ASP Question

Posted by Matt Sergeant <ma...@sergeant.org>.
On Mon, 24 Jul 2000, Victor wrote:

> I am trying to figure out what Apache::ASP is and how well it works. Can
> anyone point me to information on the following points or provide me
> with answers to the following?
> 
> 1. How compatible is Apache::ASP with ASP?

Pretty good - I worked with Joshua a long time ago to make sure that the
PerlScript and Apache::ASP were compatible. Apache::ASP scripts are not
necessarily compatible with PerlScript though, because they provide a
richer API, and some short-cuts.

> 2. How well does Apache::ASP perform?

Pretty good. Probably about as well as PerlScript, or better. Not as good
as VBScript ASP's though. See the benchmarks linked to from 
http://perl.apache.org/

> 3. Can Apache::ASP use COM?

Only on windows, via the Win32::OLE module.

> 4. What platforms does Apache::ASP run on?

All of them. :-)

> I also wanted a clarification of ASP. As I understand it, ASP is M$'s
> version of VB that runs in a way similar to how php does? Is ASP a
> language or ... ? Does Apache::ASP support the vb syntax ?

ASP is a cross platform API, not a language. Apache::ASP implements the
API that ActiveState's PerlScript and MKS' PScript implements.

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org