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
      7
      ·
      5 days ago

      Bro, you need to stake a step back and take a few breaths.

      if you have a rudimentary understanding of tech stack terminology, then you know what FikeSystem [sic] refers to in this context.

      No we don’t, because your context is incompatible with reality.

      A filesystem is just a way to format data.

      A filesystem framework is a way to create/manage a format of data.

      Neither have anything to do with Web Development.

      NodeJS:FS […] It is literally called a FileSystem in the docs, take your complaints up with them

      The first sentence on their docs explicitly say: The node:fs module enables interacting with the file system in a way modeled on standard POSIX functions.

      It’s not a file system, it’s a module for interacting with a file system.

      Same thing with Laravel:

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

      An abstraction (like everything else in laravel), not a file system.

      If that still doesn’t convince you that Node and Laravel are not file systems or file system frameworks, consider the fact that Node also has a module called OS and Laravel has a module called database. Is node an operating system? Is Laravel a database?


      Please be polite, lest you risk self-burn ironies such as these:

      A simple search could do you a world of good, pal.

      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.

      I’m an ameteur at best.

        • VonReposti@feddit.dk
          link
          fedilink
          arrow-up
          4
          ·
          5 days ago

          Maybe you should heed your own advice. If you’re an ameteur, dont argue with experts. The experts are only correcting you so they can help you. They need to understand what you want below the garbled mess of tech words, otherwise you’ll just get random advice that won’t work for you. You don’t go to the mechanic either and say “I need an asphalt on my car.” That is what you’re saying right now because you spend 5 seconds somewhere seeing the word “asphalt” when reading the docs about a wheel, completely ignoring everything around that word that said “the wheel is the part of the car touching the asphalt”

          If you want advice, don’t sound like a self-righteous bastard when it is offered or people are trying to understand what you mean.

          • FiniteBanjo@programming.devOP
            link
            fedilink
            arrow-up
            1
            ·
            5 days ago

            You know what, you’re absolutely right. You should keep your advice to yourself and go find a productive discussion to have elsewhere.