i worked, Kakuri, to implement this. Another unfinished project - but it should end up as soon as i could have a decent feedback on the db engine migration (somebody is working on this) (ie: either i wait, either i continue without it).
The goal is to allow other DB engines, and not only MySQL. The goal is to totally replace XML (introduced back by Etaew because he dev with this feature), by a traditionnal DB engine file oriented: SQLite. Thus we have a totally normalized data interface, and we are not keeping 2 data. management systems. And as the work is done for another engine (SQL flattening to allow SQL92 norma), this must lead to use MySQL, SQLite, PostgreSQL, MSSQL, because they all have a working ADO.NET driver.
But back to SP organization.
Structurally, i added a new field in serverproperty table, called structure, pointing to the id field on the new serverproperty_x_category table, which have the following structure:
id, parent id, name
with:
id is the id as entered in serverproperty.structure
parent_id is the parent id category if necessary,
name is the name of a category or sub-category. If null, this is the serverproperty.
Example:
we have 2 SPs: rp_rate, xp_rate.
we want :
Settings (category)
- xp_rate (property)
- Rvr (sub-cat)
- Rp_rate (property
table contents:
structure field value for xp_rate = 2
structure field value for rp_rate = 4
serverproperty_x_category
- Code: Select all
id parent_id name
------------------------------
1 0 Settings
2 1 (null)
3 1 Rvr
4 3 (null)
Not sure at all if i'll continue this way (i find it a bit... mhhhh... hard to complete without performing a query with join command). I simply try to find an extensible way to db handle all the organization of SPs.

- new DOLConfig.jpg (45.02 KiB) Viewed 1016 times