The PHP Scalability Myth
Subject:   Major differences
Date:   2003-10-16 10:39:44
From:   altjeringa
PHP is purely stateless. processing can not live beyond the life cycle of the request response loop. The article downplays this as though the only thing persistance is used for is storing cookies and session data, very backward thinking. This is trivial when building old school web applications but is a huge deal when running real applications which have a web interface. Try building an application in PHP which takes a data set, processes it for and hour and then stores the results for the user when they return. You could hack together a php / c application that'd probably involved a couple of shell scripts, a cron entry, and some major security holes. JAVA makes this relatively easy, secure and self contained.

Another issue totally ignored is that php is strictly a webpage tool. Try writting a client app that does it's core busness logic on a server, let's say via SOAP. That's not very scalable. Yes I'm familiar with the cli and that quirky tk interface.

php is not scalable precisely because it is not an end to end solution. it does simple web apps and does them very well. it shouldn't try to be Java, they are two totally seperate beasts.

1 to 7 of 7
  1. Re: Major differences
    2003-10-17 15:12:17  anonymous2 [View]

  2. Major differences
    2003-10-17 11:19:47  anonymous2 [View]

  3. Major differences
    2003-10-17 10:17:16  anonymous2 [View]

  4. Major differences
    2003-10-16 13:42:51  anonymous2 [View]

  5. Major differences
    2003-10-16 13:18:31  anonymous2 [View]

    • Major differences
      2003-10-21 14:37:17  anonymous2 [View]

  6. Major differences
    2003-10-16 10:53:17  anonymous2 [View]

  7. Jack Herrington photo Major differences
    2003-10-16 10:51:26  Jack Herrington | O'Reilly Author [View]

    • Major differences
      2003-10-21 14:25:23  anonymous2 [View]

1 to 7 of 7