can someone help me with a class diagram?
Watch
Announcements
Report
#2

0
reply
(Original post by UWS)
Post your class diagram here with the specification that you have, I'll try to help you
Post your class diagram here with the specification that you have, I'll try to help you

basically i am making this virtual reality electronic learning application, where the user will be able to move around and then click on a planet, once they click a website opens up with the information on that planet .
oh and also when the webpage opens up, they can then also navigate to more information such as watch a video, take a quiz or see information about the planets moons.
0
reply
Report
#4
(Original post by study beats)
hi, thanks so much for wanting to help
basically i am making this virtual reality electronic learning application, where the user will be able to move around and then click on a planet, once they click a website opens up with the information on that planet .
oh and also when the webpage opens up, they can then also navigate to more information such as watch a video, take a quiz or see information about the planets moons.
hi, thanks so much for wanting to help
basically i am making this virtual reality electronic learning application, where the user will be able to move around and then click on a planet, once they click a website opens up with the information on that planet .
oh and also when the webpage opens up, they can then also navigate to more information such as watch a video, take a quiz or see information about the planets moons.
To me it looks okay for a first draft, I've personally never used aggregation in a class diagram before so wouldn't know how to help there. But there are a lot of improvements to be made.
Some things to point out
- Player interacts with the map so there should be a relationship between Map and Player
- If this is gonna be for a final year project you really should be looking at the Boundary, Control, Entity model. A lot of these like SoundManager and VideoManager are classed as a controller which interacts with an entity. This means a video is a class, and so would sound and texture, each containing attributes of their own. The webpage itself would be a class too.
- What is the application control, is it a form of GUI?
- You are missing a quiz class as well. Why is quiz an attribute in your planet object?
- You might want to rethink your attributes. Make sure you uniquely identify your entities with ID values, e.g. player, planets and map (if there are multiple maps)
- Is there a database which holds the information? if so, you need to include this in your class diagram.
- Operations and attributes should ideally begin with a lowercase letter. Classes begin with an uppercase letter.
0
reply
(Original post by UWS)
It sort of helps if you have a use case diagram as well. Your class diagram is based off your use case diagram.
To me it looks okay for a first draft, I've personally never used aggregation in a class diagram before so wouldn't know how to help there. But there are a lot of improvements to be made.
Some things to point out
It sort of helps if you have a use case diagram as well. Your class diagram is based off your use case diagram.
To me it looks okay for a first draft, I've personally never used aggregation in a class diagram before so wouldn't know how to help there. But there are a lot of improvements to be made.
Some things to point out
- Player interacts with the map so there should be a relationship between Map and Player
- If this is gonna be for a final year project you really should be looking at the Boundary, Control, Entity model. A lot of these like SoundManager and VideoManager are classed as a controller which interacts with an entity. This means a video is a class, and so would sound and texture, each containing attributes of their own. The webpage itself would be a class too.
- What is the application control, is it a form of GUI?
- You are missing a quiz class as well. Why is quiz an attribute in your planet object?
- You might want to rethink your attributes. Make sure you uniquely identify your entities with ID values, e.g. player, planets and map (if there are multiple maps)
- Is there a database which holds the information? if so, you need to include this in your class diagram.
- Operations and attributes should ideally begin with a lowercase letter. Classes begin with an uppercase letter.
i will surely look into it, what would be the attributes for quiz?
0
reply
Report
#6
(Original post by study beats)
wow thanks
i will surely look into it, what would be the attributes for quiz?
wow thanks
i will surely look into it, what would be the attributes for quiz?
- quizID
- question
- answers
- correctAnswer
0
reply
(Original post by UWS)
Depends on how you've done your quiz but something like
Depends on how you've done your quiz but something like
- quizID
- question
- answers
- correctAnswer
0
reply
Report
#8
(Original post by study beats)
cheers bro
cheers bro
0
reply
(Original post by UWS)
Are you doing the other UML diagrams like sequence, use case, etc..?
Are you doing the other UML diagrams like sequence, use case, etc..?
0
reply
Report
#10
(Original post by study beats)
yes i have done use case and activity diagram too...and also one simple wireframe
yes i have done use case and activity diagram too...and also one simple wireframe
0
reply
(Original post by UWS)
Okay, use case should help here in your class diagram.
Okay, use case should help here in your class diagram.
also i have been looking into bootstrap like you said to make a website, i have looked at some tutorials online and it looks like its going to take a long time and also really complicated...is there any template i can use?
0
reply
Report
#12
(Original post by study beats)
do you want to see the use case too?
also i have been looking into bootstrap like you said to make a website, i have looked at some tutorials online and it looks like its going to take a long time and also really complicated...is there any template i can use?
do you want to see the use case too?
also i have been looking into bootstrap like you said to make a website, i have looked at some tutorials online and it looks like its going to take a long time and also really complicated...is there any template i can use?
Bootstrap allows you to use any online template that uses Boostrap if you have the files on your website. Which part are you stuck on?
0
reply
(Original post by UWS)
If you want, but remember if you create new classes in your class diagrams, you'll have to add them to your use case diagram too.
Bootstrap allows you to use any online template that uses Boostrap if you have the files on your website. Which part are you stuck on?
If you want, but remember if you create new classes in your class diagrams, you'll have to add them to your use case diagram too.
Bootstrap allows you to use any online template that uses Boostrap if you have the files on your website. Which part are you stuck on?
also for the bootstrap thing , i am using the CDN instead, which basically uses an active internet connection to get all the bootstrap classes. All i need is a pre-made template i suppose?
0
reply
Report
#14
(Original post by study beats)
well , my domain model and use case diagram only share some of the same stuff.......
also for the bootstrap thing , i am using the CDN instead, which basically uses an active internet connection to get all the bootstrap classes. All i need is a pre-made template i suppose?
well , my domain model and use case diagram only share some of the same stuff.......
also for the bootstrap thing , i am using the CDN instead, which basically uses an active internet connection to get all the bootstrap classes. All i need is a pre-made template i suppose?
0
reply
(Original post by UWS)
If you are already importing the bootstrap classes in your html file, all you need to do is copy and paste some HTML code (like a navigation bar or menu) into your body of your website and the styles should be displayed.
If you are already importing the bootstrap classes in your html file, all you need to do is copy and paste some HTML code (like a navigation bar or menu) into your body of your website and the styles should be displayed.
0
reply
Report
#16
(Original post by study beats)
ok , i see what you mean, just use the templates provided by bootstraps website?
ok , i see what you mean, just use the templates provided by bootstraps website?

