Every web programmer has different opinions in what they think is the best web programming language for certain tasks. Speed, ease of use, flexibility, learning curve, popularity and feature list are a few criteria you can use in “judging” a programming language.
Take a look at the positives and negatives that I see with the PHP language.
PHP is a relatively new programming language. It showed up on the scene when the internet was just taking off. People have always had choices in different programming languages to use to produce websites.
You’ve got Microsoft (that uses different languages), Java, Python, Ruby on Rails and many others. But what makes PHP different is that unlike the others, it focuses on website development. It was made to easily integrate with HTML. It is free and very simple to install. It supports many different operating systems. All these factors contributed to what made PHP standout, and this is why it took off as fast as it did. To see how popular PHP is, take a look at how it compares to all of the other programming langues with the TIOBE Community Index. Keep in mind that this chart isn’t based on languages specific to web programming…which makes it very impress that PHP is #4.
Is PHP the best programming language to build websites with? I can’t answer that, and I don’t think there is a concrete answer that covers every scenario. Also, the definition of what is “best” changes depending on who you talk to. Some people think code development speed is the best factor. Others would consider the size of the open source community. Others are looking for more defined frameworks integrated into the system.
I think PHP is a good investment because it is not going to go anywhere. Unlike some of the other options, PHP has a huge open source community and is used by more than just a small group of niche programmers who come out with amazing websites with other technologies. If I am looking at investing into my future as a company, I am going to look for something where it will be the easiest to find a replacement programmer. If I pay for an awesome site created in a very niche programming language, and my programmers leave, it could up a major issue or expensive in finding a replacement.
I’ve programmed with other systems such as C# and ASP .Net, and none of these compare with where I think PHP is going. I’ve used a little bit of Ruby on Rails and Python (can you say Django). All these have different advantages, and there are a few that I believe improve the productivity and code development speed in producing websites. But I don’t know if these are going to be around 10-20 years from now. This isn’t to say that as a web programmer you shouldn’t learn these languages. In fact, you might find in learning these languages that you can double your salary at other companies. I wouldn’t limit myself to knowing only how to work with one language (even PHP) over a long period of time.
PHP does have weaknesses that are not present in some of the other web programming options. The flexibility that PHP offers, also means that the possibility for someone to write nasty code that works (for now) goes up greatly. Bugs that you would never have to debug for in other programming languages can come up and be a major pain to figure out.
Be educated in how you are investing your time. If you are paying someone to produce a website, make sure you know what languages they are using and be comfortable with what they are using in producing your website. If you are PHP programmer, great! Keep getting better, but don’t think that even PHP is 100% guaranteed to be hear in the long haul. You never know what might end up happening!
15 thoughts on “PHP: Cheap. Easy. Fast. Flexible.”
Funny to see plain old C climbing in popularity in the TIOBE list.
That is interesting. The list provides some interesting info that I wouldn’t have known otherwise.
[…] Roane has shared some of his thoughts on PHP, both the good and the bad (and its future) in the latest post to his blog. People have different […]
You completely rushed through the weaknesses of PHP, making this just another PHP fanboy article.
Instead of being a critic, why don’t you offer some constructive criticism?
I like people being critical, if they add to the conversation. The statement “You completely rushed through the weaknesses of PHP, making this just another PHP fanboy article.” is not adding to the conversation. Please, share with us what you think is missing in the article…
I personally didn’t think it was necessary to go into specific details with the negatives of PHP with this article, just because I think they are obvious.
Well you kind of misled me at the beginning of the article.
“Take a look at the positives and negatives that I see with the PHP language.”
You give 4 paragraphs of positives, and a few sentences of negatives. Sound balanced? Well maybe if you’re FOX news.
“I personally didn’t think it was necessary to go into specific details with the negatives of PHP with this article, just because I think they are obvious.”
The benefits of PHP are completely obvious, so why bother writing this blog post? The downfalls would actually be fresh content.
Sorry I came off harsh, but if you tell the reader you’ll discuss both sides of an issue and you don’t, it’s pretty irritating.
Okay, that makes a little more sense. I can see that if you based the whole article on that one sentence how you could be misled. I don’t claim to be the best writer, and this is something I will keep in mind going forward.
I’m not asking you to like my content. But if you are going to be critical of the article, please post specifics (like what you did with your reply). This is how adults communicate. Otherwise, I’m going to delete the comment.
I find your comment on Fox News ironic, as I feel the exact same way about msnbc. 🙂
Joseph, if you have better article then this, please post it. otherwise shut up
Wasn’t misled by the title, but being that I am looking to start in one of the web programming languages I would have liked to see more in-depth info on the bad side. I am either going PHP or Rails, and I haven’t decided which. I am leaning towards PHP because of how many people use it.
It ultimately doesn’t matter. People will always claim one is better than the other. Below is my opinion.
With Rails, you may end up making a little more, since it is more of a niche language than a wide spread option. PHP is more popular and you will probably have many more options going this route. I also think it will be easier to find a job as a PHP dev than a Rails dev…but I could be wrong about that.
[…] Subscribe to the comments for this post? […]
building websites is not only fun, but it can also generate an income for yourself -‘;
[…] Subscribe to the comments for this post? […]
My def favourite is PHP, not only is it full of features, a quick search online and you will easily find a solution to most problems, plus the official PHP.net site is really well documented with examples. I started out with ASP and it was a nightmare trying to find out how to do the basic bits and pieces
As I have said, this is a business enterprise tool. It’s not really a miracle machine. It could easily change into an additional expense if you don’t put the effort and time into learning how to make the most of it.
Comments are closed.