[wp-trac] Re: [WordPress Trac] #3723: Tagging

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 11 11:25:39 GMT 2007


#3723: Tagging
-------------------------+--------------------------------------------------
 Reporter:  ryan         |        Owner:  ryan
     Type:  enhancement  |       Status:  new 
 Priority:  normal       |    Milestone:  2.2 
Component:  General      |      Version:  2.1 
 Severity:  normal       |   Resolution:      
 Keywords:  tags         |  
-------------------------+--------------------------------------------------
Comment (by majelbstoat):

 Please can we not reuse the main categories table for tags and make it
 even more monolithic than it already is.  I'm not in touch with MySQL
 engineers or anything, but from my own experience, as well as everything
 I've ever read on the subject, the further you take the database away from
 normalisation, the less maintainable things become.  You'll need more code
 just to do simple things like present Manage->Categories and more SQL for
 virtually everything that touches the Categories table.  We already can't
 even do something as simple as SELECT * FROM wp_categories.

 What would be the purpose of get_the_category returning tags as well?
 People are already complaining that they can't easily get the post
 categories anymore, without also getting link categories.  Honestly, link
 categories shouldn't even really be in the categories table - and you've
 seen all the bad feedback regarding management of this in 2.1, which is at
 least in part due to the merging of those data sources.

 Categories and tags aren't the same thing and having another table isn't a
 bad thing - core only has 10 tables anyway.  And if you're going to be
 joining to the categories table anyway, you might as well join to a tags
 table...

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3723#comment:21>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list