Re: Rate anything: new plugin in development, soliciting architecture advice
Derek – You’re right that the queries will be a bit more complex than if you stored your data in a single table, but here’s the thing: You won’t have to write those queries, since they’re all already part of the custom post type API. Or at least, as Paul says, if there are really complex things that can’t be handled by the API, there are adequate filters in place for you to modify the query. But I’d be very curious to hear what the queries might be that the API wouldn’t handle; it seems to me that the meta_query introduced in 3.1 is enough to handle just about anything, without your having to worry about the difference between the posts and the postmeta table.
Another big advantage of post types is that it’ll automatically use any caching solution that the installation has. So, even if the queries are, strictly speaking, more complex than they’d be in a custom table, this can be mostly mitigated by good caching.