Thread: Forum Programming Technique

  1. #1
    Registered User
    Join Date
    Aug 2012
    Posts
    33

    Lightbulb Forum Programming Technique

    Hello All,

    In the home page of our forum, lists some latest/recent posts and when we click a post from that, it leads to the individual discussion of that particular post. Here my doubt is,

    where and how they are storing the posts??
    what data structure they are using to program forums??
    How they retrieved in a very short time??

    I would be grateful If someone explains the whole programming techniques of forums.

    Thank you in advance.

  2. #2
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    I'll start by saying that this isn't even remotely a C#-oriented question, so please choose the correct forum next time you want to ask a question.

    Quote Originally Posted by veera View Post
    where and how they are storing the posts??
    In a relational database.

    Quote Originally Posted by veera View Post
    what data structure they are using to program forums??
    I'd imagine there's arrays, linked lists, associative arrays, as well as many others in use here.

    Quote Originally Posted by veera View Post
    How they retrieved in a very short time??
    Proper indexing of database data and fast hardware.

    Quote Originally Posted by veera View Post
    I would be grateful If someone explains the whole programming techniques of forums.
    Go to the vBulletin web site and study it for yourself.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    https://www.google.co.uk/search?q=forum+source+code

    vBulletin (which runs this forum) is closed source, unless you pay some $$$.

    It (for example) uses a SQL backend, and some php to extract data.

    The buttons you see just run php functions.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    phpBB is open source. Maybe you can start looking there.

  5. #5
    Registered User
    Join Date
    Aug 2012
    Posts
    33
    Thank you so much to all!!
    I got a solution for that technique ..!!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. My Programming Technique
    By User-_-Name in forum C++ Programming
    Replies: 1
    Last Post: 01-15-2011, 11:10 PM
  2. Replies: 7
    Last Post: 09-08-2002, 02:20 PM