this post was submitted on 17 Jun 2026
3 points (55.6% liked)

Web Development

5693 readers
181 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 3 years ago
MODERATORS
 

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?

all 44 comments
sorted by: hot top controversial new old
[–] Pieisawesome@lemmy.dbzer0.com 1 points 3 hours 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++

[–] olafurp@lemmy.world -1 points 8 hours ago (1 children)

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.dev -1 points 6 hours ago* (last edited 6 hours 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.

[–] spartanatreyu@programming.dev 25 points 1 day ago* (last edited 1 day ago) (1 children)

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.

[–] underscores@lemmy.zip 13 points 1 day ago (2 children)

Do you mean a server side language ? What is a filesystem framework ?

[–] FiniteBanjo@programming.dev -5 points 1 day ago (2 children)

So, I am no expert, but, usually "tech stacks" have 2 or more parts:

  1. Frontend Framework: Vue, Angular, React, etc

  2. Backend Frameworks comprised of Content Delivery Network (CDN) such as CloudFlare, Database such as MondoDB or MySQL which efficiently stores and serves non-binary data, and a FileSystem which efficiently stores and serves binary data such as images and videos.

The benefits of using an isolated FileSystem solution is that it can be much more secure and easier to implement.

But idk, I'm an ameteur at best.

[–] python@lemmy.world 5 points 17 hours ago (1 children)

I'm not quite sure what you're looking for, but the term "non-binary data" is sending me haha

Anyways. I've used Laravel for about a year now, and it's ..fine. I don't like the push towards AI slop or their constant attempts to push their own cloud services or whatever onto you either, but it hasn't been much of a hassle to just ignore that part.

What I like about Laravel is just how opinionated the framework and the documentation is (like how it wants you to build Factories and set up proper test data when making new database Entities, and how the Inertia routes encourage a clear schema). It's also been pretty pleasant to get the basics right out of the box, like proper auth and login functions. And I like the kind of stuff that you can do with blade templates! I'm using them to serve dynamically generated SVG files and it works really well.

I haven't really needed any sort of crazy file management things though, so my opinions might be completely irrelevant to your use case. In fact, my Laravel project is really not set up for any sort of large data, since that's just not a thing I need. I'm running it in an AWS EC2 instance (the smallest one, as that's included in the AWS Free tier) with just an sqlite database right in there. If I suddenly wanted to manage files in my application, I'd probably be looking at doing that with AWS S3 buckets. Which would work I guess, but I personally really prefer interfacing with S3 buckets via AWS Lambda, and those work much better with Node, Go, Ruby or Python. I'd probably be leaning towards Node, since that's just what I'm most familiar with. Doesn't mean that it's the choice I'd recommend, because your project might have completely different technical requirements! Web dev is a confusing clusterfuck of edgecases.

If Laravel looks like it works for your requirements right now I'd say go for it. No one knows what the future looks like - it could be completely enshittified in a year, or it could be totally fine because the maintainers have just been riding the AI hype for marketing clout while still making a decent framework. If you stick to decent coding practices, switching to a completely different framework really won't be the end of the world.

Alternatively, since you're looking to hire someone for your project, maybe just focus on finding the most capable engineer you can and let them choose whatever tech stack they seem fitting? They'd probably have a much better understanding of your requirements and could make choices that work well together contextually.

[–] python@lemmy.world 1 points 15 hours ago

oh, I also just remembered: You might like Zig! They're a C-based language, not a framework, but they're staunchly anti-ai. If complying with your moral compass is something you want to pursue (which I think is valid, I think most devs wish they had the breathing room to do that) you might want to consider it!

I've looked it up and apparently there is a zig-based Web framework called Jetzig. I have never used it or heard about it before, but at first glance the functionality it offers seems solid enough.

[–] expr@piefed.social 15 points 1 day ago* (last edited 1 day ago) (1 children)

I think you're using the word "framework" quite broadly here. Cloudflare and databases aren't "frameworks". The word is perhaps ill-defined, but generally it means something like "an opinionated library ecosystem in a programming language". React, Vue, and the like are Javascript "framework" libraries for making what are called Single Page Applications. They are hardly the only way to make websites, though, and some (including yours truly) believe them to much more trouble than they are worth for most purposes.

Laravel, Django, Ruby on Rails, etc. are all backend/server-side "framework" libraries for creating Multi-Page Applications, or in other words, the model for which the web was originally designed (that is, you get HTML and follow links embedded in that HTML to get to new pages).

At any rate, a "file system for a website" is quite vague. It really depends on what your goals are. You have to define what is you're trying to do and who it's for. It's not particularly difficult to spin up an sftp server to allow remote access to files if all you care about is remote copying, but I'm going to assume you mean a file server served over HTTP(S).

There's about a million tools out there for serving up static files, getting a directory listing, etc., and it really depends on your goals. It's fairly simple to configure nginx to serve up a directory with a very rudimentary index if you don't need anything fancy (nginx can do fancy too, ofc, just takes more work than what comes out of the box). I personally like Caddy over nginx these days, though. Caddy in particular requires very little configuration, honestly.

But yeah, without more information about what is is you're trying to accomplish, it's difficult to give specific recommendations.

[–] tapdattl@lemmy.world 4 points 1 day ago (1 children)

Are you intent in programming it yourself? Does it have to be in PHP? There are several open source file server projects, SeaweedFS and RustFS to name a couple

[–] FiniteBanjo@programming.dev 0 points 1 day ago* (last edited 1 day ago) (1 children)

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 5 points 1 day ago (1 children)

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

[–] FiniteBanjo@programming.dev 0 points 23 hours ago

Ty for the reply, I will look more into SeaweedFS.

[–] rimu@piefed.social 3 points 1 day ago (1 children)

Laravel has been around for a long long time (decades?) so I'm pretty sure whatever AI stuff they're adding are optional packages that can be ignored if they're not for you.

[–] FiniteBanjo@programming.dev -2 points 1 day ago* (last edited 1 day ago)

If somebody could confirm or deny this with more certainly I would appreciate it.

TBH there really is no trust to be given when the maintainer is a slopper, so I would worry about potential updates ruining the whole project.