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?

  • 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.