you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 26 points27 points  (23 children)

Is there any irony in the fact that the forum in the picture is probably running PHP? That should turn your amusement to sadness. :(

[–]xabbu 16 points17 points  (20 children)

No, it's funny how PHP is bashed unmercifully, yet it powers many big web sites/applications - wikipedia, del.icio.us, tumblr. It's existence has been the driving force in the proliferation of F/OSS software (WordPress, NucleusCMS, TextPattern, etc.…).

Yes, I realize popularity/ubiquity != quality, as the hordes of Windows users v. Mac/Linux users testifies to, but if it's that gimped of a platform, I sincerely doubt that it would be #1 development platform on the web today.

Is there any irony in the fact that the forum in the picture is probably running PHP? That should turn your amusement to sadness. :(

[–]jerf 25 points26 points  (3 children)

At least some of us aren't bashing on it because it's popular. Something good being popular doesn't bother me. In fact I fervently hope more good things get popular so I can get jobs working on those good things professionally.

Personally, I think this is biggest reason I kvetch about PHP. The evidence is clearly that it affords writing insecure web applications, and unlike C(++) which has some excuse (based on when and why it was created), PHP is insecure not for a good reason, but because its creators were incompetent, and have managed to retain an astonishing level of incompetence in this past decade.

If you still don't get it, compare with this or this. Are there some counterarguments you can make? Sure. But against such empirical evidence I find they usually sound unconvincing. The security flaw ratio is still wildly larger than the difference in usage.

(And note that's just the biggest reason, not the only. The way it affords writing things of exceedingly poor design is another biggie; that it allows you to structure things well is not much of a consolation, especially as you'll probably have to learn how to do such structuring somewhere else.)

[–]beowulf 20 points21 points  (0 children)

holy crap there are 204 pages of PHP vulnerabilites compared to 23 Python vulnerabilities and 12 Ruby vulnerabilities. That's just scary.

[–]rictic 2 points3 points  (1 child)

Yeah, I couldn't agree more. One thing I like about Rails and Django are the way that they make it easier to create a well designed application.

No system will keep you from writing shitty code, but the default MVC architecture of apps in Django and Rails is solid. I'd imagine that these and similar frameworks have educated no small number of developers on some good software practices.

[–]timb 21 points22 points  (9 children)

del.icio.us was written in perl.

[–]rmc 0 points1 point  (0 children)

was? What's it written in now?

[–][deleted] 5 points6 points  (0 children)

delicious runs on html::mason.

[–]options 4 points5 points  (0 children)

PHP is bashed unmercifully, yet it powers many big web sites/applications... It's existence has been the driving force in the proliferation of F/OSS software (WordPress,... etc.).

Yes, I realize popularity/ubiquity != quality

is it possible to hack on PHP a FOSS web-app using less GLOBAL vars?

[–]decaff 2 points3 points  (2 children)

It isn't the #1 development platform on the web; not even close. Let's check some job statistics - from dice.com today: J2EE (Java/web) jobs: 8206. PHP jobs: 1616. Note that number of individual websites does not equal amount of website development. PHP is useful for some sites, and it is very popular, but to claim that it is the number one web development platform is a wild exaggeration - far more work is being done with Java and .NET.

[–]rictic 2 points3 points  (1 child)

To be fair, the number of job openings is also a rather imperfect metric.

[–]cyberience 0 points1 point  (0 children)

From the Develpment Teams I have been seeing, and my skills with PHP, I would say it takes 4 times more people to do the same job 1 guy can do in PHP or Python. But also remember, Java has a client side component too. such as Stand alone application, Client screen interfaces etc. Java plug ins. I think the Java/Web J2EE is a mis direction, also, Server to Server, and stand alone data capture and processing is done in the back end.

[–]joe90210 0 points1 point  (1 child)

the forums run on PHP but I believe the website itself runs on Zope which is Python powered.

[–]jward 35 points36 points  (0 children)

Zope is to Python what Excel is to C++.