PHP going down?

Visited the php.net website for other reasons than just to fresh up on a function that I was not sure how to use (PHP has the best documentation out there – period. Yes. It. Is. Even. Better. Than. The. C#. Or. VB. Documentation. At. Microsoft. Period!)

How ever, looking at the statistics that you can watch if you click on the links on This page: http://www.php.net/usage.php
You will notice that the usage of PHP is going down. C# is on the rise and so are other programming languages like Python.

I can understand why it is faster to program websites in C# (or .Net), and I do think that PHP should move in that direction. How ever.

I just had an enlightening moment with PHP and Smarty. It is so freakin’ fast to create forms and templates with Smarty that coding websites is more fun.

Earlier it’s been code this, then that and then populate that string. With Smarty you just create the template, look at it and decide that – yes this is what I want my page to look like – THEN – start populating the different elements on the page.
FAN-Tastic!
Still there are things that is easier in a real object oriented language like – for instance – C#. Whereas you’d do this for instance:
string strTest = “This is a text where I would like to replace goosebumps with cheeze!”;
So you do this: strTest.Replace(“goosebumps”, “cheeze”);
Instead of:
$strTemp = “Goosebumps shall be replaced”;
$strNew = str_replace(“Goosebumps”, “cheeze”, $strTemp);

But anyway. This is not a blogpost where I bash on PHP, I am just saying that it seems like the interest of PHP is declining. Maybe the community should do something about it.

Make it easier and more joy able to code websites.

You can leave a response, or trackback from your own site.

Leave a Reply