|
|
|
|
|
by andjones
5533 days ago
|
|
The fact that many PHP projects end up in unmaintainable spaghetti code is a mark against the programmer and not the language. Take your average PHP programmer and force him/her to code in Ruby and the same mess will result. The fact that PHP has so many "noob" programmer is indicative of its success in creating so many great projects and websites. We have made PHP so easy that even your grandmother can do it. From the article: If you are capable of making wise software design decisions, PHP is a great choice to build your web application with. |
|
I'd wager it's so easy that even your grandmother can do it /badly/, while putting her business or data at risk.
More seriously:
Frameworks or languages that make it easy to be secure by default are a lot better, both for newbies who don't know better, or for old hands who slip up once or twice.
The simplest example I can think of to illustrate the difference:
(Say "name" is "<script src=xss.js></script>". The former is vulnerable, the latter is not. Both are just as easy to write.)