[thelist] PHP vrs Perl - 15 rounds
Ralph
ralph213 at sbcglobal.net
Mon Mar 22 22:57:23 CST 2004
>On this specific issue it's perl. Why
>perl DBI module supports parameter binding to a
>query.
PEAR DB - http://pear.php.net/manual/en/package.database.php
METABASE - http://optip.mirrors.phpclasses.org/metabase
ADOdb - http://php.weblogs.com/adodb
And if you still want to use DBI, then
http://freshmeat.net/projects/php-dbi/
>Interestingly PHP has included a new mysql api in
>PHP 5 guess what they have called it? improved mysql
>api :-)
PHP current mySQL api is excellent. The Improved MySQL extension is actually
an extension that supports the new mySQL 4.1+ functions.
Whether PHP is better than PERL is a pointless argument. Both are excellent
languages. But from personal experience, since I started programming in PHP
5 years ago, I've not had a need to go back to PERL.
-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Raditha Dissanayake
Sent: Monday, March 08, 2004 7:33 AM
To: thelist at lists.evolt.org
Subject: Re: [thelist] PHP vrs Perl - 15 rounds
Ken Moore wrote:
> OK,
>
> Let's start a real brawl here. Which is better, PHP or Perl, and why?
>
> I really want to know which is better with MySQL on a web site.
On this specific issue it's perl. Why perl DBI module supports
parameter binding to a query.
In other words while you might have to use
"select * from table where column=$something"
in php you can instead write
"select * from table where column=?" in perl.
You can then assign different variables or constants to this statement
via parameter binding. This approach certainly makes programming a lot
easier and i believe this is said to be a bit faster as well.
Interestingly PHP has included a new mysql api in PHP 5 guess what they
have called it?
improved mysql api :-)
since PHP 5 is still rock solid as PHP 4 you might want to go with perl.
>
> TIA,
>
> Ken
>
> _________________________________________________________________
> Learn how to help protect your privacy and prevent fraud online at
> Tech Hacks & Scams. http://special.msn.com/msnbc/techsafety.armx
>
--
Raditha Dissanayake.
-----------------------------------------------------------------------
http://www.radinks.net/ftp/applet/
An applet that breaks all the rules. Reads, Writes and Deletes files on
your hard disk. Uploads what's left to a third party server.
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list