Review your favorite Linux distribution.
Go Back > Blogs > In The Middle Of Nowhere [edK's blog]
User Name


In The Middle Of Nowhere

Life, universe and everything...
Blog title (C) Orbital
Rate this Entry

PHP - misleading thoughts

Posted 03-07-2010 at 10:29 AM by Web31337

I've recently used to hear from many guys that PHP is bad and useless language. Well, generally the source of that point of thinking is a bad code written by newbies(or mature noobs).
Yes, I admit PHP has some basic functions missing, some features need to be improved, etc. It's far from ideal language. But it is very easy to learn. The problem here is many beginners starting from PHP without reading documentation properly, without looking for security in their apps, and, as a result we have bad and vulnerable code which can easily be abused. What's more disappointing that those newbies, if they don't told by someone or guessed themselves to improve their skills become bad coders later and they are occasionally get involved with big opensource projects(I won't give examples, you probably can find ones yourself).
Still that's not the reason to blame PHP.

PHP is a good language when you get to know it good and you learn how to write secure code. And also when you'll have your own framework as well, having some basic functions available, missing in original PHP. A few notes I made recently about security for beginner coders: PHP basics: Writing Secure Code. It's important to know that.
There's no reason to blame PHP for most software written with it is stupid and/or insecure. I can say I can't really remember at once of ANY application written on PHP having excellent performance+security mix while there are some on C and other languages. Don't say that's impossible: it is possible, but not easy, it takes time and skills. I'm trying to do that myself. I love opensource and I want it to be clean, that's what inspires me. If you are a beginner PHP coder and you are willing to code opensource, please, think of security when you code anything. Security must be #1 on your checklist.
Posted in opensource, etc, security
Views 2728 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 05:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration