LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ASP? ASP for Perl? (https://www.linuxquestions.org/questions/linux-networking-3/asp-asp-for-perl-43770/)

northwind blank 02-02-2003 12:22 PM

ASP? ASP for Perl?
 
Can anyone tell me the differnce between these, now lets say that i wanted to be able to use ms access databases can I do it with ASP for Perl? Is it as easy as ASP? What are the difference between these.

It would be great if someone can answer back asap. or even e-mail if possible at:
blank@northwindwebhost.com

wdingus 02-02-2003 08:42 PM

There are an awful lot of comparisons out there, do some searching and reading. Here's one I found and only skimmed:

http://training.gbdirect.co.uk/cours...scripting.html

In short though:

ASP is more comparable to PHP. Both are languages which can be easily embedded in/with HTML documents. http://www.php.net

PERL like many other languages can be used to create web pages but as a /cgi-bin/ script. An exception to that is the Apache module mod_perl but from what I understand it's a bit tough to use.

Now then, MS Access access[sic]. Can you really call Access a database? Hmm... All kidding aside, I again did some searching and found this (PowerPoint Presentation): http://www.csc.vill.edu/~wsun/netcla.../ODBC_8560.ppt

PERL running on Windows can probably easily access an Access database. I'm not so sure about PERL on Linux though(?)

For web development, you might consider checking out LAMP. LAMP stands for Linux/Apache/MySQL/PHP, a powerful combination. You'll be hard pressed to match the speed of a PHP program using persistent connections reading data from a MySQL 4 database with INNODB backend on a fast Linux machine.

BTW, I and others commonly refer to PERL as the Swiss-Army Chainsaw of programming. Check www.cpan.org to see a lot of the 3rd party modules available for PERL.

arnold 02-03-2003 02:40 PM

mod_perl is perl embedded in an Apache HTTP server so
that ia scipt runs faster than an "ordinary" perl cgi script.
I think mod_perl supports persistant connections to most databases (sybase, oracle, mysql).

PHP is also an apache module (mod_php).

I suspect that embedded perl and php run scripts at about the same speed.

I have tried a little php.
Perl is my favorite language.

mire 02-04-2003 10:52 AM

check out activestate docs or dig some examples on modperldev.com

I have an article there on perl on windows.


All times are GMT -5. The time now is 08:00 PM.