While getting quotes for a site recently the question of filesystem came up a lot and I admittedly didn’t know much on the subject.

Doing some research the popular choices appear to be either PHP frameworks or less often ASP.NET frameworks.

Among popular PHP frameworks I see Laravel come up a lot, open source is certainly more reliable than something maintained by Google, Facebook, or Amazon but currently the Laravel maintainers are pushing AI really really hard.

So is the only real solution to learn to program with PHP without using any frameworks or libraries? Can anybody who has implemented a secure fileserver for a website tell me how difficult or easy it would be to learn?

  • spartanatreyu@programming.dev
    link
    fedilink
    arrow-up
    27
    ·
    edit-2
    2 months ago

    What do you mean “filesystem”?

    That’s the data format that you’ll find on a USB flash drive, hard drive, ssd, etc…

    It has nothing to do with web development, they’re completely separate things.

    What you’re asking makes as much sense as asking: “Which temperature smells best? Words or tired?”

    You’ve gone down the wrong road and we’re not sure how you got there.

    You’ll have better luck if you explain what you’re actually wanting.

        • FiniteBanjo@programming.devOP
          link
          fedilink
          arrow-up
          1
          ·
          2 months ago

          While getting quotes for a site recently the question of filesystem came up a lot and I admittedly didn’t know much on the subject.

          Doing some research the popular choices appear to be either PHP frameworks or less often ASP.NET frameworks.

          Anybody who doesn’t understand what is being discussed after reading that should not be trying to answer, I don’t really have a lot of time to educate every single passerby on the most basic of terminology.

          • Kissaki@programming.dev
            link
            fedilink
            English
            arrow-up
            12
            ·
            2 months ago

            The quoted text makes no sense. It has gaps. And the comment you dismissed seemingly pointed that out.

            Websites don’t have a file system. They serve content as responses.

            PHP is not a filesystem. ASPNET is not a filesystem.

            You could be talking about managing files, you could be talking about sourcing web responses from local files, or you could be talking about something else.

            • FiniteBanjo@programming.devOP
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              2 months ago

              FileSystem Framework

              FileSystem Framework

              FileSystem Framework

              Examples: Laravel, ASP.NET, and NodeJS FS

              Did that clear up your confusion?

              Here is a link to the documentation for NodeJS FS: https://nodejs.org/api/fs.html

              Here is a link to Laravel’s FileSystem documentation with quote: https://www.laravel.wiki/en/filesystem

              Laravel provides a powerful filesystem abstraction thanks to the wonderful Flysystem PHP package by Frank de Jonge.

              It’s fine to be legitimately curious but if you think the question is wrong then you’re arguing with reality.

          • doeknius_gloek@discuss.tchncs.de
            link
            fedilink
            arrow-up
            9
            ·
            2 months ago

            I don’t really have a lot of time to educate every single passerby on the most basic of terminology.

            A simple search could do you a world of good, pal. I’d start at the Dunning-Kruger-Effect and go on from there.

      • ExperimentalGuy@programming.dev
        link
        fedilink
        arrow-up
        7
        ·
        2 months ago

        I don’t think what you asked made sense either. I initially thought you were going to ask a question about different file explorers because thats a relatively common topic, but what you asked made no sense.

        • FiniteBanjo@programming.devOP
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          2 months ago

          Try reading the post and you will see it’s about finding a filesystem tool used in web development such as Laravel or NodejsFS. There is no ambiguity here, this isnt about thumb drives or operating systems.

          • Caveman@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            2 months ago

            That’s a dumb reply. If you count fs from nodejs then you can literally Google “how to [read/write/stream] file in [pretty much any language”.

      • Caveman@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        2 months ago

        Honestly, that was a perfectly reasonable question and you’re being rude. Pretty much every programmer knows what a filesystem is but a filesystem framework is not clear.

        I would have pitched in with questions and suggestions but since you’re being a dick I won’t.