PHP Becoming More Popular 44
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.'"
SkillMarket disagrees... (Score:5, Informative)
About the other changes (Score:1, Offtopic)
It is not surprising... (Score:5, Insightful)
What is surprising to me is that PHP has a rating of 9.5%, while Perl has a rating of 7.4% (declining).
Follow-up (Score:3, Insightful)
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
Re:Follow-up (Score:1)
Let's suppose that there are two start-up businesses with the same idea. Who's gonna win in the long term? The one that will offer services a year before the other or the one that has a better platform (that may not translate into better services for customers), but will start offering its products a year later?
Having said that,
Re:Follow-up (Score:3, Interesting)
Are you talking about ease of installation? Why argue about
Are you talking about the fact that it's weakly-typed and variables do not need to be declared before use? Plenty of
What makes it "easy" (Score:3, Interesting)
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 s
Re:What makes it "easy" (Score:1)
It's always been that way, get used to it. (tha
Re:What makes it "easy" (Score:2, Interesting)
As someone who started with C, then moved to Perl, I found PHP's syntax very understandable and quite managable. Now that I've been learning Java, and seeing PHP5's movem
Re:Follow-up (Score:5, Insightful)
Because while Perl has been in widespread use professionally for a log long time ("Perl is dieing, Netcraft confirms it..."), and so there are a large number of IT professionals that use Perl, PHP has only recently been taken seriously by enterprise class developers, and so has not yet built the volume of qualified professionals yet. It's that simple, no mysteries, no misinterpretations, nothing to see, move along.
Yes but... (Score:2)
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_.
Re:Yes but... (Score:2, Interesting)
You have to use a different scale of "expertise" here - there is a _huge_ difference between the average self-proclaimed "PHP consultant" and someone who actually knows something about (web-)programming.
I'm about finished with a several-month project that I had to do in PHP for the sole
"Positive Delta" ?!?! (Score:3, Insightful)
Re:"Positive Delta" ?!?! (Score:3, Funny)
ok. [ dPHP/dt ] / [PHP(2003)] = +0.03
A More Telling Number . . . (Score:2)
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 ascendenc
Python Servlet Engine is the answer! (Score:2)
Sick of the problems with PHP? Badly implimented APIs, web pages with ugly code buried everyplace doing things that it should be?
Try PSE [borko.org]! It cures warts, common colds and PHP!
http://nick.borko.org/pse/ [borko.org]
Ciao!
Re:Python Servlet Engine is the answer! (Score:3, Informative)
Oh come on... If you are witing ugly PHP code then you don't know the language.
Have a JAVA/.NET developer look at PHP5 and they'll tell you how it exudes enterprise level features.
Add Smarty [php.net] and PEAR [php.net] to the mix and you have one hell of a platform.
Re:Python Servlet Engine is the answer! (Score:2)
Oh come on... If you are witing ugly PHP code then you don't know the language.
Heh, that doesn't really change the argument, does it? PHP I've seen is either: mine or someone else's (or a combination). Mine might be pretty enough, but the vast majority of the code I've seen must have been by people who didn't know the language. Or didn't know how to maintain PHP. Or both.
I'm not surprised ... (Score:1)
(it's a joke,damnit !)
Cuanto me buscan no estoy (Score:3, Insightful)
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,
Re:Cuanto me buscan no estoy (Score:1)
It is bad! You do not have to mix in emotion. It is a plain fact as soon as you move beyond the simplest applications.
But that is not the fault of the language, even though PHP more than other languages may encourage this behaviour. You can mix things that should not be mixed in any language.
You can make your application just as loosely coupled in PHP as you can in most other progra
Re:Cuanto me buscan no estoy (Score:2)
function include_tpl($file, $vars = array())
{
extract($vars);
include($file);
}
there. done. Now you put all your layout in php files maked template and your business logic php code can just include the templates
Re:Cuanto me buscan no estoy (Score:2)
Ciao!
Re:Cuanto me buscan no estoy (Score:1)
How often does this happen[1]? To make GUI paradigms truly swappable and test that they are swappable is a hell of a lot of work, and can add to a lot of annoying indirection in the code. Also note that HTML is an interface, not an implementation. I agree that details of implementation should be wrapped, but wrapping one high-level interface (HTML) with another is perhaps a waste of time and code.
[1] In finance, cos
Re:Cuanto me buscan no estoy (Score:1)
Either way, it is NOT an implementation. Browsers implement it.
PHP is great for what it is (Score:2, Interesting)
7 Month Itch (Score:1)
PHP in contrast to Perl [tnx.nl]
Python vs PHP [w4py.org]
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 enoug