Why are most DNMs coded in (mostly) PHP?

I'm just wondering why markets are coded in PHP, and not Python, Rails, etc. Security issues? What separates PHP from other languages? I've always seen PHP as a messy, inefficient, language.

Any thoughts?


Comments


[3 Points] williamj2543:

Anyone who says "PHP" is messy inefficient obviously haven't used it, or haven't used it past PHP 5. Theres a reason why its the biggest language used to make websites.


[3 Points] benz421:

IMHO because they are shitty coders.

If you look at your local university: the top notch coders, if they do a public project, whom are they working for/with? A very interesting one, where they can excel at their skill learning new cutting edge technologies. Something that they could prudly put in their CV. They wanna learn, not get paid much, so they end up in one of the very cool OSS projects. From there point of view: perfect choice, imagine if you get out with a MSc. and having quite a bit more to show for than your collegaues.

Also forget any black hat hacker theory. If he's good he doesn't need to code a webshop to earn money, one that comes with the eventual life imprisonment.

If a white hat who likes to hack, go to a security company where you can do some penetration testing, then you canyou can do all the elite hacking stuff totally legal with great salary.

So why would any coder get involved in a project like a DNM? It's not the most interesting piece of software to write. After all it's just a webshop. It's not the best guys of your soft-eng class, they are taken by the industry very early. Not the worst either, because they don't know php since it's not used at university. Someone who doesn't know what is on the line not only for him, but for a pretty large community. There are vendors who switched to this full time, they have to feed their family (judge that however you want). So you get an average coder who has no clue where he got himself into, maybe even becoming a head of the project. Dangerous position for anyone other than a real pro. That's my conclusion after seeing a list with all thos real security faux pas.


[3 Points] Inthewirelain:

I'm just wondering why markets are coded in PHP, and not Python, Rails, etc. Security issues? What separates PHP from other languages? I've always seen PHP as a messy, inefficient, language.

Then it is possible you are a messy, inefficient developer. PHP has a lot of traps but like any other language it is what you make of it - and it's run most of the dynamic web for over 2 decades. It's easy to pick up and to read and edit, it's pretty quick and it's tried and tested. Plus, need a library to interact with bitcoind? No problem. Captcha? We got ya. Password security? This library was made 15 years ago and its still secure. The younger languages and especially those lesser used in web dev will have such a wealth of libraries to choose from.


[1 Points] mymuse100:

It beats ruby.. want them to code in python ? There arent to many backend lang that can scale


[1 Points] None:

[removed]


[-1 Points] bootyhumper:

idk why everyone ITT is defending PHP. other languages are better and easier to use. personally I like c# and java..