Professional Documents
Culture Documents
DESIGN
4.1. INTRODUCTION
The project Social Networking Site is a web based application that can be accessed throughout the world and provide a variety of ways for users to interact, such as personal profiles, groups, photos, etc. Social-networking sites help users "maintain" existing (and new) offline relationships. The Design Document should be able to adequately serve as training material for new project members, imparting to them enough information and understanding about the project implementation. The Design Phase provides a complete description the UML Diagram of the Social Networking Site.
Page 27
r:registe r
d:d b
m:message
a:addres s book
c:community
p:pic s
f:frien ds
Register
Verify
Edit and View Contact Create and Post topics Upload and View Pic Add and Search
Logoff
These are very useful to explain smaller portions of your system, when your system class diagram is very complex, and also sometimes recursive. Use Object Diagram shows instances instead of classes. They are useful for explaining small pieces with complicated relations, especially recursive relationships.
User Login
Registration
Generalization
Dependency
Messages
Community
Pics
Address
Figure :
Page 29
Component is a code module. Component Diagrams are physical analogies of class diagram.
Pics Verify
Friends
Registration
Community
Address
Figure : Deployment Diagrams show the physical configuration of software and hardware.
Social Networking Site Site Home Page Login/Verification User Home Page Administrator Profile Photo Actor Message Friends Community Logout
A use case diagram is a collection of actors, use cases and their communications. Actors are simply roles that people or objects play. A use case is a summary for a single task or goal. An actor is who or what initiates the events involved in the task. The connection between actor and use case is a communication. Page 31
Use Case Diagrams are helpful in three areas - Determining Features (Requirements), Communicating with Clients and Generating Test Cases
Register
Profile
Message
Address Book
Pic
Logout
Sequence Diagrams are organized according to time. The time progresses as you go down the page. The objects involved in the operation are listed from left to right according to when they take part in the message sequence. Each vertical dotted line is a lifeline, representing the time that an object exists. Each arrow is a message call. An Page 32
arrow goes from the sender to the activation bar of the message on the receivers lifeline. The activation bar represents the duration of execution of the message.
Message
2:enter details
5.2:Msg
Login/Verify
Logout 6:Logout
4: after verification
Address Book
5.6:Community 5.5:Friends
Community Friends
A Collaboration diagram is easily represented by modeling objects in a system and representing the associations between the objects as links. The interaction between the objects is denoted by arrows. To identify the sequence of invocation of these objects, a number is placed next to each of these arrows. Name/ College Name / Social Networking Site Page 33
Login
Fail
Verify
True
Link
Profile Messages
Link
Link
Link
Edit Profile
Send Msg
Receive Msg
Logout
activities in a single process. The activity diagram shows how the activities depend on one another.
Login
Profile
Messages
Pics
Address Book
Edit Profile
Send Msg
Receive Msg
Add Pics
View Pics
Add Contact
View Contact
Logout
4.4. CONCLUSION
The design phase document transforms detailed requirements into complete detailed system design document. It successfully focuses on how to deliver the required functionality.
***
Page 35