Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 07-10-2008, 10:56 PM PHP versus PERL
bitstream72's Avatar
Novice Talker

Posts: 13
Name: Jerry
Location: Chicago Area
Trades: 0
I have been out of the website creation business for a few years. I have recently gotten back into it and I am hearing a lot about PHP. Based on my limited research, it sounds a little like PERL. If this is true, what are the benefits of PHP over PERL. I am more familiar with PERL than PHP, but would it be worth my time to explore PHP and discard PERL?

Thanks
__________________

Please login or register to view this content. Registration is FREE
bitstream72 is offline
Reply With Quote
View Public Profile Visit bitstream72's homepage!
 
 
Register now for full access!
Old 07-11-2008, 07:19 AM Re: PHP versus PERL
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Personally, I find PHP to be much easier to use than Perl, as it was created especially for the web. Perl does have some very powerful parsing features that are shared with PHP (for example its regular expression features), and some syntactical similarities, but I don't find the two to be that similar. However, I'm much more familiar with PHP than I am with Perl.

PHP is nice, because you can include its code right along-side regular HTML, which you can't do in the same way with Perl. You can also use if() else(), while(), for() etc structures in reference to regular chunks of HTML, simply by breaking from PHP without immediately closing the statement, like this:

PHP Code:
<?php if($loggedin) { ?>
<h1>Welcome!</h1>
<?php ?>
I found an interesting link that compares the two languages: http://www.thesitewizard.com/archive/phpvscgi.shtml
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.

Last edited by wayfarer07; 07-11-2008 at 07:21 AM..
wayfarer07 is online now
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 07-12-2008, 12:17 AM Re: PHP versus PERL
bitstream72's Avatar
Novice Talker

Posts: 13
Name: Jerry
Location: Chicago Area
Trades: 0
Thanks for the input, very informative
__________________

Please login or register to view this content. Registration is FREE
bitstream72 is offline
Reply With Quote
View Public Profile Visit bitstream72's homepage!
 
Old 07-12-2008, 12:27 AM Re: PHP versus PERL
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
If your familiar with Perl and use it in other areas besides web development, then you may want to stick with it. Of course, if you know Perl, PHP won't be that hard to pick up.

Check out Mason http://www.masonhq.com/
joder is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to PHP versus PERL
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13637 seconds with 12 queries