• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Social Network class hiearchy

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,

I'm trying to build a social networking website in JSP & Servlets. I'm wondering what basic and advanced model classes I should include.
So I'm stuck at this step to implement my classes.

Please help.

Thanks in Advance.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's a pretty early step to be stuck at.

I'm assuming you've used other social sites--what classes do you believe you'd need so far? In other words, how far have you gotten?
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As with any other class modeling exercise, start with a list of the various things that will be a part of the model. I'll start the list with one, you continue:

  • Member

  •  
    David Newton
    Author
    Posts: 12617
    IntelliJ IDE Ruby
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    (Although... if we're talking a real-life social hierarchy, I don't want to play, 'cuz I'm always at the bottom :(

     
    author & internet detective
    Posts: 41878
    909
    Eclipse IDE VI Editor Java
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Before design, you probably want to think about requirements. What is a "social networking website" ? What does it do?
     
    David Newton
    Author
    Posts: 12617
    IntelliJ IDE Ruby
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    It highlights how socially isolated I am. All we really need is a picture and a "0"--might not need any classes at all.
     
    Aditya Bhasale
    Greenhorn
    Posts: 6
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Thanks a lot for replies.

    I have included some classes like

    User/Member
    Group/Community
    Media
    Profiles
    Messages

    I just need to know what other classes I could implement.

    Also, please suggest me any presentation framework for the same.
     
    Bear Bibeault
    Sheriff
    Posts: 67747
    173
    Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    You seem to be misunderstanding how things work. You do the work, we help. We do not do your work for you.
     
    David Newton
    Author
    Posts: 12617
    IntelliJ IDE Ruby
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Aditya Bhasale wrote:I just need to know what other classes I could implement.


    You *could* implement an essentially infinite number of classes--it depends on what you want or need to do. Without any actual requirements, it's impossible to help.
     
    Jeanne Boyarsky
    author & internet detective
    Posts: 41878
    909
    Eclipse IDE VI Editor Java
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Aditya Bhasale wrote:Also, please suggest me any presentation framework for the same.


    JSF, Spring MVC, Struts 2, plain Servlets/JSPs. You could use any framework. Without requirements or knowing what you want to learn, this question doesn't have much meaning.
     
    It is difficult to free fools from the chains they revere - Voltaire. tiny ad:
    a bit of art, as a gift, that will fit in a stocking
    https://gardener-gift.com
    reply
      Bookmark Topic Watch Topic
    • New Topic