I don’t know if it’s due to over-exposure to programming memes but I certainly believed that no one was starting new PHP projects in 2023 (or 2020, or 2018, or 2012…). I was under the impression we only still discussed it at all because WordPress is still around.

Would a PHP evangelist like to disabuse me of my notions and make an argument for using PHP for projects such as Kbin in this day and age?

  • iliketrains@kbin.social
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Modern PHP is quite performant and nice to work with and it’s still improving! Also frameworks like Laravel is very established.

    When comparing the time when I use PHP and JavaScript, I love the simplicity and versatility of JavaScript but PHP’s strongly typed (with runtime support) and object oriented language often make more sense imo.

    I think the strong benefit of using JavaScript for backend comes down to being able to have unified full-stack codebases, one language fits all kind of thing.

    • werni@kbin.social
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      “PHP’s strongly typed and object oriented language” - man, PHP has come a long way!