473,395 Members | 2,192 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Why should I learn PHP ?

Hello folks,
I have been programming with Perl then with Python for about 7 years.
But I have heard a lot of praise about PHP but I would like to know
what is so nice with PHP and if it is worth starting to learn PHP.
Cheers,
L.B.

Jul 17 '05 #1
7 2819
On 23 Apr 2005 03:47:44 -0700, py****@hope.cz wrote:
I have been programming with Perl then with Python for about 7 years.
But I have heard a lot of praise about PHP but I would like to know
what is so nice with PHP and if it is worth starting to learn PHP.


Depends what you want to do with it. Have a look through:
http://www.php.net/manual/en/introduction.php

--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #2
Why shouldn't you learn PHP?

PHP is for web application development. If you're doing web development
you need to know about and learn PHP.

Perl was designed for the command-line, shell executable world, and adapted
to the web, it was never ideally suited to the web, and had to be adapted to it.
Perl is very useful, but has many limitations to it that make it less than
ideal for web application programming. ( Perl is on my list of favorite
tools right next to PHP )

PHP was designed for the web, and can be adapted for the command-line,
the inverse of Perl. I've found plenty of use for PHP on the command
line for a lot of uses similar to Perl.

Make no mistake, both are powerful, and both are important. Both are
used for web applications, but PHP is the most popular simply because
it is designed for web applications. It is also FREE, unlike a lot of
other web application languages, i.e. ASP, Coldfusion.

If you stop by Netcraft and look at what the dominant technologies are
with respect to what businesses are using, you'll see what the trends
are, and why learning PHP makes sense if you are doing applications on
the internet.

First, the apache web server dominates the net:

http://www.netcraft.com/Survey/Reports/0504/
http://www.netcraft.com/Survey/Repor...nt/graphs.html
Next question, what to use with Apache?
Apache uses modules and dll's to make it work with different
configurations. What are the most popular modules?

http://www.securityspace.com/s_surve...pachemods.html
http://www.securityspace.com/s_surve....html?mod=UEhQ
http://www.php.net/usage.php
So, by the numbers you can see it's important to at least know
why learning PHP is important if you are going to do any kind
of serious web application development. Many, if not all of the
most popular shopping carts use PHP, so more reasons to use PHP.

Hope this helps you get going with PHP. PHP also has better
date routines than Perl, something Perl should have fixed
years ago.

Maybe Python will emerge as another tool and important to the web,
e-commerce, etc. But it hasn't caught on like PHP. You should
also investigate CURL, which is being used more and more with
PHP.

-DG-

py****@hope.cz wrote:
Hello folks,
I have been programming with Perl then with Python for about 7 years.
But I have heard a lot of praise about PHP but I would like to know
what is so nice with PHP and if it is worth starting to learn PHP.
Cheers,
L.B.


Jul 17 '05 #3
py****@hope.cz wrote:
I have been programming with Perl then with Python for about 7 years.
But I have heard a lot of praise about PHP but I would like to know
what is so nice with PHP and if it is worth starting to learn PHP.


Depends on what you wants/needs are. Since you have been using other
platforms for a couple of years without ever touching PHP I'd guess you
don't need it, but maybe you want to increase your experience in
alternatives. PHP is quite popular for serverisde "HTML/www" scripting
(but certainly not limited to it).

With your experience it should be enough to take a look at phps
reference, howto handle variables, functions, classes etc. to see if you
like the syntax and to scan the available library functions to get an
idea what can easily be done with it.

Jul 17 '05 #4
py****@hope.cz wrote or quoted:
I have been programming with Perl then with Python for about 7 years.
But I have heard a lot of praise about PHP but I would like to know
what is so nice with PHP and if it is worth starting to learn PHP.


PHP is more widespread then Python - through being bundled with
the Apache web server from its early days - and can be conveniently
embedded straight into what are otherwise ordinary HTML documents.
--
__________
|im |yler http://timtyler.org/ ti*@tt1lock.org Remove lock to reply.
Jul 17 '05 #5
py****@hope.cz wrote:
Hello folks,
I have been programming with Perl then with Python for about 7 years.
But I have heard a lot of praise about PHP but I would like to know
what is so nice with PHP and if it is worth starting to learn PHP.
Cheers,
L.B.


If you like Perl, but want your code more readable, PHP is very nice. There
are many many other strengths but since you mentioned Perl, thought I'd
bring that one up.
--
Kenneth Downs
Secure Data Software, Inc.
(Ken)nneth@(Sec)ure(Dat)a(.com)
Jul 17 '05 #6
Data Goob wrote:
Why shouldn't you learn PHP?

PHP is for web application development. If you're doing web development
you need to know about and learn PHP.

Perl was designed for the command-line, shell executable world, and
adapted to the web, it was never ideally suited to the web, and had to be
adapted to it. Perl is very useful, but has many limitations to it that
make it less than
ideal for web application programming. ( Perl is on my list of favorite
tools right next to PHP )


Allow me to add that PHP also runs on the command line with all of the
strengths of Perl. We adopted it for precisely this reason, that we could
use the same language for web apps and for OS scripts.

--
Kenneth Downs
Secure Data Software, Inc.
(Ken)nneth@(Sec)ure(Dat)a(.com)
Jul 17 '05 #7

<py****@hope.cz> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Hello folks,
I have been programming with Perl then with Python for about 7 years.
But I have heard a lot of praise about PHP but I would like to know
what is so nice with PHP and if it is worth starting to learn PHP.
Cheers,
L.B.


The nicest thing is the documentation. Both the core language features and
the external modules are very well documented. And everything is in one
place. Have a question about image manipulation? Go to www.php.net. Have a
question about compression? PDF creation? Go to www.php.net. Most entries
contain examples and good advice can often be found in the user contributed
notes.
Jul 17 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Rob | last post by:
i know javascript, vbscript, asp css and alot more and im only 14 i was wondering which is easier to learn php or cgi. any help?
42
by: Bicho Verde | last post by:
I have now free time and money to do what I want :-) I have some basic skills in programming (C, Pascal, Macromedia Actionscript) but don't know exactly what to do in the world of programming. And...
55
by: Elijah | last post by:
I have read many of the topics on learning C++ or Java first. It seems like everyone says something different. I would like to know if I should learn C++ or Java. First a little about myself. I...
30
by: Rhino | last post by:
I am giving some thought to applying for some jobs that want people with Java and C++ experience. I have been writing Java for several years and am fluent enough that I don't have to get help with...
8
by: Hermawih | last post by:
Hello , I want your opinion about this . In order to say it clearly , I think I have to describe it in long sentences . I could consider myself as Intermediate/Advance Access Developer ;...
21
by: TAM | last post by:
Hi, I read that ASP.NET uses VB.NET instead of VBScript. I also read that ASP.NET is a subset of VB.NET. So if I learn VB.NET first then do I have the knowledge for programming ASP.NET...
85
by: abhi | last post by:
hi everybody am new to this group and help me to learn C
31
by: anand devarajan | last post by:
hi friends, im anand im just a beginner in c learning for the past two weeksnow i can write simple prgs can anyone help me to get well known to c lang so that i should able to write even tough...
34
by: pandit | last post by:
hai all, i want to become a good programmer. one of my friends ( named "arnuld", he posts here infrequently), taught me Lisp. so i am not a programming beginner. i have heard these 2 points....
65
by: Chris Carlen | last post by:
Hi: From what I've read of OOP, I don't get it. I have also found some articles profoundly critical of OOP. I tend to relate to these articles. However, those articles were no more objective...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.