Author |
Message |
metsfan922
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
Joined: 09 May 2002
Posts: 15
|
Posted:
Mon Jun 24, 2002 4:16 pm (21 years, 10 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
without being biased, please tell me the difference, which is more efficient, and which u prefer and why |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by metsfan922 Find all posts by metsfan922](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
Justin
4WebHelp Addict
![4WebHelp Addict 4WebHelp Addict](images/rank_4.gif)
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Mon Jun 24, 2002 4:30 pm (21 years, 10 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
PHP -
1) More Efficent
2) More Reliable
3) Faster
4) Easier to Learn
5) No Internal Server Errors
6) Easier to configure Scripts. |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Justin Find all posts by Justin](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Send email Send email](templates/4WebHelp2/images/lang_english/icon_email.gif) |
![](images/spacer.gif) |
metsfan922
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
Joined: 09 May 2002
Posts: 15
|
Posted:
Mon Jun 24, 2002 4:33 pm (21 years, 10 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
is perl more powerful than php? my friend described php as gay because its not powerful and that perl is the only real language |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by metsfan922 Find all posts by metsfan922](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
Daniel
Team Member
![](images/rank_6.gif)
![](http://www.4webhelp.net/forums/images/daniel_avatar.php)
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Mon Jun 24, 2002 5:09 pm (21 years, 10 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
I'm not sure about the more powerful question. In what way?
PHP was meant for the web, Perl wasn't originally.
I must say that I prefer PHP, even though I discovered Perl first, because Perl can't be embeded in the HTML, and because it's a pain to debug. |
________________________________
![Image Image](http://www.4webhelp.net/images/daniel_sig.gif) |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Daniel Find all posts by Daniel](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
Peter
Team Member
![](images/rank_6.gif)
![](http://members.aol.com/reywob/maple.gif)
Joined: 09 Jan 2002
Posts: 147
Location: UK
|
Posted:
Wed Jun 26, 2002 10:25 am (21 years, 10 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
It depends what you want to use it for. PHP is basically a web scripting language, and is designed for rapid web development.
Perl is a general programming language with great text manipulation features, but a really variable syntax (there's no one true way to do something in Perl) and I've found it impossible to get to grips with properly, unlike PHP.
It's better to treat PHP as it's own class of language and compare Perl with Python, which is the language I'm currently learning (along with Actionscript/ECMAscript). Brilliant for building GUI... but web work is much harder in python than PHP.
HTH
Peter |
________________________________ Maple Design - quality web design and custom programming |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Peter Find all posts by Peter](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) ![Yahoo Messenger Yahoo Messenger](templates/4WebHelp2/images/lang_english/icon_yim.gif) ![ICQ Number ICQ Number](templates/4WebHelp2/images/lang_english/icon_icq_add.gif) |
![](images/spacer.gif) |
amadeus
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
Joined: 13 Jul 2002
Posts: 17
Location: France
|
Posted:
Fri Jul 19, 2002 12:17 pm (21 years, 9 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
as far as web programming goes: stick to php.
i learnt perl and did an enormous amount of coding, and then discovered the alternatives in php... which are so easy! For example, PHP has lots of built in functions that are dead handy for webpages (dates, sorting etc.) that you'd have to code for yourself in perl.
php retains all form elements without having to program routines to decode them as in perl
php is very easy to integrate with html.
mysql support is super in php and much *much* easier than in perl.
perl isn't just a web programming language, and as such, it can be daunting as it has so many paths and uses... so like I said, if you want to program webpages, use php.
another thing, there are a lot more people using php who seem happy enough to share help with coding, than strictly "web-only" perl programmers, in my hunts for support too...
amadeus |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by amadeus Find all posts by amadeus](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Send email Send email](templates/4WebHelp2/images/lang_english/icon_email.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) |
![](images/spacer.gif) |
tyj82
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
Joined: 26 Dec 2002
Posts: 5
|
Posted:
Thu Dec 26, 2002 3:06 am (21 years, 4 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
what about in flat file database ?
which one is better.
does PHP support matching word ?
using this ~=
can php read a files in the directory ?
can php get visitor info such as IP. web browser type, operation system, ...... like perl do ?
I never use php before but i have used perl for some time
i about to learn PHP for my web page |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by tyj82 Find all posts by tyj82](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
tyj82
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
Joined: 26 Dec 2002
Posts: 5
|
Posted:
Thu Dec 26, 2002 3:07 am (21 years, 4 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
oh ya
one more thing
does php support pop mail retrieving ? |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by tyj82 Find all posts by tyj82](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
Darren
Team Member
![](images/rank_6.gif)
![](images/avatars/gallery/computers/apple.gif)
Joined: 05 Feb 2002
Posts: 549
Location: London
|
Posted:
Thu Dec 26, 2002 11:27 am (21 years, 4 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
tyj82 wrote: | does PHP support matching word ?
using this ~= |
Supports regular expressions if thats what you mean.
tyj82 wrote: | can php read a files in the directory ? |
Yes
tyj82 wrote: | can php get visitor info such as IP. web browser type, operation system, ...... like perl do ? |
Yes |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Darren Find all posts by Darren](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) |
![](images/spacer.gif) |
jayant
Team Member
![](images/rank_6.gif)
![](http://www.phpbuilder.com/board/avatar.php?userid=132268&dateline=1069059954)
Joined: 07 Jan 2002
Posts: 262
Location: New Delhi, India
|
Posted:
Sat Dec 28, 2002 5:10 am (21 years, 4 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by jayant Find all posts by jayant](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) ![Yahoo Messenger Yahoo Messenger](templates/4WebHelp2/images/lang_english/icon_yim.gif) ![MSN Messenger MSN Messenger](templates/4WebHelp2/images/lang_english/icon_msnm.gif) |
![](images/spacer.gif) |
AlexeyMas
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
Joined: 02 Apr 2003
Posts: 1
|
Posted:
Wed Apr 02, 2003 10:38 pm (21 years ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
metsfan922 wrote: | without being biased, please tell me the difference, which is more efficient, and which u prefer and why |
It's a religion question.
Like what is better Clipper or FoxPro some years ago.
Perl is more powerful but have some weak spot.
Perl is more language like one. PHP is modern one.
By the way we try to create the Perl based system wich is more simple when PHP... We can't make this thing on PHP... imho. |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by AlexeyMas Find all posts by AlexeyMas](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) |
![](images/spacer.gif) |
drathbun
WebHelper
![WebHelper WebHelper](images/rank_2.gif)
Joined: 01 Mar 2003
Posts: 69
Location: Texas
|
Posted:
Wed Apr 16, 2003 1:41 am (21 years ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
Neither is better or worse than the other, they are just tools. Use the right tool for the job.
I run a forum with phpBB software written in php (like this one). But I have batch (cron) jobs scheduled to run at specific times during the day. They're written in perl.
Could phpBB have been written completely in perl? Yes, it could.
Could my batch jobs have been written in php? Probably.
But it comes down to which is the best tool for the specific job. Without providing more details, there can be no "best" answer. And if you read through the previous answers in this topic, you'll see that folks say "For {this task} use {this tool}" which is exactly what I am saying. For certain types of tasks, one (or the other) will be better. But in my opinion, there is no clear "winner" for best overall.
My two cents. Not adjusted for inflation.
Dave |
________________________________ Dave
Photography Site :: Query Tools Forum :: Weekend Fun |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by drathbun Find all posts by drathbun](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) |
![](images/spacer.gif) |
adam
Forum Moderator & Developer
![](images/rank_6.gif)
Joined: 26 Jul 2002
Posts: 704
Location: UK
|
Posted:
Wed Apr 16, 2003 6:00 pm (21 years ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
well said, dave |
________________________________ It's turtles all the way down... |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by adam Find all posts by adam](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) |
![](images/spacer.gif) |
|