Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > perl or PHP?slightly OT

Reply
Thread Tools

perl or PHP?slightly OT

 
 
Bob Smith
Guest
Posts: n/a
 
      07-21-2003
Hi all
I have an idea to a web application, a prototype is ready and I wrote it in
perl.
now, browsing the web shows that php might be more popular for database
based applications like mine, so generally which language do you prefer,
perl or PHP ( or something else ) and why?
Thank's
/B


 
Reply With Quote
 
 
 
 
m
Guest
Posts: n/a
 
      07-22-2003
Bob Smith wrote:
> Hi all
> I have an idea to a web application, a prototype is ready and I wrote it in
> perl.
> now, browsing the web shows that php might be more popular for database
> based applications like mine, so generally which language do you prefer,
> perl or PHP ( or something else ) and why?
> Thank's
> /B
>
>

Perl is available on a few more servers
than PHP, but not so significantly that
you need to worry about what is
'popular'. More importantly, since
you've already passed the early learning
curve of Perl, why would you want to
move to a language that is less
powerful? You might want to do
something more difficult with your
application some day. I doubt if you're
going to see really powerful
applications like the w3 org's validator
being rewritten into PHP for a good while.

m
http://www.mbstevens.com/

 
Reply With Quote
 
 
 
 
Mental Patient 0057
Guest
Posts: n/a
 
      07-22-2003
I don't think its fair to compare.
they work differently. they have different purposes.
perl was not initially designed for the web. back when perl first came
out there was no internet as we know it.
it ran on unix and was used by system admins.

PHP was designed for the purpose of web sites. PHP is very easy to use.
I made a php page work by acident.
PHP even looks like an HTML page whereas perl is all weird code.

perl is very much integrated with the system its on. PHP is growing
though. so fear not. its getting very popular. and you can do more and
more with PHP now.

so it's really what you want to do with it.

it's also implemented very differently.

Bob Smith wrote:
>
> Hi all
> I have an idea to a web application, a prototype is ready and I wrote it in
> perl.
> now, browsing the web shows that php might be more popular for database
> based applications like mine, so generally which language do you prefer,
> perl or PHP ( or something else ) and why?
> Thank's
> /B

 
Reply With Quote
 
Jacqui or (maybe) Pete
Guest
Posts: n/a
 
      07-22-2003
In article <%%9Ta.507$(E-Mail Removed)>, bob_smith85
@hotmail.com says...
> Hi all
> I have an idea to a web application, a prototype is ready and I wrote it in
> perl.
> now, browsing the web shows that php might be more popular for database
> based applications like mine, so generally which language do you prefer,
> perl or PHP ( or something else ) and why?


My two-pennethworth (I'm expert in neither but use both).

The easy stuff (sql, creating html) is easier in PHP than perl.

PHP is easier to learn, particularly for a non-programmer. Perl can be
a bit of a bastard, even for experienced programmers.

Harder stuff (logic & processing) is easier in perl, assuming that you
know both languages equally.

There's nothing you can't do in either language[1] - stick with what you
know.

http://www.serverwatch.com/news/article.php/1126681
http://php.weblogs.com/php_versus_perl
http://php.resourceindex.com/Documen...nalysis/PHP_vs.
_Perl/

etc ad infinitum...

[1] I bet someone's done embedded processor stuff in perl
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ 2.17 What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org? PerlFAQ Server Perl Misc 0 04-04-2011 10:00 PM
FAQ 1.4 What are Perl 4, Perl 5, or Perl 6? PerlFAQ Server Perl Misc 0 02-27-2011 11:00 PM
FAQ 2.17 What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org? PerlFAQ Server Perl Misc 0 02-03-2011 11:00 AM
FAQ 1.4 What are Perl 4, Perl 5, or Perl 6? PerlFAQ Server Perl Misc 0 01-23-2011 05:00 AM
Perl Help - Windows Perl script accessing a Unix perl Script dpackwood Perl 3 09-30-2003 02:56 AM



Advertisments