[wp-hackers] Time for a wp_post_relationships table?

Lox lox.dev at knc.nc
Tue Aug 3 20:23:31 UTC 2010


2010/8/4 scribu <scribu at gmail.com>:
>> Eg: I have my movies and actors custom post_types. To make the
>> relation I _mirrors_ actors (title + short description) to a custom
>> taxonomy actors_tax and then apply the right tax term(s) to each
>> movie.
>>
>
> With the approach I'm envisioning, the only thing mirrored will be the post
> id.

Well having the post title mirrored is a must have. This allows ,for
example, to select and display a movie actors list _without_ querying
for the actor post... Saving database queries when possible is good.

-- 
Lox
lox.dev at knc.nc


More information about the wp-hackers mailing list