Hi,
Just looking for a little advice about object design.
I'm making a CMS of sorts that has generic posts.
The posts come in different types, like news, blog, forum, etc.
Further, the posts belong to threads. Some posts have a null thread ID, so those are the threads themselves, then the posts with the thread ID of that parent post are the comments / replies to that post.
So, should I make a switchable object Post so that it can have children of its own type? Or should I create a Thread object and a Post object?
Further, should I create threads and posts for specific types, like articles or blog posts or forum posts, or just have threads and posts with a type property?
Thanks in advance.
Copyright (c) Marimer LLC