Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question
    
My take on the new-tables-or-no-new-tables question is here: wordpress.stackexchange.com/questions/77511/… –  s_ha_dum Apr 4 '13 at 0:53
add comment

1 Answer

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.

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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