• Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating my forum  RSS feed

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers.
I want to create a forum (like javaranch!!) to learn.
but actually, I don't know what is the best database schema to use here.
so, can some one help me here to create this schema ?
ofcours, as I told you, I want to create a forum like java ranch forum (closed topic, hot topic, number of posts.....)
I have downloaded phpbb forum to see if I can learn something, but .....
all I can say is, O MY GOD !!
I don't know why people say that the development of php application is rapid.
I look at the source and I don't understand any thing.
I saw just functions, there is no html tags, and each page is about 1000 line !!!
I want to ask here someone of java ranch moderators if possible (and if this is llegal):
how java ranch knows the (New posts since your last visit) ? can you explain this to me ?
how do you perform the (Closed Topic) ? my first solution is each post has a field in the database to indicate if it is closed or not..
thanks alot.
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaRanch uses a cookie to keep track of when you were last here and compares the date/time of the cookie to the date/time of when the thread/forum was last updated.

For a database solution I would use a column for closed/open.

Here is a Java board currently being developed:

http://www.mvnforum.com/
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!