• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

how to devlop javaranch type forum

 
Ranch Hand
Posts: 817
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi how to develop forum like "java ranch forum" i mean
i was thinking of its logic but stuck in one part that how to save and display the reply of others to particular subject started by one user
sugessions will be appreciated


Regards,
Amit
 
Ranch Hand
Posts: 704
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In your database you will need a Topic table, each topic will have an ID and can accept one or more posts. You would also store the user's ID in every post/topic they create and therefore would be able to sort by postByUserId

HTH
 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In otherwords, you need to develop a database schema to store the information about the forum. Most likely you will want to access this database using ASP.

(And as Ernest said on another forum, you should ask your question only on a single forum. It makes it easier for people to follow the conversation this way.)

Layne
 
Marshal
Posts: 16597
278
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Layne Lund:
Most likely you will want to access this database using ASP



We do not tolerate blasphemy/heresy here!


 
amit taneja
Ranch Hand
Posts: 817
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ya sure i will not post my query in more then one forum as it was my first qurery and thought that more ppl will reply so i posted on 4 forums

I m sorry for that...........

but I wanted to develop the forum in JSP and other database...
just only to learn the concept..
thats it

Thanx
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Junilu Lacar:


We do not tolerate blasphemy/heresy here!




Oops, Freudian slip. :roll:

I really did mean JSP. Honest!

Layne
[ November 19, 2004: Message edited by: Layne Lund ]
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by amit taneja:
ya sure i will not post my query in more then one forum as it was my first qurery and thought that more ppl will reply so i posted on 4 forums

I m sorry for that...........

but I wanted to develop the forum in JSP and other database...
just only to learn the concept..
thats it

Thanx



This is a huge project, so you should break it into smaller pieces. You might not want to go as far as writing out a formal design, but some amount of design is necessary. What different parts will you need? As you have said, you need a database and some JSP code. What kind of information do you need to store in the database? How will you organize the data? If you need help with this part, you should visit the JDBC forum where database topics are discussed here at the Saloon.

As for the JSP code, how will you organize your code so that it is easy to maintain and make changes as you go? What classes do you think you need to write this program? What are each of these classes responsible for? For general design considerations and proper OOP techniques, you may want to visit the OO, Patterns, UML and Refactoring forum for help with specific questions. When you finally get to coding, you should go to the JSP forum for help with JSP syntax and APIs.

So to sum up, you need to come up with some kind of design and decide how you are going to solve this task. Writing some things on paper will definitely help you keep organized.

Good Luck and Keep Coding!

Layne
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic