[thelist] PHP v Perl

Marty Landman marty at face2interface.com
Thu Aug 9 10:25:31 CDT 2001


At 10:57 AM 8/9/01 -0400, you wrote:

>>Jeanne, If you know Perl you'll pick up PHP in a couple of weeks.

Or a few days was my experience.

>>  (Its very similar to Perl). The advantages of using PHP over Perl are 
>> many. PHP
>>integrates well with HTML (it was made for the web... unlike Perl).

I program for the web in both languages and favor Perl. It has a steeper 
learning curve but that's because it's got a tighter syntax and allows more 
options for accomplishing the same things.

>>Perl is a very powerful language and can do almost anything, but PHP scores
>>better on the Net. I was a CGI-Prel man before PHP came along. Now almost
>>all my sites are PHP.

In my own personal pov I think that embedding programs in HTML is /bad/, 
unless it's a very limited case where SSI written in Perl would work just 
as well as PHP. I programmed http://scandinaviannaturals.com/ in Perl, 
templatizing all of the designer's comps. Every page on the site delivered 
through my program but the designer is free to change any of the HTML by 
working the templates at their discretion.

Not to besmirch anyone else's preferences, it's just that imho using HTML 
templates are a far better way to develop web apps; especially larger ones.

I've written a web based content management system in Perl, using HTML 
templates, data files, packages etc... Can't imagine doing it any other 
way; but am very open to suggestions. {:-)

Just my two cents,

Marty


Face 2 Interface Web Solutions
Website Creation Made SIMPL(tm)
http://face2interface.com/Demo





More information about the thelist mailing list