• thisfro@slrpnk.net
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I’m sure there are a lot of reasons why PHP is better than Python for the backend, but I created an app wirh Symfony 5 and then an app with Django 4.

    Symfony is so weird compared to Django. With Django I can just sit down and get things done. Symfony always seems to have some quirks which are mostly due to PHP (and me not knowing how to program in PHP).

    That said, PHP hosting is so much easier and cheaper, this probably is important for smaller projects.

    • SokathHisEyesOpen@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      You don’t need a framework for PHP. That’s the beauty of it, you don’t need anything. You cannot build a website with Python without a framework.

    • locuester@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Isn’t all hosting containerized at this point? Is hosted, language specific servers still a thing?

      I’ve been out of the market for a while now and just run everything as containers on aws and gcp

      • thisfro@slrpnk.net
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Many older projects don’t get migrated to containerized infrastructure and smaller businesses don’t want the overhead it creates to run a single app/webpage. Plain LAMP with FTP access is still the most common way to host I think (and thus the cheapest if you consider the amount of work that would need to be invested to containerize).

        • locuester@lemmy.zip
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 year ago

          Interesting. I never really realized how it was more my path changing than the entire industry.

          • thisfro@slrpnk.net
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            The industry is surely changing, but “the industry” is mostly geared towards enterprise, because it’s where the money is. But the large amount of webpages are not enterprise pages but personal blogs, small businesses etc.