home resources search newsjoinmembers: 6958
PHP Flash Java Ruby Windows Linux
Hiveminds's picture

Hiveminds | Wed, 2006-11-22 08:28  tags: ,

PHP while not the top programming language does dominate the web. It is seen as being easy to learn and can be used on any webserver. So PHP is gaining popularity by leaps. But PHP is also approaching the end of its development life cycle. The language itself is close to the point where it can no longer grow. When you look at PHP6 you can see the trend in development is turning towards cleaning up. This is a sure sign that things are close to being finished. That and the fact that all new features have been passed over.

ASP vs. PHP

ASP had one thing over PHP that PHP will never be able to do. ASP could be extended using Visual basic or C++ easily. The extensions are powerful and simple to read. Despite all the griping about "dll hell" ASP extendability is still a useful technology that is still in use today. Yes, I am a Microsoft Certified VB Developer so I am a bit biased. But I still have not found anything in the LAMP world that comes close to the Microsoft IIS, Visual Basic and ASP combo. But the technology has other shortcomings that can not be ignored or overcome.

It is important to remember that Microsoft saw these shortcomings in ASP and recognized the signs of its end life cycle. This is why they went forward with ASP.NET against all the controversy and protesting.

PHP is not easily extendable in comparison to other languages. In fact the only extensions that are getting made are by those that work on the PHP core or are partnered with Zend somehow. Even so very few extensions are being created. PHPs extension repository PECL is gathering cobwebs and dust. PECL is something that could be shutdown and not one PHP developer would protest.

Evidence of the problems with extending PHP is the PHP6 proposal for dropping the dl(). This is the function used to run third party extensions within a PHP application. Most web hosting companies do not allow the use of the dl() function. Those that do probably are not worried because even in advanced PHP web development there usually is not one programmer that can make use of it.

Writing a Ruby extension

Extending Ruby is very easy. If you are running your own server or have access to an advanced shared hosting environment, extending Ruby is a joy in comparison to PHP. The thing about Ruby is that it is not quite ready to take the place of PHP. Ruby's popularity is so dependant on Rails that learning the Ruby language becomes difficult. Ruby also has to be installed so using eRuby or Rails is not a default possibility. In the world of shared web hosting PHP remains king.

Writing a PHP extension

Writing a simple "hello world" PHP extension is a joke that no one gets. Showing developers how to do it brings total silence to any room. Where is the scaffolding and IDE that would make this easy?

OOP Hell

Getting full OOP into PHP probably will never happen. Namespaces, Modules and other ideas for making the OOP paradigm easier to adhere to are not going to happen before PHP developement ends. The truth is that the PHP structure does not allow for the necessary changes without starting from scratch somewhere. We all know how dangerous this can be.

Just take a look at Perl6 and you will see what PHPs future would be like if they tried to do something like "PHP Next" and build a new Zend engine from scratch. The other choice is to systematically start breaking things. This while a decent solution if done right could have a backlash effect and bring PHP popularity down. Regardless Zend probably will not try either option. It is also doubtful that any group will take the Zend Engine which is BSD licensed and try to re-engineer it into something better. Though it would be nice to see someone at least try.

Zend and [n]

Zend is happy to marry PHP several times over to whatever technology that is interested in having it. This is because they do realize that PHP as a standlalone language has reached its limits. It can no longer try and provide the robustness that other languages have without becoming truly complicated and unmanageable. .NET and PHP is a good combo and so is Java and PHP but PHP by itself will always be a web scripting language. This because rather than trying to hack to PHP architecture to allow it to provide needed extensions into the supporting operative system and webserver, the PHP core developers can leave that work over to another workhorse like .NET or Java.

In the end PHP may become like Coldfusion, a front-end for another more robust programming language like Java. So there will be not a "PHP killer" coming along. PHP core development will go on for a short-time more perhaps for two or three years (version 6.x) and then flatten out. The web will advance in such a manner that the limitations of PHP will be noticed more. Similar to ASP, PHP will just become accepted as is without any push for advancement and leave the community waiting for the occasional bug fix. PHP will still be popular for some years to come but mostly because it will enjoy the same favor that Perl had when it was considered to be "the" web programming language.


Happy Publishing!

Hiveminds's picture
This article brought to you by the Hiveminds Magazine - Staff. Contact us if you want to post an article or announcement anonymously
Thoughtbox - So what did you think?



a Visitor posted on: Fri, 2006-11-17 17:16.

Ruby's popularity is so dependant on Rails that learning the Ruby language becomes difficult. Ruby also has to be installed so using eRuby or Rails is not a default possibility in the world of shared web hosting where PHP is king.

Man, just give up. I'd rather see you explain how nice it is to write ASP extensions rather than read a muddled explanation of something you admit you don't understand very well.

