Python v PHP: fair comparison?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sjdevnull@yahoo.com

    #46
    Re: Python v PHP: fair comparison?

    Luis M. González wrote:
    Cameron Laird ha escrito:
    Perhaps it's timely to clarify the "newer" above: Guido
    made Python public in '89-90, and Rasmus showed PHP to
    others in '94-95.
    >
    OK. But since when has python been considered a viable alternative for
    web development?
    As a generalp purpose language, it's older.
    But as a web development language, it's olnly when people started to
    look for the "rails killer" and many python alternatives started to
    come up (although Django has been in development for a long time before
    all this hype).
    Huh? I've been doing paid python web work since 2000. I'm fairly sure
    that Yahoo! groups predates that by a while, and I know that
    mod_python/httpdapy goes back at least to 1998 (and Python CGI predates
    that significantly).

    Comment

    • Luis M. González

      #47
      Re: Python v PHP: fair comparison?


      sjdevnull@yahoo .com ha escrito:
      Luis M. González wrote:
      Cameron Laird ha escrito:
      Perhaps it's timely to clarify the "newer" above: Guido
      made Python public in '89-90, and Rasmus showed PHP to
      others in '94-95.
      OK. But since when has python been considered a viable alternative for
      web development?
      As a generalp purpose language, it's older.
      But as a web development language, it's olnly when people started to
      look for the "rails killer" and many python alternatives started to
      come up (although Django has been in development for a long time before
      all this hype).
      >
      Huh? I've been doing paid python web work since 2000. I'm fairly sure
      that Yahoo! groups predates that by a while, and I know that
      mod_python/httpdapy goes back at least to 1998 (and Python CGI predates
      that significantly).
      Do not forget the subject of this thread.
      Nobody is criticizing python here. I am a "believer"!
      We are talking about important details that matter when choosing a
      language, and specially when choosing one for web development.
      I'm sure Yahoo, Google and other companies can afford having
      knowledgeable people, hardware and resources to use python they way
      they like.
      The problem is (or was) for mere mortals trying to create a web site on
      shared hostings.

      We all know that mod_python has its issues, and still is not a common
      or affordable feature in the vast mayority of web hosts. And prior to
      that, you only had cgi or other rather unknown solutions.
      mod_php had a clear advantage here. Perhaps not as a language but as an
      ubiquitous and cheap alternative.

      In the last months (and I said "months" not years) the situation
      improved a lot, but still it is a fair to make a comparison.
      My opinion is that python, as a language, is by far a much better
      alternative for any use.
      But php, as a platform, still has a many advantages, being availability
      the main one.

      Luis

      Comment

      • Fredrik Lundh

        #48
        Re: Python v PHP: fair comparison?

        sjdevnull@yahoo .com wrote:
        Huh? I've been doing paid python web work since 2000. I'm fairly sure
        that Yahoo! groups predates that by a while


        </F>

        Comment

        • Paul Boddie

          #49
          Re: Python v PHP: fair comparison?

          Luis M. González skrev:
          OK. But since when has python been considered a viable alternative for
          web development?
          [...]
          The problem is (or was) for mere mortals trying to create a web site on
          shared hostings.
          Yes, that was the "barrier to entry" observation, but you have to
          implicitly narrow the discussion to just that if you want statements
          like the one above to stand. I agree with what you're saying in the
          context of "mere mortals", but for businesses and other organisations,
          who have more control over hosting infrastructure, Python has been
          viable for a long time.
          We all know that mod_python has its issues, and still is not a common
          or affordable feature in the vast mayority of web hosts. And prior to
          that, you only had cgi or other rather unknown solutions.
          True. This kind of thing is what put the brakes on the adoption of
          Webware and similar technologies where you have a long-running process
          alongside the Web server processes: something a lot of commodity
          hosting companies aren't interested in managing. I imagine that
          mod_python could have been an acceptable vehicle for higher performance
          Python hosting, given that you could just add it to the server program,
          but the necessary isolation mechanisms were never developed. (And in
          this context, it's interesting that the principal author of mod_python
          now runs a hosting operation based on Linux-VServer technologies.)
          mod_php had a clear advantage here. Perhaps not as a language but as an
          ubiquitous and cheap alternative.
          Agreed.
          In the last months (and I said "months" not years) the situation
          improved a lot, but still it is a fair to make a comparison.
          The number of providers willing to run long-running processes alongside
          Web server processes has certainly increased, due to an increased
          demand for a certain non-Python Web framework whose technical
          foundations virtually mandate such an environment. Nevertheless,
          WebFaction (as an example of a more flexible provider) has been around
          since the start of 2003.

          Paul

          Comment

          • sjdevnull@yahoo.com

            #50
            Re: Python v PHP: fair comparison?

            Luis M. González wrote:
            sjdevnull@yahoo .com ha escrito:
            >
            Luis M. González wrote:
            OK. But since when has python been considered a viable alternative for
            web development?
            As a generalp purpose language, it's older.
            But as a web development language, it's olnly when people started to
            look for the "rails killer" and many python alternatives started to
            come up (although Django has been in development for a long time before
            all this hype).
            Huh? I've been doing paid python web work since 2000. I'm fairly sure
            that Yahoo! groups predates that by a while, and I know that
            mod_python/httpdapy goes back at least to 1998 (and Python CGI predates
            that significantly).
            >
            Do not forget the subject of this thread.
            Nobody is criticizing python here. I am a "believer"!
            I was responding to the statement "since when has python been
            considered a viable alternative for web development".

            At any rate, I haven't had any problems finding cheap Python hosts, so
            I think that's largely a straw man--there are _more_ PHP hosts out
            there, but it's not as though you're limited to only 2-3 Python hosts.
            There are plenty to choose from.

            Comment

            • Cameron Laird

              #51
              Re: Python v PHP: fair comparison?

              In article <069u24-t0c.ln1@lairds. us>, I reported:

              Comment

              Working...