Results 1 to 5 of 5
Like Tree2Likes
  • 2 Post By quad64bit

Thread: UML Class Diagram for web app

  1. #1
    immortal is offline Member
    Join Date
    Jul 2012
    Posts
    10
    Rep Power
    0

    Default UML Class Diagram for web app

    Assistance needed for a UML class diagram for users accessing a web application, what class(es) would be the best to use?

  2. #2
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,798
    Rep Power
    7

    Default Re: UML Class Diagram for web app

    With such little information you should get plenty of help!

  3. #3
    immortal is offline Member
    Join Date
    Jul 2012
    Posts
    10
    Rep Power
    0

    Default Re: UML Class Diagram for web app

    Quote Originally Posted by Junky View Post
    With such little information you should get plenty of help!
    Well, more specifically this web application is a customer data collection form. I already have the class for the customer, looking for some feedback as to what other classes should be considered for a web application.

  4. #4
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default Re: UML Class Diagram for web app

    This is a very open ended question, much like "I have a dictionary with 3 words in it, what other words should be considered?". You need to identify what components would be required for such a system. Ok, you have users, so what do you do with them? Can they do things? Is there data? Are there security controls? are there views? It goes on and on. The answer to your question could be between 1 and 1000 additional classes, it all depends on your requirements.

    A good practice exercise: Think of a machine you are familiar with. I can be something simple like a can opener or something complex like a car or engine. List the components on a sheet of paper. You have now identified the core 'classes' of your machine. You can even map out their relationships and cardinality; create a full UML diagram for the machine. So, now think of your web application as a real machine, with real moving parts. What would those parts do, and what would you call them if your web app had cogs and gears and other moving parts and was sitting on your kitchen table? Then remember that Object Oriented Programming is just an analogy to what we do with real, tangible things, and begin to list and draw out this system. You can draw pictures of the system if it helps, labeling modules and parts and whatnot. Then build your UML from that.
    Fubarable and Zyril like this.

  5. #5
    immortal is offline Member
    Join Date
    Jul 2012
    Posts
    10
    Rep Power
    0

    Default Re: UML Class Diagram for web app

    Quote Originally Posted by quad64bit View Post
    This is a very open ended question, much like "I have a dictionary with 3 words in it, what other words should be considered?". You need to identify what components would be required for such a system. Ok, you have users, so what do you do with them? Can they do things? Is there data? Are there security controls? are there views? It goes on and on. The answer to your question could be between 1 and 1000 additional classes, it all depends on your requirements.

    A good practice exercise: Think of a machine you are familiar with. I can be something simple like a can opener or something complex like a car or engine. List the components on a sheet of paper. You have now identified the core 'classes' of your machine. You can even map out their relationships and cardinality; create a full UML diagram for the machine. So, now think of your web application as a real machine, with real moving parts. What would those parts do, and what would you call them if your web app had cogs and gears and other moving parts and was sitting on your kitchen table? Then remember that Object Oriented Programming is just an analogy to what we do with real, tangible things, and begin to list and draw out this system. You can draw pictures of the system if it helps, labeling modules and parts and whatnot. Then build your UML from that.
    Thank you!

Similar Threads

  1. How to generate Data Flow Diagram(Work Flow Diagram)
    By stsivaraj in forum AWT / Swing
    Replies: 1
    Last Post: 12-23-2010, 12:21 AM
  2. class diagram for creating forum
    By 10e5x in forum New To Java
    Replies: 7
    Last Post: 11-28-2010, 03:00 PM
  3. UML class diagram generator!
    By renegadeandy in forum Advanced Java
    Replies: 5
    Last Post: 04-11-2009, 08:08 AM
  4. Need a plugin for Class Diagram generation
    By pesho318i in forum Eclipse
    Replies: 0
    Last Post: 12-03-2008, 02:00 AM
  5. Replies: 0
    Last Post: 08-28-2008, 06:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •