Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Flat file database layer #660

joho1968 started this conversation in Ideas
Aug 27, 2025 · 1 comments · 2 replies
Discussion options

Considering the speed and "lightweight-ness" of Flight, wouldn't a "flat file database" class/module be a perfect fit? Storing stuff in JSON encoded files, possibly in a designated directory (optional)? I'm just thinking out loud ...

I get that "AnySQL" DB is a great idea for more complex applications, but for smaller things, maybe JSON encoded text files would further improve Flight's exposure to smallish and fast things.

Or, perhaps this is a very implementation dependent issue? 🤔

You must be logged in to vote

Replies: 1 comment 2 replies

Comment options

I don't hate the idea. You're talking about something similar like Fat Free's Jig component? https://fatfreeframework.com/3.9/jig I'd also have to think through if that's a core component or if that is a different package altogether.

You must be logged in to vote
2 replies
Comment options

Yeah, something similar to that. I personally believe that "flat file database" functionality is a good idea to have in core since storage/retrieval is part of most apps. Not having to mess around with "AnySQL" is nice. But I get that you may want to keep the "core" as tight as possible.

Comment options

Was thinking more about this today, and wondered if an existing library will scratch the itch and we can put it in the documentation for the site as a plugin? https://sleekdb.github.io/ Is one I found that seems robust and simple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /