rafangelo / betakore

Automatically exported from code.google.com/p/betakore
0 stars 0 forks source link

Common interface for Database/SQLite #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
* embed a database in BetaKore where we should have:
  * Core interface: used to manage and retrieve data from SQLite, but only for betakore's own functions. should never be used by plugins, and protect betakore's main tables. Any new table should be created manually.
  * Plugin interface: this is how Plugins will access betakore's DB. permit read and write access for the plugin to create it's tables, but it cannot mess with other plugins tables unless they share the same identifier. Access to core tables should be read-only, if the developer desire to extend core tables data, they should create another table. Any new/non-existant table should be created automagically during write actions/requests, so plugins would maintain it's plug-n-play nature. A simpler, store/retrieve only interface should also help and attract new developers.

Original issue reported on code.google.com by marcelof...@gmail.com on 3 Nov 2014 at 5:33