• codydodd@lemmy.ca
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    1
    ·
    5 hours ago

    I hate to sound so elitist but the minute I could stop using php I moved on and never looked back. Sure, a separate backend language is more work but its so much more secure and scalable.

    • rumba@lemmy.zip
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      1
      ·
      5 hours ago

      I get it, it’s rapid. We all used it when we fled from perl/cgi. It had all the features and modules.

      I will say this, in an unpopular defense of AI, Like it or not, the inhuman security audits cometh and they are going to make sure ALL our shit is properly exposed and fixed.

    • jaybone@lemmy.zip
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      2
      ·
      5 hours ago

      Obviously everyone has been moving to rest APIs with js front ends, almost regardless of language and framework. The whole html template approach with server side code rendering has been dead for over a decade. But I’m seeing people still heavily defend PHP here on lemmy in the wake of this recent security incident.

      • spankysalmon@fedinsfw.app
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        3 hours ago

        No it hasn’t. Many modern frameworks have server side rendering as a prominent feature.

        Also, it’s exceptionally stupid to do everything server-side.

      • HerbGrower@slrpnk.net
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        1 hour ago

        Why? I have used it for a few projects, it seems to be fine usually. Great performance for the end user and simple to setup.

        • spankysalmon@fedinsfw.app
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          41 minutes ago

          Because “functional”, and, “an actually good idea as to how to implement something” are two wholly different realms.

          Something everyone defending “AI” will learn the hard way.