Book Image

ASP.NET 3.5 Social Networking

By : Andrew Siemer
Book Image

ASP.NET 3.5 Social Networking

By: Andrew Siemer

Overview of this book

Table of Contents (19 chapters)

Categories


Categories are the highest level container of board posts that we have in our system. It is responsible for grouping forums together in such a way that makes it easy for a user to locate what they are most interested in. At this level we will keep a count of how many threads and posts we have as well as who made the last post and when. The reason that we maintain counts at this level is to remove the need for us to perform the count each time we display the category data.

Forums

A forum is a container of threads. It is responsible for grouping together a more specific set of posts. This too keeps a count of thread and post counts so that we can see at this level how much data lies within, again without needing to sum the actual post and thread counts.

Threads and Posts

Threads and posts are technically identical with the exception that a post is not a container of anything. A thread is the next level container of data below a forum. It is a post that is marked as a thread...