23 messages in com.mysql.lists.mysqlRe: Perl or PHP3 or PHP4
FromSent OnAttachments
Simon Baillargeon02 Aug 2000 05:39 
Alejandro Alfonso Fernandez02 Aug 2000 05:47 
Temuri Imnaishvili02 Aug 2000 06:35 
Simon Baillargeon02 Aug 2000 06:35 
Tobias Toom02 Aug 2000 06:38 
Jonas Eklöf02 Aug 2000 06:45 
AJDIN BRANDIC02 Aug 2000 07:04 
Craig Vincent02 Aug 2000 07:16 
Colin Faber02 Aug 2000 07:48 
Ian Plount02 Aug 2000 09:20 
Tobias Toom02 Aug 2000 22:35 
James Thornton02 Aug 2000 22:57 
Nick Lindridge03 Aug 2000 04:53 
Colin Faber03 Aug 2000 10:28 
Jeremy D. Zawodny03 Aug 2000 10:51 
Dana Powers03 Aug 2000 10:51 
Nick Lindridge03 Aug 2000 10:53 
Ken Yiem03 Aug 2000 11:36 
Erich L. Markert03 Aug 2000 11:41 
Christopher Thompson03 Aug 2000 14:29 
Colin Faber03 Aug 2000 17:21 
Erich L. Markert04 Aug 2000 05:43 
Peter J. Schoenster04 Aug 2000 10:00 
Subject:Re: Perl or PHP3 or PHP4
From:Colin Faber (cfa@fpsn.net)
Date:08/03/2000 10:28:23 AM
List:com.mysql.lists.mysql

Which problems does PHP solve that can't be handled in perl?

Nick Lindridge wrote:

Harald,

PHP is hardly ever used outside of web programming, whereas Perl is a general-purpose high-level programming language which can be used for almost everything.

Presumably you are pushing Perl, but if you *want* to do web programming, then there's no compelling reason why you would want to use Perl over PHP4.

PHP4 has some features that lend itself particularly to the job that it's solving, is reportedly less resource hungry and more efficient than perl, and has several components, some provided for free, that will speed it up considerably over perl and previous versions of PHP.

Also, PHP is perfectly up to the task of solving many problems that one might write in perl or some other language. To include some vague MySQL relevance in what is after all a MySQL group and not a PHP forum!, last sunday I wanted to test out MySQL's feasibility for a document search engine, so I knocked together the DB schemas and wrote the text indexing program in PHP for the hell of it. It was pretty quick, and did the job just fine. I could have written it in perl, C++, Java, ..., but for what I wanted, PHP did the job just as well as any of them.

And the not suprising conclusion btw., was that MySQL kicked ass! Although only on 10,000 documents, and around 4 million indexed words, but it was very quick.

Nick

--

--------------------------------------------------------------------- Please check "http://www.mysql.com/php/manual.php" before posting. To request this thread, e-mail mysq@lists.mysql.com

To unsubscribe, send a message to: <mysql-unsubscribe-cfaber=fpsn@lists.mysql.com>

If you have a broken mail client that cannot send a message to the above
address(Microsoft Outlook), you can use
http://lists.mysql.com/php/unsubscribe.php