- Joined
- Dec 13, 2006
- Messages
- 11,353
- Reaction score
- 3,179
Hey guys,
I know some of you are probably adept at this, hopefully I can get some good advice. I'm looking at creating a new datastructure and I want it to be GOOD for now and future query-ability.
The question is this... Would you have a Taxonomy table similar to Wordpress or divide into a bunch of sub-tables?
For example, let's just use something we know.. Casinos:
I could have a main table:
TableName: Casinos
Fields: casino_uid, casino_platform_uid, casino_launchdate, casino_closedate, casino_license
TableName: Software
Fields: casino_uid, software_name
TableName: Payment
Fields: payment_uid, payment_method
simple enough. Now, I want to associate 'software' to it (NYX, MGS, Rival, etc..). And then I want to associate 'payment methods' to it (Neteller, ECO, Paypal, etc..)
Do you create:
TableName: BigTaxonomy
Fields: taxonomy_uid, field, field_uid, field_value
or
TableName: Software_Taxonomy
Fields: casino_uid, software_uid
TableName: PaymentMethods_Taxonomy
Fields: casino_uid, payment_uid
Wodpress uses a large Taxonomy table... it would clean things up - but couldn't it get large and un-wieldy?
I know some of you are probably adept at this, hopefully I can get some good advice. I'm looking at creating a new datastructure and I want it to be GOOD for now and future query-ability.
The question is this... Would you have a Taxonomy table similar to Wordpress or divide into a bunch of sub-tables?
For example, let's just use something we know.. Casinos:
I could have a main table:
TableName: Casinos
Fields: casino_uid, casino_platform_uid, casino_launchdate, casino_closedate, casino_license
TableName: Software
Fields: casino_uid, software_name
TableName: Payment
Fields: payment_uid, payment_method
simple enough. Now, I want to associate 'software' to it (NYX, MGS, Rival, etc..). And then I want to associate 'payment methods' to it (Neteller, ECO, Paypal, etc..)
Do you create:
TableName: BigTaxonomy
Fields: taxonomy_uid, field, field_uid, field_value
or
TableName: Software_Taxonomy
Fields: casino_uid, software_uid
TableName: PaymentMethods_Taxonomy
Fields: casino_uid, payment_uid
Wodpress uses a large Taxonomy table... it would clean things up - but couldn't it get large and un-wieldy?