Hi, I'd like to process a form that either appends the text to an existing file (thread in BBS), or creates a new html file for a new thread. Is Java used for this? Does anyone have sample code for this in Java? Thanks, Dan.
I myself work program in file base in my first job. It is difficult to make sure the file up-to-date.
I think you maintain the bbs in database.It is easy to implement the hierarchy. e.g. who is the poster of this thread and who is the replier of this thread.
Although more programming work is needed when you start writing for bbs. But after you have finished basic function like start a post, reply a post and delete a post(for bbs operator), you may find it is very easy to finish the bbs.
Database also help you to solve the problem of two posts in the same time(it is difficult to solve in file base).
Thank you for the reply (I just got back from vacation). Do you recomment a one to many relationship, new threads stored in one table, and replys in the many table. Dan.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.