Forum Moderators: coopster
Thinking of a forum in a general way, would creating these types of classes be viable to having a forum run?
classes:
class Thread (Get info about thread, Create new thread, update thread info, edit thread, delete thread)
class Post (Get info about an individual post, edit a post, delete a post, insert a new post)
class Private_msg (create new priv msg, all that good stuff)
class Forum (get info about it, create a new forum, edit a forum)
I just feel lost, and am unsure if i'm doing things correctly.
* displayForum (calls displayThread)
* add/edit/delete Thread (calls handlers inside Thread class)
class Thread:
* displayThread (calls displayPost)
* add/edit/delete Post (calls handlers inside Post class)
class Post:
* display Post