a Visitor posted on: Fri, 2006-11-17 17:36.

You obviously live in a cave. Any Google search shows articles about how Rails is what launched Ruby into the limelight and is what is making it more popular everyday. Articles written by Ruby and Rails developers.

Do some research before you try to flame someone.

a Visitor posted on: Fri, 2006-11-17 18:30.

Have you actually written an extension for PHP? Is PECL really dead when two new extensions were added this past week? Your solution to this dilemma you have created (that also runs on almost everything out there) is...?

Not very helpful.

a Visitor posted on: Sat, 2006-11-18 08:57.

Rubuy has not life without Rails. But all of Rails power is only small part of power that PHP has.

Ruby has Rails.

PHP has CakePHP, SolarPHP, Zend Framework, Symfony that are all more powerful than Rails.

So who care Rails?

a Visitor posted on: Sat, 2006-11-18 19:18.

Everybody knows Apache is the best...u better do some research befor saing that...
Does IIS support...REWRITE and many other nice things that made it superb like .htaccess files :D u r noob man

a Visitor posted on: Tue, 2006-11-21 16:04.

I certainly hope that I will never see in the LAMP environment something like IIS, which is one of the worst applications I have ever seen. About PHP, it will maybe die if the developers don't decide to change the path they are working on. Real OOP is needed and a lot of classes.

a Visitor posted on: Tue, 2006-11-21 21:05.

The end of PHP?

No way.

Feature for feature, someone will always prove that PHP isn't as good as another language. But it's been proven over and over again that the "best" doesn't always win in the end. There are simply too many hard core PHP programmers out there that will never switch.

Deal with it. And move on.

a Visitor posted on: Thu, 2006-11-23 09:23.

As a ZCE (Zend Certified Engineer), I've been developing client side (Command Line scripts, GUI app using PHP-GTK) and server side applications using PHP for about 2 years now. I develop with PHP primarily because it is in the main operating system agnostic.

If I have a client who wants an app for their Linux box then fine. If they also HAVE to have it on some guys windows laptop, then guess what, it is fine! Truly minimal recoding (most of which is just using built in directives rather than actual changes in logic and this is done at design time cause I know that not all OS's are the same - that's a good thing).

As Marco Tabini says in his rebuttal to this article (available at http://blogs.phparch.com/mt/?p=130), PHP is about choice. I leave the choice of what platform, what server, what operating system to the client. If I tell them they MUST buy a particular brand of server/OS/etc or pay for a particularly restricted form of licensing, then they will go elsewhere.

For me, PHP works. And it works everywhere.

A point raised here was the lack of an IDE. I am confused by this. I choose to do my coding in an editor which supports auto-completion and instant help lookup for the builtin functions as well as for my own classes and functions. I can build developer orientated documentation for my code without resorting to an external help editor simply by having it as part of my code (phpDocumentor and docblocks).

Whilst I learnt to do HTML by hand, I know I can use Dreamweaver for my Smarty Templates. I believe you can even do your PHP coding in Dreamweaver.

I have a choice. I can do it how I want to. So can anyone else. I'm not tied to doing things the MS way.

Regards,

Richard Quadling.

a Visitor posted on: Thu, 2006-11-23 21:09.

PHP is the most versatile Language in the market. Others have some great features but just simply fail. I work in Web Development and we have truely tried all aspects of other languages... always looking to see what is new. And do we get something over PHP? Sometimes... sometimes we get a small function that is cool that PHP can't handle, but we always dump it cause most times, with x language, thats all we get. PHP is always the winner. Why? True multi-platform development. We get the job done with PHP on every major platform and by combining it with other languages it is absolute power. I see PHP evolving quite well. It will take its place as a standard. That is it's eveolution. Lets be honest, in web development, it pretty much is the standard. Other languages may come along, but I don't think they are going to outcast PHP's huge shadow.

a Visitor posted on: Fri, 2006-11-24 18:02.

I understand youre coming from MS/ASP background... but please before publishing such article... please try to research a little more. I seriously doubt anything will be so lightweight as well as portable (between OS/Architecture/Webserver App) in the recent years.

Also youre title of the article is measleading. Unless the core developers publish such notice that PHP is approaching its life cycle, I dont really see how you claim such thing. I really do think hiveminds should do better than such articles.

As for IDE... please... try to "use" some IDEs before you make such claim. You'll find IDEs in different colors/os/licence/brands/performance etc.




 
CMS Comparison Matrix

Newsletter

Get updates on Hiveminds services, articles and downloads by signing up for the newsletter.

Editor's choice

Some of the better articles, stories and tutorials found at Hiveminds.

Find more

Find more of Hiveminds articles, stories, tutorials and user comments by searching.




Picked links

Hand picked websites and articles from around the web that provide quality reading.