Source.

Yep, PHP is turning 30 this year! Wondering if “PHP is still relevant?” Ever since we have been hearing that PHP is dead. It was “dead” 10 years ago, 5 years ago, and “is dead” today. But somehow - it isn’t. Anyway… happy birthday!

  • Frezik
    link
    fedilink
    English
    72 months ago

    AJAX everything is icky. It’s part of what’s made browser tabs take more RAM than a typical desktop had in 1998.

    I exercised all client side JavaScript from an app I maintain. It’s fast, clean, and the back button always works. I just checked on one of the more complicated pages, and according to Firefox’s memory profile, it takes about 2.6MB of RAM.

    Where PHP really goes wrong is mixing HTML and code by default.

    • @[email protected]
      link
      fedilink
      52 months ago

      I exercised all client side JavaScript from an app I maintain. It’s fast, clean, and the back button always works. I just checked on one of the more complicated pages, and according to Firefox’s memory profile, it takes about 2.6MB of RAM.

      Wow, that really is a light weight! What exercise do you have your code perform to get such impressive results?

      • Frezik
        link
        fedilink
        32 months ago

        No JavaScript, just HTML and CSS. Basically no images. The heaviest page dumps 50 rows of logs in a table.

        It’s admittedly a fundamentally simple frontend, but we all know of frontends with a simple job and a not so simple frontend.

          • Frezik
            link
            fedilink
            2
            edit-2
            2 months ago

            I was thinking more in the sense of an exercisism.

            • @[email protected]
              link
              fedilink
              22 months ago

              The belief that exercising one’s code is good? I am certainly all in favor of testing, to be sure!

              (Sorry, I have been having some playful fun at your expense: the actual word you have been reaching for is excise, e.g., “If only I had exercised more, then I would not have developed a tumor requiring excision!”)