0

I'm trying to write a plugin that would help my local little league manage their league, and though I've read the New Table vs Post Meta question, it's still a bit unclear and I'm hoping someone here might be able to help.

I have the CPT's (Teams, Players and Matches) as well as the taxonomies (seasons, divisions and positions) created, but my main concern is historical data and querying that data.

Is the best way to store player statistics and things of that nature in a separate database table? Is there a scenario anyone could envision where storing that in post_meta would be superior?

0

It's almost always superior to use the standard WP tables. All WP functionality and plugins 'know' about those tables, and have access to them. They are completely oblivious to custom-built tables.

  • Thanks for your input. I guess my concern is primarily focused on the historical aspect of the data. As a player changes teams and divisions, changing the associated taxonomies would change all the historical data with it, would it not? – JohnG Apr 4 '13 at 0:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.