On Nov 13, 2008, at 11:28 AM, Damien Katz wrote:


Yes, I mean values as computed values. The main post shouldn't be updated with a comment count or anything computed like that. It's fine if comments have a reference to their parent, and its fine if the comments are tagged as children of the post. This way, when the main post is opened, the comment count can be computed from a view, or when viewing a comment, the user is also shown the parent, and maybe subcomments if its a threaded discussion.



okay that makes good sense - same for RDBMS of course too. basically you're saying 'stay normalized.' i wasn't clear about your meaning of 'values' - which clearly excludes 'ids.'

cheers.

a @ http://codeforpeople.com/
--
we can deny everything, except that we have the possibility of being better. simply reflect on that.
h.h. the 14th dalai lama



Reply via email to