Women in Technology

Hear us Roar



Article:
  The PHP Scalability Myth
Subject:   CGI model vs. in-process model
Date:   2003-10-17 14:18:16
From:   anonymous2
Response to: CGI model vs. in-process model

But doesn't the CGI specification define the environment variables and such the get your data (such as a GET query string ) into your script even if it is in-process?


So, I was definitly at least half wrong but aren't you still using part of the CGI spec?

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • CGI model vs. in-process model
    2003-10-18 22:27:53  anonymous2 [View]

    Wow, I never realized so many people were confused about what CGI was. There is plenty of information on the W3C's Web site.

    The query string is defined by the URI specification, not CGI. Also, when two separate ideas use some of the same standards, it doesn't mean the ideas are equivalent. Otherwise, I'm sure you could logically argue that Java and PHP are the same thing.

    PHP can run as a CGI or as an Apache module (and in a few other environments). There is a substantial performance difference between the two.