The PHP Scalability Myth
Subject:   maintainability is king
Date:   2003-10-21 02:32:43
From:   anonymous2
Response to: maintainability is king

I'm replying to my post to clarify: I will re-write my PHP apps in other languages when I can now that multi-billion $ competitors have passed me by, but I'm now married to PHP in another way, as PHP is the freshest item on my resume. I've found that skill in this language is shockingly unsaleable compared with things like Java. Check out the help wanteds if you don't believe me. Employers have told me that they look for skills in a more substantive language, like C or Perl, even if the position will be mostly PHP programming because the last is a considerably simpler, derivative language.

If you've been pretty focused on PHP development for a while, your other skills may now be at least a version behind. If you develop a distinct lack of enthusiasm for the language on top of this don't be surprised that this reveals itself at interview. You may then find manning the proverbial hot dog stand looming rather large in your future. The fresh air may do you good but the point remains: think of the children before choosing PHP. :) Somehow that's not as funny on second reading.

Yes, I program alot better in other languages (particularly with a good IDE and clear documentation) but either I'm from Mars or this would be the general experience for the reasons already stated.

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • maintainability is king
    2003-10-24 08:15:04  anonymous2 [View]

    PHP is not highly complex, and it is highly specialized. PHP was meant to be a web programming language. Perl was meant to be a text manipulation language and a general workhorse. Java was built to be a multi-platform development language. PHP as a web dev language is fantastic -- lots of web-related functionality built-in. Perl has that functionality as Perl Modules, adding on complexities which are not compiled into the language. Java has the same thing -- lots of modules and such that need to be added in to make coding for the web easier and less complex.

    True, PHP can't do the millions of tricks that perl and java can do outside of the web world. But PHP can do most everything that a web developer needs to do, and it does it natively. It wouldn't make sense to implement a web server in PHP (although I suppose it might be possible), but it might in Perl or Java. It might be difficult to write an AIM client in PHP, but not so difficult in Perl or Java; but then again, Perl and Java are generalists whereas PHP is very specifically for web development.

    If you are doing pure web development, using a language written specifically with that task in mind makes sense. If you are doing some major huge task that encompasses lots of non-web-related work, it would make more sense to use a more general language.

    I also agree that PHP gives you a limitation in job opportunities. While PHP is a good language for web development, if that's all you know, you can't understand the general aspects of perl or java, and potentially not know things about typecasting or the problems with declaring everything global. I did perl for 5 years, then PHP for the last 4, and while I don't think my programming skills have suffered, I can't say that they have improved significantly since I've been out of the perl pool.

    I program for the web best in PHP because PHP was built for that task; I do other non-web things in perl.