[SLL] Perl and MySQL for LAMP

Matt Beland matt at rearviewmirror.org
Wed Jul 30 16:57:37 PDT 2008


On Jul 30, 2008, at 4:12 PM, Chuck Kranz wrote:
> Derek Simkowiak wrote:
>> /Chuck> ...favorite //documents and tutorials are for accessing  
>> MySQL with Perl.
>> /
>> http://python.org/
>
> I have had some experience with Perl but it appears PhP and Python  
> are better.
> I'm inclined to go with Python. I haven't had any experience wit it  
> yet.
> What do Ya'll think is best for LAMP?


Meh. That depends. Perl is great for data manipulation or quick hacks,  
not so hot for interface/display/application development, especially  
two-sided network communications or smooth and continuous user  
interaction. Python rules for application development and UI, I find  
it a bit of a pain for web interface work or where a quick hack is  
what's needed. And PHP sucks for everything except basic web  
interaction, but it does THAT better than Perl or Python. (And every  
developer I know who works with web stuff swears PHP is terrible at  
it, and Python and Perl aren't even worth mentioning for the role.)

In all cases, I suspect the correct answer is "whatever you're most  
comfortable with". I grew up with Perl, so I still reach for it when I  
need something quickly, even when Python zealots tell me it can do  
whatever it is faster, better, easier - and for me, that's the correct  
answer, because five minutes of hacking will produce the required code  
where doing it in Python would require fumbling and searching for the  
right way to do the job.

-- 
Matt Beland
matt at rearviewmirror.org





More information about the linux-list mailing list