PHP Becoming More Popular
IO ERROR pastes "'PHP has earned the title "Programming Language of the Year 2004" with a positive delta of more than 3 percent within 1 year. The launch of PHP version 5 is generally regarded as a further step to maturity. It is expected that PHP will be capable to maintain its top 4 position for a long time,' according to the TIOBE Programming Community Index. 'The index is updated once a month. The ratings are based on the world-wide availability of skilled engineers, courses and third party vendors.'"
According to the data on my SkillMarket site, php (on the languages page) is holding steady. The data tracked is a bit different, however (Job listings vs search engines hits).
Software Wars
I have to say im happy about java going down, but about perl, i feel quite the opposite. mod_perl is still the best tool for me - thanks to the flexibility - not php.
It takes a man to suffer ignorance and smile
Be yourself no matter what they say
...that PHP is becoming more popular. It is fast, can be developed quickly, uses familiar C style syntax, and was designed from the ground up to be a web language (unlike Perl et al). For about 90% of web applications, PHP is perfect.
What is surprising to me is that PHP has a rating of 9.5%, while Perl has a rating of 7.4% (declining).
Looking at SkillMarket, there are far more Perl jobs than PHP (2629 vs 312). Why the discrepancy between SkillMarket and TIOBE?
From TIOBE's ratings explanation:
The ratings are based on the world-wide availability of skilled engineers, courses and third party vendors.
It could be:
1. That PHP is more popular outside of the US (and SkillMarket only tracks US jobs).
2. That PHP generates approximately the same number of courses, books, etc. than Perl does. After all, if there are 9x as many Perl jobs as there are PHP jobs, that doesn't mean that there would be 9x as many Perl books or courses as there are PHP books or courses.
3. Perhaps PHP has more of a following among amateurs - hobbyists who build web applications, but don't hold jobs as PHP programmers.
cmon man... just cuz you're a slashdottin' geek, does it mean you're not allowed to use normal english?
If you look at the hierarchy, you'll see that Perl dropped by 2.14 percent. Python rose by 1.7 percent. This is not a perfect mirror, but it does hint that Python may be sapping a bit of Perl's strength. However, it is just as likely that some of PHP's gains were also at Perl's expense.
What's weak about my analysis is it assumes that a developer only showcases one skill, which is not the case. That is, this needn't be a zero-sum game.
Although, I speculate some of the Perl decline is due to PHP's ascendency in the web world and some is due to the Perl6 due to come out. All I read keeps promising that Perl is making a radical change. As a former Perl developer, I know that affects my decision on what language I'll focus on learning in the future.
What those who want activist courts fear is rule by the people.
If you're just starting to develop web sites and you're reading this article, you better ask yourself.. do you want to shoot for the bottom 90% or the top 10%?
Do you want to use the "popular" language? Think about what else is "popular" in the computer world.. Windows? IE? Bad web design? Bad coding?
I know, for some simple things like adding today's date to a web site, PHP isn't any different than anything else. But do you want to use a language that can't grow with you?
I'm just saying, look what's available FIRST. Check out a few environments and languages. THEN decide if you really want PHP because everybody else is using it.
And no matter what you use, please html-escape all your output and verify all your input.. please!!! I'm amazed that html-escaping all output by default still isn't available in 99% of frameworks.
Sick of the problems with PHP? Badly implimented APIs, web pages with ugly code buried everyplace doing things that it should be?
Try PSE! It cures warts, common colds and PHP!
http://nick.borko.org/pse/
Ciao!
The Doctor What (KF6VNC)
To me, it seems like PHP strikes a good balance between the strengths and weaknesses. It's got much of the same sort of flexibility and text-handling capability that Perl does, but not so much so that it suffers from the same degree of wild variability that Perl is accused of having.
The "C-like" syntax makes PHP very similar in style to a variety of other programming languages (C, C++, Java, etc.), so it will seem at least somewhat familiar to people who have programmed a bit in other languages.
PHP has support for "object-oriented" programming style, without actually REQUIRING it (unlike, say, Java [or Python?]), so both OO and procedural programmers can feel somewhat comfortable with it.
PHP has a lot of built-in functionality to simplify dealing with connections over the network, e.g. to web servers, ftp servers, database servers, etc. - this and text handling are PHP's two biggest strengths in my opinion. Note that in my own experience I've found the PHP is useful for a lot of the sort of non-web-based "command line" administrative tasks that traditionally have been handled by Perl.
Or in summary - PHP is a nice "middle-of-the-road" sort of language. It's not the "best" language for very many programming styles, but it IS "pretty good" for a lot of them, so regardless of one's own preferred style PHP will usually not be completely uncomfortable.
My own, possibly misguided opinion, obviously...
Hacker Public Radio is our Friend
(it's a joke,damnit !)
With that aggravating beauty, Lulu Walls.
...those are all examples of things that are popular among non-experts. They are popular in popular culture, not with people who know much about computers, music, politics, film, or science.
With PHP, it's a different story. It's not that my wife (non-expert) thinks that PHP is hip and Python is lame. It's that I (expert, used loosly at least) think that PHP is a great way to develop a simple web application.
But you're right, that Fockers movie was f-ing _terrible_.
Heh, PHP is rising in popularity, just as I'm moving away from it. Seems I still manage to avoid the mainstream languages. :-) Or maybe it's just that I know more now than 5 years ago...
...)
Seriously, when I first learned PHP, I thought it was the best. Here's a language specifically intended for web development, with familiar syntax and function names, and support for everything you might need.
These days, I think PHP is an inflexible language, full of kludges to make up for it. I've grown to dislike C syntax, and I also feel the typical (in PHP) mixing of PHP and HTML is bad (what if you want to generate a different output format?).
Also, I have learned that good general purpose languages can often be used instead of a given special purpose language. About the only requirement is that the language be flexible enough, and has the needed libraries. There are several languages that fit the bill for web development (Ruby, Python, Common Lisp, Perl,
Please correct me if I got my facts wrong.
I believe that PHP should be taken for what it was meant to be: a flexible web language. Yeah, it can also do some command line scripting, and it can be quite good at it. But just by browsing through php.net and looking at the built-in functions, you can see that it's obviously geared towards web use first and foremost. My website uses PHP exclusively, and we've been able to do some pretty amazingly interactive stuff with it, in combination with MySQL.
Man, I think that this company is completely crap. They use google, yahoo and msn search to determine which programming language is most prominent. Is that the best market research one could think of? So what kind of queries do these guys use in order to assess language presence, engineer availability and courses? The explanation on the company's page is *extremely* vague, the results should thus be taken with a huge grain of salt.
Secondly, why have they chosen PHP to be the language of 2004? Has anyone seen those trend graphs? There's quite a lot of variance, so I wouldn't bet any money on PHP holding position at #4, it has just popped above basic and perl, but that could change all again next month. When I'm looking at that graph I would say that java is definitely the loser of the year, losing an amazing amount of presence in comparison with others. But the number uno programming language in their study just must be C, climbing the given rating better than any other language in 2004.
But, as I said, I can't give any credit to these guys' methods, so I don't believe any of these trends and results either.
Heh I just noticed these manager-ass-licking no-nos work on the same campus as where I'm working.
Every now and then I get a (7 month?) itch to have a closer look at PHP, usually something turns me right off it, like the following:
PHP in contrast to Perl
Python vs PHP
Unless a special purpose language has really good reasons putting it head and shoulders above a general purpose language for a given task, I'll go the general purpose route. I have yet to see the reasons for using PHP stack up to more than 'it handles sessions etc for you' and 'its what every web host offers'. That may be reason enough for some for sure.
I've set up the odd PHP command-line app to do things other than munge web pages, and found that for anything longrunning, you have to edit or override a setting in php.ini that specifies the HTTP timeout, so it won't timeout your PHP system daemon/batch job processor. Aside from the rest, somehow that tells me everying other than 'web monkeywrench' was an afterthought.
The graph shows that, since Dec 01, Python and Delphi have varied in popularity, but have been almost the same as each other - sharing a big increase in 2004, and the same small fluctuations over the last 5 data points.
Amazing coincidence? Or dodgy data?