Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Documentation Social Network Software Requirements Specifications
Typology: Assignments
1 / 29
1. MILESTONE 1
Product intends to provide a well established web-based social networking system. This documents a networking system scope, functionalities, requirements and feasibility.
In this whole document key points are written in bold faces with the same font as the text.
The social networking website is an online community designed to make your social life more active and stimulating. The social network can help you maintain existing relationships with people and share pictures and messages, and establish new ones by reaching out to people you've never met before. This website also provides the features of blogging all at one place. The main idea behind behind blogging is to share your thoughts with all your friends which can be read by all the users using the website. This blog can be handled by the user as he wants for example adding videos and photos also. This website enhances proper auctioning of products. People using this website can buy and sell products from this website. The main purpose behind this auctioning functionality will help people to buy products in trusted circle.
2. MILESTONE 2
This social networking website challenges to give a better socializing and auctioning System at the same place. This website helps buying and selling of products in trusted friend circle
2. Mac OS
2.6.1.1 Flow Diagram
Login Page
Registration page
Back to Login Page
General
Social
Contact
Update Page
User Page
Photo/Video sharing
Sell Products Blog
Buying And Selling Of products
Back to User Page
Logout
If the user is not a registered member.
If the user is a registered member.
Edit Profile
Optional
User’s Choice
Search Friends
Fig 1: Flow Diagram
Login Page:
Fig 2: Login Page
Validation: Minimum length of user name must be at least four characters. Minimum length of password is 5 characters. Error reporting: If validation constraints are not satisfied then an error is displayed below the text box
Fig 2.1 Error Message
Registration Page:
Fig 3 : Registration Page Validation: All fields are required
Match email ID with confirm email ID Match Password with confirm password Error reporting: If validation constraints are not satisfied then an error is displayed alongside the text box
Fig 3.1 Error message
Home Page :
Fig 4 home Page
Message Page:
Fig 5 Message Page
Video Page:
Fig 6 Video Page
Photo Page :
Fig 7 Photo Page
Blog Page:
Fig 8 Blog Page
Bidding Page :
Fig 9 Bidding Page Validation: Bid value must be greater than start price
Selling Page:
Page 10 Selling Page Validation: Start price must be mentioned.
To use the social networking system efficiently user need to have an internet connection with a personal computer running with any well established Operating System like Windows or Linux. User needs to have installed Internet browser and email client on his machine for the same.
The social networking website is for people to get connected, there is also a feature for them
to buy and sell products in a trusted friend circle. In addition to this feature the users have the
facility to add videos and photos. This website gives a lot of features all at one place.
3. MILESTONE 3
Login Page
Fig 1 LOGIN PAGE
Home Page
Fig 2 HOME PAGES
Buy Sell Page
Fig 3 BUY – SELL PAGE
Video Page
Fig 4 VIDEO PAGE
Blog Page
Fig 5 BLOG PAGE
Package Diagram
Fig 6 Package Diagram
Deployment Diagram
Fig 7 Deployment Diagram
Register_table query CREATE TABLE register_table( user_id VARCHAR( 20 ) NOT NULL , password VARCHAR( 30 ) NOT NULL , first_name VARCHAR( 50 ) NOT NULL , last_name VARCHAR( 50 ) NOT NULL , gender VARCHAR( 10 ) NOT NULL , date_of_birth VARCHAR(20) NOT NULL , street VARCHAR(20) NOT NULL , city VARCHAR(20) NOT NULL , state VARCHAR(20) NOT NULL , zip integer(20) NOT NULL , country VARCHAR(20) NOT NULL , email VARCHAR(20) NOT NULL , PRIMARY KEY ( user_id ) ) ENGINE = MYISAM Friend_list table CREATE TABLE friend_list (
user_id VARCHAR( 20 ) NOT NULL , friend_user_id VARCHAR( 20 ) NOT NULL , CONSTRAINT user_id_fk FOREIGN KEY(user_id) REFERENCES register_table(user_id) ON DELETE CASCADE, CONSTRAINT friend_user_id_fk FOREIGN KEY(friend_user_id) REFERENCES register_table(user_id) ON DELETE CASCADE ) ENGINE = MYISAM ;
CREATE TABLE video ( user_id VARCHAR( 20 ) NOT NULL , video_id VARCHAR( 20 ) NOT NULL , UNIQUE(video_id), CONSTRAINT user_id_fk FOREIGN KEY(user_id) REFERENCES register_table(user_id) ON DELETE CASCADE ) ENGINE = MYISAM ;
CREATE TABLE message ( Seq INT NOT NULL AUTO_INCREMENT, user_id VARCHAR( 20 ) NOT NULL , receiver_user_id VARCHAR( 20 ) NOT NULL , message VARCHAR( 350 ) NOT NULL,
PRIMARY KEY(seq), CONSTRAINT user_id_fk FOREIGN KEY(user_id) REFERENCES register_table(user_id) ON DELETE CASCADE,
CONSTRAINT receiver_user_id_fk FOREIGN KEY(receiver_user_id) REFERENCES register_table(user_id) ON DELETE CASCADE ) ENGINE = MYISAM
CREATE TABLE blog ( user_id VARCHAR( 20 ) NOT NULL , title VARCHAR( 100 ) NOT NULL, contents LONGBLOB NOT NULL, date_of_creation DATE NOT NULL, CONSTRAINT user_id_blog_fk FOREIGN KEY(user_id) REFERENCES register_table(user_id) ON DELETE CASCADE ) ENGINE = MYISAM ;
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 PHP and HTML as frontend and MySQL as backend.
Login Page:
We are going to verify the login credentials from register table. If user enters valid information
he/she will get logged in and home page will get displayed. If person is new user he will select
Register page option.
Register Page:
Register page will take basic user details and after checking all the values (eg. Empty values,
Invalid Password etc.) It will insert all the values in the register table. After successful inserts,
user will get directed to login page.
Home Page:
On the home page, we will have friends list displayed in html table on the right side of page and
all these values will be retrieved from friends table. This page will also have links to pages like
videos, blogs etc. The middle part of home page will have entries displayed from register table.
Edit profile page:
Once the user has logged on, he can change the profile details by using the edit profile page.
When the user reaches this page, data will be obtained from the register table (select query on
the register table) and displayed in the respective text boxes. The user could change these
details if he wishes to do so. After he finishes editing the details he can click the update button.
When this button is clicked the new details will be updated in the register table. These new
details will be selected from the register table during future references.
Video Page:
For video page we are going to use YouTube API. We will have search video option. After
searching the videos, option will be provided to user for adding the video to his/her profile. For
this functionality will add the ‘Embed’ details for that video will get added to video tables. All the
profile videos will get displayed on the right hand side of the page.
Image Page:
On the image page we will have browse button. User will select the image file from his local
machine and click on add Image. After adding the image, the image will be stored in the images
folder on the server. And the URL of that image will be stored in the images tables. Below the
browse button, all the images added for the current user will get displayed from images table.
Sell page:
This page will allow the user to add the image of the product he wishes to sell. The uploaded
image would be stored on the server and the image link would be saved in the sell table. Along
with the product image the description of the product and the start price is entered in the sell
table. The sell page would also have the option of adding more products if the user wishes to
sell. In this scenario the entries would be added in the sell table. If the user wishes to see all the
items which are up for sale, the user can click on the link “List Of All Items” .All the information
about the products would be retrieved from the sell table.
Buy Page:
This page shows the Interface through which the user can Bid for the products available for the
user. This page requires some validations like for example, the product seller must provide with
an initial price. The bid value must be greater than the starting price. When the user selects the
product to be bided from the drop down menu a query is fired to the buy table in the database
which then retrieves the image and the corresponding details of the product and displays it on
the right side. The user enters the bid value and selects buy to place the bid for the product.
Now if the bid value is maximum and suitable then it is notified to the seller user to accept the
bid or reject it. If the seller accepts it then the product is registered in the user’s name that bids
for it and hence owns the product.
Blogging Page:
The blogging page would give you a create new blog form. The user will enter the title of the
blog and the contents of the blog in the respective text boxes. After entering the user will click
the create button. When the create button is clicked the title of the blog and the contents of the
blog will be saved in the blog table. All previously stored blogs will be retrieved from the blog
table and displayed below to create new blog form.