Standalone Database Library?
Hi all,
Title says pretty much all. Ace3 and its Database module, AceDB, are definitely powerful libraries that I would use for a huge project. However, I found using Ace3 is totally an overkill for my small project and thus I'm willing to find some kind of standalone database library that would manage the addon's SV. Any suggestions? Thank you! |
What kind of SVs are you using, and do you care about profiles? You don't specifically need a library to manage them either.
I'd probably say that using any ace in a small project scenario is probably overkill in general, but if you have plenty of SVs and wanted easily-managed profiles, might as well just use Ace anyway. It'd be less trouble than implementing those manually. |
I think you're laboring under a misapprehension... Ace3 is a family of standalone libraries. Each Ace(whatever)-3.0 library is totally independent of any of the others, with a few obvious exceptions (e.g. AceDBOptions doesn't do anything without both AceDB and one of the AceConfig* libraries to consume the options table it generates).
You can absolutely use just AceDB-3.0. If you're using the CurseForge packager to pull in your libraries, rather than referencing the whole Ace3 repository in your .pgkmeta file, just list the sub-paths to the individual libraries you want to use: Code:
externals: |
Quote:
|
Quote:
So, AceDB object doesn't necessarily be initialized via AceAddon's OnInitialize method? That's a good news! |
Quote:
But, great news from Phanx that I won't need an AceAddon-3.0 to initialize AceDB object and I'll be using it :banana: |
Quote:
Here's how you would adapt the example from the AceDB-3.0 documentation page to use it without AceAddon-3.0. Yellow parts are copied from the documentation: Code:
-- declare defaults to be used in the DB |
All times are GMT -6. The time now is 12:00 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI