-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System API and SQLite as default DB #27
Comments
sqlite is a good choice of db for something like this, although it might be slightly overdesigning to use a sql db. if we do choose to use a sql db then I suggest creating some kind of library (snakesettings or w/e) for accessing and modifying the database, don't leave that up to users. |
rather than introducing a new dependency, we could also do something very simple like a key->value map stored in memory, stored to disk as JSON or something. Don't want to introduce too much complexity where it isn't needed |
Yes that's the system API. For users to use. We might have a json api, yes to play and get a feel before moving to something serious |
however we end up doing it, it should be implemented in such a way that that users will have no knowledge of the implementation |
Yaps that's what an API is. Maintainers sweat to let users have a cool experience |
It would be nice to have a system api to expose to app devs.
Lets say someone makes an app to tune volume. Instead of he writing his method, he just uses the system way of changing sound. We don't need everything but at least some system things
Also for storage, was thinking of having sqlite to store system info, using sqlalchemy
The text was updated successfully, but these errors were encountered: