Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#17477 closed enhancement (maybelater)

Simplify Taxonomy System

Reported by: mikeschinkel's profile mikeschinkel Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords: needs-patch 2nd-opinion dev-feedback
Focuses: Cc:

Description

Mark Jaquith has said he would like to see WordPress Simplify taxonomy table structure by merging term and term taxonomy tables.

Basically the idea (I think) is to merge the wp_terms table into the wp_term_taxonomy table. Will we keep the name wp_term_taxonomy or will it get changed to another table name, with a different schema, of course? And what should the updated schema be? Further, would doing this drive addition of taxonomy meta?

If this is going to be something addressed in WordPress it would be nice to kickstart the process sooner than later. This is coming up because it's a concern mentioned during our object relationships plugin discussion.

Change History (5)

#1 follow-up: @nacin
14 years ago

The general thought has been to denormalize wp_terms and wp_term_taxonomy by adding the name and slug fields to wp_term_taxonomy. This will allow us to avoid a join and ultimately phase out the table. Unfortunately, most of our API passes around term ID, rather than TT ID, so this will end up being nearly impossible. Rather, we'd likely need a new term/taxonomy API - probably object-oriented, if only because we've used up the function namespace for the existing API - that can be built with a future schema in mind.

Any desire to overhaul taxonomy from the ground up will need to come from a series of major discussions on the project's direction, not to mention a scope session, and won't happen in the near future. Sounds to me like that makes this ticket maybelater.

#2 @scribu
14 years ago

Subscribing, just in case.

#3 in reply to: ↑ 1 @mikeschinkel
14 years ago

  • Resolution set to maybelater
  • Status changed from new to closed

Replying to nacin:

Cool! Thanks for the details. I'll set to "maybelater."

Last edited 14 years ago by mikeschinkel (previous) (diff)

#4 @ocean90
14 years ago

  • Milestone Awaiting Review deleted

#5 @mboynes
11 years ago

  • Cc mboynes@… added
Note: See TracTickets for help on using tickets.