• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Creating my forum

clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • 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.
mister krabs
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:

crispy bacon. crispy tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!