title: association of posts in wordpress for query - two questions
body: <p>I am a beginning web developer building my website idea in wordpress. In my website I am planning on having two custom post types, call then type A and type B. I would like, for a user to be able to query all the type A posts that are associated with a specific type B post and the reverse as well (all the type B posts that are associated with a specific type A post). So, I guess my first question is what should my approach be to do this? Should I be using categories, custom taxonomies, just storing some array of meta information in each post detailing which posts of the other type are associated with it, or some other approach?</p>
  
  <p>My second question is how to go about querying this information and then displaying it to the user. I mean, I realize this is kind of a simple question but how is this generally done? Are all the posts queried and sorted on the server in php and then passed to the client machine? If so, does one have to run some javascript to display the first 5 results on page 1, the second 5 on page 2 and so on? Or, are each 5 results queried in batches as needed?</p>
  
  <p>I realize this question may be kind of vague/naive. I am just beginning. Thanks in advance.</p>