Try the one below
https://bootsnipp.com/
0
reply
(Original post by UWS)
You can use any HTML template that uses bootstrap
Try the one below
https://bootsnipp.com/
You can use any HTML template that uses bootstrap

Try the one below
https://bootsnipp.com/
however i do now need help with some javascript code, would you be able to help, let me know thanks.
0
reply
(Original post by UWS)
You can use any HTML template that uses bootstrap
Try the one below
https://bootsnipp.com/
You can use any HTML template that uses bootstrap

Try the one below
https://bootsnipp.com/
0
reply
Report
#19
(Original post by study beats)
hi , can you tell me how to use it?
hi , can you tell me how to use it?
tags...
0
reply
(Original post by UWS)
Click on the template you want and then there should be a blue menu at the top with options like "HTML, "CSS". Click on them and just copy + paste the code into your HTML page. CSS should go in a CSS file though, then you just reference your CSS file in the HTML page using <link rel="stylesheet" type="text/css" href="theme.css">
tags...
Click on the template you want and then there should be a blue menu at the top with options like "HTML, "CSS". Click on them and just copy + paste the code into your HTML page. CSS should go in a CSS file though, then you just reference your CSS file in the HTML page using <link rel="stylesheet" type="text/css" href="theme.css">
tags...
i wanna be able to edit it too
0
reply
X
Quick Reply
Back
to top
to top