Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old September 18th, 2001, 04:49 AM
leoniebr leoniebr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Location: The Netherlands
Posts: 2 leoniebr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile PHP vs. Perl

Hello,

I'm new to CGI-programming (although I made applications in Clipper, so I do have programming experience).
I am now at a point where I have to decide to learn either Perl or PHP. I can imagine that when you are good at one of them, it makes you enthousiastic for that language, but maybe it is possible to compare these 2 languages as to ease of use / learning, database capabilities, availability etc.
If I want to test my programs on my desktop (offline), do I need to have a compiler/interpreter and where can I get it?
Thanks a lot for your time giving me some clues!

Reply With Quote
  #2  
Old September 18th, 2001, 06:06 AM
bumperbox bumperbox is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Tauranga, NZ
Posts: 349 bumperbox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
I learnt perl first and then php, syntax is very similar so you shouldn't have much probs switching between the two.

I find it faster to whip up a page using php, I tend to switch to perl for bigger projects.
Database access is easy in both, although I think php has the edge there
Learning wise I don't think it will matter much either way, both have a lot of tutorials available.

http://www.activeperl.com/
http://www.php.net

Reply With Quote
  #3  
Old September 18th, 2001, 07:48 AM
pieux pieux is offline
Señor Member
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2000
Posts: 1,156 pieux User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 59 sec
Reputation Power: 9
If you are doing it for your own personal benefit, I would learn perl first, because there are other applications for perl besides server-side scripting. If you are doing it to become a web developer and find a job in that field, I would learn PHP first, because that seems to be one of the buzzwords around recruiters, etc., these days.
__________________
Michael

Reply With Quote
  #4  
Old September 19th, 2001, 01:47 PM
Theeggman Theeggman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 266 Theeggman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 33 sec
Reputation Power: 8
Maybe Python?

You might want to consider Python for what you want to do. I started out using PHP now I only use Python. It's modular approach works well in a web based environment. Its not as well known as PHP and Perl but it is definately worth a look.

www.python.org

E.

Reply With Quote
  #5  
Old September 20th, 2001, 02:48 AM
leoniebr leoniebr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Location: The Netherlands
Posts: 2 leoniebr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Python

I'll take a look at Python.
Is it supported by all webhosting providers?
I know my provider has Perl and PHP, but I don't know if Python is also supported.

Reply With Quote
  #6  
Old September 20th, 2001, 10:24 AM
Theeggman Theeggman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 266 Theeggman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 33 sec
Reputation Power: 8
I have looked around at web hosting providers and found that there is a good portion that do support Python. Chances are if they allow CGI access they probably have Python installed.

If you are really interested DevShed just got done with seven part series on Python. It might give you an idea of what can be done with the language.

E.

Reply With Quote
  #7  
Old September 20th, 2001, 11:04 AM
walshs walshs is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 112 walshs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Talking

hi

I learnt perl first at University then i worked for a while making sites using perl. When i got my current job doing PHP i found it easy to pick up and alot better for creating websites because you can embedd the code into the HTML.

Although i still use perl to create more complex web applications so i guess its good to learn one and then pick up the other as and when you need it.

You can do a hell of alot more stuff with Perl just because of all the Modules avaliable at Cpan.org

Waseem
__________________
World Cup Football (Soccer) Forums
http://www.todayinsoccer.com

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > PHP vs. Perl


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway