SocialNetworkWebsite final0-1

Embed Size (px)

Citation preview

  • 8/10/2019 SocialNetworkWebsite final0-1

    1/18

    Software Requirements Specification

    For

    JAVA Social Networking Application

    Version 0.1

    Prepared !"eodor Patra# and $onel Aungurencei

    %uided ! &onf. dr. ing. 'i(ai )oria *a(aria

    "ec(nical +ni,ersit! of $a#i

    0- 'ar 01

    (ttp/code.google.compasna

    http://code.google.com/p/jasna/http://code.google.com/p/jasna/
  • 8/10/2019 SocialNetworkWebsite final0-1

    2/18

  • 8/10/2019 SocialNetworkWebsite final0-1

    3/18

    1. MILESTONE 1

    1.1 Introduction

    1.1.1 Purpose

    This software requirement specification (SS! document descri"es the functiona# and nonfunctiorequirements of our socia# networ$ing app#ication. %n the pro&ect's #ater phases such as s)stem desig

    data"ase design imp#ementation and testing this document shou#d "e referred as functiona# mode# of t

    s)stem.

    1.1.2 Document Conventions

    *## s)stem deve#opment activities shou#d fo##ow the fina# version of this document. *n) discrepanc) t

    found during in #ater phases shou#d "e modified su"&ect to SS. +owever this document ma) "e su"&ecchange dependent on the decision of ,onf. dr. ing. -ihai +oria aharia.

    1.2 Intended Audience

    1. Software developer

    2. Administrator

    3. Security Analysts

    4. Users of the system5. Maintenance Team

    1.3 Project Scope

    The socia# networ$ing app#ication is designed to ma$e socia# #ife more active and stimu#ating. The soc

    networ$ can he#p )ou maintain e/isting re#ationships with peop#e and share pictures and messages a

    esta"#ish new ones ") reaching out to peop#e )ou0ve never met "efore.This app#ication a#so provides the features of "#ogging. The main idea "ehind "#ogging is to share )o

    thoughts with a## )our friends which can "e read ") a## the users using the app#ication. This "#og can

    hand#ed ") the user as he wants. %t a#so provides the features of adding videos and photos.

    Pag

  • 8/10/2019 SocialNetworkWebsite final0-1

    4/18

    2. MILESTONE 2

    2.1 Product Perspective

    This socia# networ$ing app#ication cha##enges to give a "etter socia#iing and secure S)stem at the sap#ace.

    2.2 Product Functions

    Authorization Entire authorit) of the s)stem is to the administrators of the s)stem.

    User authentication * new#) created user is authenticated against the given emai# address.

    User form: The s)stem offers a simp#e attractive user friend#) user interface easi#) understanda"#e ") t

    users of the s)stem. Entries of the user form are under the authorit) of the administrator on#). Some of t

    entries in the form are mandator) in order to authenticate the user descri"e the user thorough#) etc.

    Administrator Functions:

    1. *uthentication of the users after registration.2. -ai#s to the users regarding the approva# as a registered user disapprova#

    3. -entioning the appropriate reasons of an action.

    4. *pproving the update of the account detai#s of the users.

    5. otification to the end users regarding proposa#s.6. -entioning the securit) measures for the s)stem's safet).

    7. 8e#eting an account9user from the s)stem's data"ases on request of the user or misconduct.

    Application Information:

    1. Displaying History: -entions the histor) a"out the s)stem such as founders of the s)stem.

    2. Contact details: ,ontact detai#s.

    3. Advertisements: *pp#ication wi## contain advertisements re#ated to a## various products present se##ing.

    2.3 Operating Environment

    Operating System Support:

    1. :%8O:S ;%ST*979- insta##ed.

    Pag

  • 8/10/2019 SocialNetworkWebsite final0-1

    8/18

    2.7 System Features

    The socia# networ$ing app#ication is intended for connecting peop#e. %n addition to this feature the us

    have the faci#it) to add videos and photos. This we"site gives a #ot of features a## at one p#ace.

    Main Features

    FE-1: Create/Delete Profile

    FE-2: Update account

    FE-3: Get forgotten password through Email

    FE-4: -essage s)stem (write on others wa##98e#ete own message from others wa##9de#ete message fr

    own wa##!FE-5: Search mem"ers 9add as mem"er9de#ete mem"er

    FE-6 A#og s)stem (add9modif)9de#ete posts!

    FEC7 *dd comment on others "#og postFE-ideo Da##eries

    *FE-133: Update/add/delete company information, Site administration to manage site content #i$e *dm

    sers -em"ers Pictures >ideos -usic A#og ,ategories A#og Posts c#assifieds ,ategories "#oc$ us(by administrator)

    2.8 System Feature

    Creating a new account

    1. ser is a##owed to create his own profi#e.

    2. *ccording to the specifications required ") the administrator the user creates his own profi#e a

    su"mits it to the s)stem.

    Deleting the account

    1. The user can de#ete his9her account.

    Updating the account1. The user is a##owed to update his9her account.

    2. The administrator updates the profi#e according#).3. The user is not a##owed to $eep an) mandator) fie#ds "#an$ whi#e updating. e.g. ame ?ast name em

    %d etc.

    1Features with an asterisk (*) means this feature will be implemented if time permits.2Features with an asterisk (*) means this feature will be implemented if time permits.3Features with an asterisk (*) means this feature will be implemented if time permits.

    Pag

  • 8/10/2019 SocialNetworkWebsite final0-1

    9/18

    Get forgotten password via Email

    %n case of forgotten account password the user can receive a mai# containing a verification codeauthenticate the user.

    Message sstem

    ser can send and get message to his message "o/.

    !earch mem"ers #add as mem"er#delete mem"er

    ser can search add and de#ete mem"ers in his #ist to widen his networ$

    Uploading Photographs

    The user has a faci#it) to up#oad and share his photographs.

    $dding %ou&u"e videos

    The user can add videos from ouTu"e and share with peop#e

    'logging

    The user has the right to write posts in his "#og and pu"#ish them.

    2.9 Nonfunctional Requirements

    2.9.1 Performance Requirements

    !cala"ilit: S)stem shou#d "e a"#e to hand#e around thousand users at the same time. Usa"ilit(Simp#e user interfaces that a #a)man can understand.

    !peed(Speed of the s)stem shou#d "e responsive i.e. response to a particu#ar action shou#d "e avai#a"#e

    short period of time. For e.g. on registering as a new user the notification a"out the approva# is se

    immediate#) to the respective user through emai#.

    2.10 Security Requirements

    1. The new profi#e formed is va#idated against the given emai# address.

    2. The password shou#d "e at #east < characters containing at #east a character and a num"er.

    3. The s)stem's "ac$end or the s)stem data"ases shou#d not "e manipu#ated ") the norma# users.

    Pag

  • 8/10/2019 SocialNetworkWebsite final0-1

    10/18

  • 8/10/2019 SocialNetworkWebsite final0-1

    11/18

    3./.2.26terative Model

    3./.2.3 !crum Framewor

    Pag

  • 8/10/2019 SocialNetworkWebsite final0-1

    12/18

    4. MILESTONE 3

    4.1 Design Phase

    4.1.1 Use case diagrams.

    4.1.1.1 Login/Registration

    User

    Regester for login

    Login

    Request for forgetted passward

    Get email to conrm registration

    Get password email

    Validate user

    Page

  • 8/10/2019 SocialNetworkWebsite final0-1

    13/18

    4.1.1.2 Home Page

    Page

  • 8/10/2019 SocialNetworkWebsite final0-1

    14/18

    4.1.1.3 Wall Page

    User

    Delete message from own wall

    Reply to Message

    4.1.1.4 Blog Page

    User

    AddDelete comment on !log post

    AddModifyDelete "ost to !log

    4.1.1.5 Profile Page

    User

    AddModifydelete prole info

    Page

  • 8/10/2019 SocialNetworkWebsite final0-1

    15/18

    4.1.1.6 Search Frien Page

    User

    Get List of #earc$ed %riend

    Add friend

    &rite message on friends wall

    Delete own message from friendrs wall

    4.1.1.! Frien List Page

    User

    &rite message on friends wall

    Delete own message from friendrs wall

    Delete friends

    AddDelete comment on !log post

    View "role 'nfo

    Page

  • 8/10/2019 SocialNetworkWebsite final0-1

    16/18

    4.1.1." Photo Page

    User

    AddDelete p$oto

    4.1.1.# $ieo Page

    User

    AddDelete (ideo Lin)

    Page

  • 8/10/2019 SocialNetworkWebsite final0-1

    17/18

    5. Database Relationship

    Page

  • 8/10/2019 SocialNetworkWebsite final0-1

    18/18

    3.2 Programmer7s Point of 8iew

    The earlier section covers the schema of the project with the design of the tables being created.

    For all pages we are going to use JSP as frontend and MySQL as backend.

    #ogin $age:We are going to verify the login credentials from user table. If user enters valid information he/she will

    logged in and home page will get displayed. If person is new user he will select register page option.

    Thispagewill take basic user details and after checking all the values ( eg. Empty values, Invalid Passw

    etc. ) It will insert all the values in the register table. After successful inserts, user will get directed to log

    page.

    Home $age:

    On the home page, we will have friends list displayed on the right side of page and all these values will

    retrieved from friends table. This page will also have links to pages like videos, blogs etc. The middle part

    home page will have entries displayed from user table.

    %dit profile page:

    Once the user has logged on, he can change the profile details by using the edit profile page. When the u

    reaches this page, data will be obtained from the user table and displayed in the respective text boxes. T

    user could change these details if he wishes to do so. After he finishes editing the details he can click

    update button. When this button is clicked the new details will be updated in the user table. These n

    details will be selected from the user table during future references.

    &ideo $age:

    For video page we are going to use YouTube API. We will have search video option. After searching

    videos, option will be provided to user for adding the video to his/her profile. For this functionality will athe Embed details for that video will get added to video tables. All the profile videos will get displayed

    the right hand side of the page.

    $hoto $age:

    On the image page we will have browse button. User will select the image file from his local machine a

    click on add Image. After adding the image, the image will be stored in the images folder on the server. A

    the URL of that image will be stored in the images tables. Below the browse button, all the images added

    the current user will get displayed from images table.

    'logging $age:

    The blogging page would give you create new blog post form. The user will enter the title of the blog p

    and the contents of the blog post in the respective text boxes. After entering the user will click the cre

    button. When the create button is clicked the title of the blog post and the contents of the blog post will

    saved in the blog table. All previously stored blog posts will be retrieved from the blog table and display

    below to create new blog form.

    Page