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
    21
    arrow-down
    1
    ·
    3 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
          arrow-down
          6
          ·
          3 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
            7
            arrow-down
            1
            ·
            3 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
              arrow-down
              7
              ·
              3 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
            6
            arrow-down
            1
            ·
            3 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
        5
        arrow-down
        1
        ·
        3 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
          arrow-down
          5
          ·
          3 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
            arrow-down
            1
            ·
            3 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”.

      • Phoenixz@lemmy.ca
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        3 months ago

        Your question makes little sense, and then you tell people to search for… Something?

        Sure! Go to a sub where people are trying to be helpful and give an attitude when they ask you to make sense

        • FiniteBanjo@programming.devOP
          link
          fedilink
          arrow-up
          1
          arrow-down
          6
          ·
          3 months ago

          If you know what PHP, Laravel, NodeJS:FS, etc are, or if you have a rudimentary understanding of tech stack terminology, then you know what FikeSystem refers to in this context. This post has answers and discussion before these sealioning “I dOn’T unDERsTaNd” trolls came in and started brigading.

          If you don’t know then you cannot and should not answer this question.

      • Caveman@lemmy.world
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        3 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.

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

      Are they maintainable long term?

      EDIT: Seaweed appears to sell storage used for the project? Can it not be selfhosted?

      EDIT 2: RustFS: “The fast data foundation for the AI era.”

      • tapdattl@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        3 months ago

        They can both be self hosted, I self-host Seaweedfs personally as part of my backup strategy.

        As far as rustfs’s “The fast data foundation for the AI era.” I believe that’s just marketing to illustrate how capable their product is. Looking at their github contributors history the main contributors all appear human

  • UlrikHD@programming.dev
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    3 months ago

    I’m not sure if you’re masterfully trolling, or genuinely asking for help. But if you’re making a post asking for help, you should be open to feedback and willing to learn from the help provided.

    I’m locking the post as there’s seems to be nothing but arguing with no learning involved. Feel free to send a DM if you want to discuss the decision.

  • Pieisawesome@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    3 months ago

    Dude, you need to chill out and stop attacking people who are attempting to help by asking simple questions to try and HELP.

    You should use fuse and c++

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

    Uhh, just use the HDD and file commands with any service? It’s not forbidden to just serve a whatever file from a REST endpoint.

    If your not doing a Dropbox virtual filesystem or forced to work with ftp/sftp then just make a whatever endpoint and send back a file instead in any language/framework.

    • FiniteBanjo@programming.devOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      4
      ·
      3 months ago

      How about I use a proper FileSystem framework and have proper discussion with people who do? Why are there so many people trying to dismiss the entire discussion? Probably just one guy and his alts, maybe a Tankie I pissed off.