2. INTRODUCTION
People have used the idea of “social network” loosely for over a century to connote
complex sets of relationship between members of social systems at all scales, from
interpersonal to international.
According to Stephen Downes, “A social network is a collection of individuals linked
together by a set of relations”.
The conceptual idea of social networks sites is to construct an informal communication
environment, which allows users to interact within an online community of friends.
People connect with each other by creating online profiles to share interests such as
thoughts, music, photos, videos, etc. Since their inception they have attracted millions
of users for whom checking their SNS profile has become part of their daily routine.
Some are even wondering if social network sites will one day replace email systems.
2
3. OBJECTIVE
This main objective of this website is to provide an informal communication
environment which allows users to interact within an online community of friends. In
details as follows -:
1. To have an secure and attractive login page access.
2. Make new user account more user friendly and proper validation of details.
3. Search friends easily on network.
4. Send friend request to other users to make friends.
5. Add friends to your friend box to accept request.
6. Creating a public profile having social, professional and personal information.
7. Ease of editing of profile anytime you need.
8. Upload and share photographs on network.
9. Send messages to other friends in terms of scrapbook.
10. Reply directly to incoming user scraps.
11. Administration page to keep an eye on user operation.
12. Easily password recovery processing.
3
4. The goal of this system is :
To create a Database for the system
To create a secure and attractive login page with suitable validations for users.
To create a Home Page design for the system this will have various options for
the user by which he/she can control their information as well as can use
services offered by this website.
To create An Administrator section -An interface for the system with features
like setting maximum number of friends a user can have, removing or allotting
services to the user, removing unwanted data like images videos uploaded by
user, taking feedbacks from the user etc.
To create A User section - An interface for the system with features like create
profile, edit profile, add friends, search friends, sending a message to friend ,,
sending email to friend and many more.
PROJECT CATEGORY
Whenever any software is developed it may be categorized in any form particular. It
may categorized on the bases of there work and the performance. It can change the
management system of the particular software. With a particular category it can make
the software become understandable for the others perfectly. On time of developing or
making software we need to look on their category.
4
5. That it belongs with which particular category. Either it is management
related, games related, developing or cd-making etc. The software which I was
making, it belongs to communication software or social software which will provide
social networking services.
TOOLS, PLATFORM AND LANGUAGES
• HTML
Hyper Text Markup Language – This language is a markup language, which runs
inside any Internet browser and is used to create the basic layout of a Web Page. Html
is called Hyper Text Language because used to develop several Hyper Text words
(hypertext words are words which have some actions with it) for a website, which
provides connectivity to other pages. It is called a Markup Language because it uses
syntax called as Markup Elements to format a web document.
SERVLET
The Servlet works as a middle tier for a web based application or especially for
a website. Servlet are snippets of Java programs which run inside a Servlet Container.
A Servlet Container is much like a Web Server which handles user requests and
generates responses. Servlet Container is different from a Web Server because it can
not only serve requests for static content like HTML page, GIF images, etc., it can also
5
6. contain Java Servlets and JSP pages to generate dynamic response. Servlet Container is
responsible for loading and maintaining the lifecycle of the Java Servlet. Servlet
Container can be used standalone or more often used in conjunction with a Web server.
JSP (Java Server Page)
JSP is works as little bit designing dynamic web page. Java Server Pages
or JSP for short is Sun's solution for developing dynamic web sites. JSP provide
excellent server side scripting support for creating database driven web applications.
JSP enable the developers to directly insert java code into JSP file, this makes the
development process very simple and its maintenance also becomes very easy. JSP
pages are efficient, it loads into the web server’s memory on receiving the request very
first time and the subsequent calls are served within a very short period of time
JDBC (Java Database Connectivity)
Jdbc is used for Database Connectivity. Jdbc provides 4 types of driver
but in this project type-1 driver is used.
Working process of jdbc :-
1. Establish a connection with a database
2. Sends Statements
3. Processes the results
ORACLE
The input given by the user on the Internet or on a standalone computer is
the most precious thing, which is stored at a safe place called as the DATABASE.
6
7. Oracle is one of the most secure and huge database storage System available now a
day. On the internet it is used to keep the record of the users registering through the
website and maintain a daily report of them.
• JAVASCRIPT
JavaScript is a Scripting language which provides all the language features with
variables, loops, functions etc. the functions of JavaScript are written in a page as an:
Inline Script
Embedded Script
Linked Script
These scripts help us to handle events generated by a user over the internet. A
JavaScript function can be called to perform some task when the user demands for thus
JavaScript can make a website Interactive which could act on user actions. In this
project I am going to use a linked scripting code that will act as a validation code for
the form pages.
7
8. HARDWARE AND SOFTWARE REQUIREMENT
HARDWARE: Computer hardware refers to the physical parts of a computer and
related devices. Internal hardware devices include mother board, hard device, and
RAM. External hardware devices include monitors, keyboards, mice, printers, and
scanners.
HARDWARE REQUIREMENTS(minimum):
Pentium4
128 MB RAM
20 GB hard Disk (5200 RPM)
108 Keys Keyboard
Inkjet Printer
CDD 48X
SOFTWARE: Computer software is a general term that describes computer programs.
Related terms such as software programs, applications, scripts, and instruction sets all
fall under the category of computer software. Therefore, installing new programs or
applications on your computer is synonymous with installing new software on your
computer.
SOFTWARE REQUIREMENTS:
WINDOWS XP.
JDK1.6.0.
TOMCAT SERVER5.0.
ORACLE.
Internet Explorer 6.
8
9. DATA FLOW DIAGRAMS (DFD)
Context level Diagram
Request
Admin Request
Response
Admin
Request control
Social Response
User
networking
Response Request
System User
Request (SNS) Profile
Guest Response
Response
9
10. 1st level DFD for user
Request Receive
User
Login User login table
Response 1.0
Home
2.0
Services
Profile
3.0 User Data table
10
11. 1st level DFD FOR Guest
Request Update
Guest User Data table
Registration
Response 1.0
Receive
Login
2.0
User login Table
Services
Response
Home
3.0
Profile
4.0 User Data table
11
12. 1st Level DFD for Admin
login module
User Id/password Verification
Login
admin 1.0
Response
Request
Admin login table
control
panel
Response 2.0
Confirm Confirm
2nd Level DFD for user
login module Existing
Id/password
login correct home
User 1.1.2
1.1
incorrect
12
13. Profile
User data table 1.1.3
home module
Feedbac
Existing Id/pswd
k
2.0 2.6
User Home
Send
Search
scrap
friends
2.1 2.5
Send Upload
email photos
Send
2.2 2.4
message
2.3
13
14. Search
Profile module friends
3.2.3
Request
profile friends
3.1 3.2
User
Existing id/pswd
Response
Add friends
Confirm 3.2.1
Remove
friends
Edit profile 3.2.2
3.1.1
User dataTable
Update
View profile
3.1.2 User data Table
2nd Level DFD for Admin
login module
Request
Correct (access)
Login Control
Admin 2.0 Panel
2.1
Response Wrong (back to login)
14
15. Control module
Request
Control Remove
Admin Panel User
3.0 3.1
Response
Block/delete
Block or User Data Table
Unblock
user
2nd Level DFD for Guest
Registration module
Registration
Guest 1.0 User Data Table
Login
1.0
NOTE : AFTER REGISTRATION GUEST BECOME USER SO REST OF THE DFD’S FOR
GUEST ARE SAME AS USER.
15
16. DESCRIPTION OF MODULES
I: Admin:
This module has features for authenticating user and removing unwanted data from the
database as well as removing unwanted users : -
Login module
Control panel
1. remove user
The administrator is having power to remove any user who is
misusing the services provided by the system.
2. Block user
The administrator is having power to block any user for certain
period of time according to the offence of a user.
II: guest:
This module is for the new user who wants to create an profile and wants to be the part
of our community : -
Registration
This module is for the new user who wanted to be the part of our
community after registration he/she can access all the resources and services provided
by the system.
16
17. Login
After registration guest may have his/her user id and password and by
entering it he/she can access all the services as a local user.
III: user:
Login
Registered user can login to their account through their user id and
passwords which were chosen by them at the time of registration. They have to provide
exactly same id and password to access to their account.
Home
After login user can access various services provided by the system and
this is the module where all these resources are available. These services are :-
1: Send email :- user can send email to their friends .
2: Send message :- user can send message to their friends.
3 : Send scrap :- user can post scrap to their friends page.
4 : Search friends :- user can search their friends in our database.
5: Upload photos :- user can upload their pictures.
6: Feedback :- user can give feedback about what he/she feels for the
system and also suggestion for advancement of the system .
17
18. Profile
This is the module where all the user information is displayed which
he/she entered at the time of registration . user can complete his/her profile at any point
of time only mandatory information is to be entered at the time of joining.
Friends
This is the module where user can add new friends those were already
part of our community and also can remove them as per their need.
18
19. ENTITY- RELATIONSHIP DIAGRAM
FName
Email_i
password Image
d
LName
Dob Name
User User_id
PhoneN
o
City
sex
Country
address
Authenticat
e
Passwor
d
Make
id
friends
name Administrator
userid
Send
User friends friend scraps
request userid scraps
Fname Fname
image
User
image
scrapbook
A
friendi
19
Search_date
20. A
View/upl
d
photos
View/
edit
User photos
org college
pname
degree industry
User professional
carrer
occupatio
education
year n
aboutm marital hobbies
e
passion
religiou
s
User social
smoke
URL
music
drink
sports movie
20
Job Category Categor A Category
Job_Nam CategoryI Password
y Search_date PhoneNo _name
e D
21. DATA STRUCTURE (RELATIONAL DB)
UserID Lname Se Fname Password Email Dob Phon Address City Image Country
x e
USER
UserID Edu Degree Year College Occupation Industr Organization Carrer
y
USER PROFESSIONAL
UserID marital Religious Smoke Drin Ur AboutMe Passion Sports Movie Hobbies Music
k l
USER SOCIAL
UserID Friend Request Fname Image
USER FRIENDS
UserID FriendID Scraps Fname Image
USER SCRAPBOOK
UserID Photo Pname
user photos
AdminID AdminPassword FeedBack
admin login
21
22. PROCESS LOGIC
This section covers information about the processing cycle/logical process of the pages
being designed for this project. The pages of a project can be of two types and thus the
process logic applied on these projects should be of defined in two ways.
1) Process Logic (Static pages)
A static page is such type of a page, which is a display only page. Usually it doesn’t
contain any type of interaction with the user.
Steps:
The client machine requests for a URL (Uniform Resource Locator) through the
HTTP (Hyper Text Transfer Protocol) Protocol.
The request is directed to the server
The server of the site listens to the request and searches for the requested
HTML PAGE.
The Html Page in its raw format only is send to the client’s browser.
The client browser
Illustration 1.1
Requests the html page to the server
Server returns the Responses to the browser
Client Machine Server
22
23. 2) Process Logic (Dynamic pages)
A dynamic page is a page providing interaction to the user. These pages usually
contain database connectivity and uses a middle tier Application such Servlet & JSP.
This program resides on the server and Processes the user requests (JSP page) and
sends the output to the client machine in simple Html format because we know that the
client machine understands only HTML.
Steps:
The client machine requests for a URL (Uniform Resource Locator) through the
HTTP (Hyper Text Transfer Protocol) Protocol.
The request is directed to the server.
When the server receives a request form an Html (Browser) or Jsp page
corresponding Servlet is executed and generates the corresponding response
(Output). The Servlet is interact with JDBC and JDBC make connection with
DataBase(Oracle).
The processed output is then send to the client machine
23
24. SECURITY
As this project is an online project, which is running on the Internet providing
global access to its users for which it is being developed, Security is a major
part, which I have taken care & considered very closely. Being the site designer,
developer and programmer I have used every possible technique to stop any
breach in the security of this website.
In this project security concern and possible threat to the
security of this project over the Internet has been rectified from almost each and
every angle. In this regard a few techniques that I have used in this project are
mentioned below.
• Domain Level Security: -
The domain renewal or up-gradation for this site is protected through
password, which prevents any hacker to directly enter into this domain and gain
control of it.
• Secure Connection :
Secure Socket Layer – This technique is used by the server of this website.
Through this technique the data being send or received to or from the server runs
on a protected layer of Sockets through
HTTP Request object. Especially forms are protected through this technique.
• FTP Password: -
File Transfer Protocol – I have specially allocated a separate label of password
to be used for FTP operations. Using this the contents of the site can be changed
at any time. This password is registered with the domain server of the site and
provides login the authenticated clients only.
24
25. LIMITATIONS OF THE PROJECT
Any computer program has a pre-defined scope of areas in which the program is
allowed to navigate out of this are is the boundary of any project. For a website project
the major boundary is manipulating with the client machine. This limitation is very
much helpful as there are several users who do not what a site to enter into their
memory area.
Such As:
1. As like any other websites the scope of this site also is limited only to the server
manipulation and not with the client
2. The database in which the reports are being saved is also limited to its defined
table only it could not go beyond that.
Any computer program has a pre-defined scope of areas in which the program is
allowed to navigate out of this are is the boundary of any project.
For a website project the major boundary is manipulating with the client machine. An
html page is not allowed to write to the memory locations of the client’s computer.
This limitation is very much helpful as there are several users who do not what a site to
enter into their memory area.
25
26. SCOPE OF FUTURE APPLICATION
In this age of fast growing technology and implementation of the latest technology
there is always a scope for further improvement. Also there can be several ways to
achieve the target.
The main motto is to implement the new concept in the field of development
by using the tips and tricks related to the modern, primitive and advance age styles and
that makes the difference. There is nothing to do without future implementation.
With the day by day growing number of internet user’s the project applications
are also concentrating on various types of users. In other words we can say that internet
is a global area of information which can be broadcasted to a computer and now a days
the most popular to the mobile phones.
The future applications of this project could be such type of applications, which
will enable this site to be viewed by the WAP browsers. And also I would like to add
some more features for the user and admin like :-
1:- chat box for user for live chatting.
2:- web cam chat for user for broadcasting them live over internet.
3:- photo tagging .
4:- user can ignore a friend for some period of time.
5:- sending virtual gifts to friends.
6:- admin can set maximum number of friend for any particular user. Etc.
26
27. BIBLIOGRAPHY
Book – MASTERING JAVASCRIPT
Author – Jaworski
Publisher - BPB Publicaion
Book – HTML BLACK BOOK
Author – Steven Holzner
Publisher – DreamTech Press
Book - ORACLE: THE COMPLETE REFERENCE
Author - George Koch & Kevin Loney
Publisher - TATA McGraw-HILL COMPANY LIMITED
Book – JAVA2 COMPLETE REFERENCE
Author – Herbert Schildt
Publisher – TATA McGraw-Hill
END OF PROJECT SYNOPSIS
27
28. START OF PROJECT REPORT
INTRODUCTION
People have used the idea of “social network” loosely for over a century to connote
complex sets of relationship between members of social systems at all scales, from
interpersonal to international.
According to Stephen Downes, “A social network is a collection of individuals
linked together by a set of relations”.
We define social network sites as web-based services that allow individuals to (1)
construct a public or semi-public profile within a bounded system, (2) articulate a list
of other users with whom they share a connection, and (3) view and traverse their list
of connections and those made by others within the system.
The conceptual idea of social networks sites is to construct an informal communication
environment, which allows users to interact within an online community of friends.
People connect with each other by creating online profiles to share interests such as
thoughts, music, photos, videos, etc. Since their inception they have attracted millions
of users for whom checking their SNS profile has become part of their daily routine.
Some are even wondering if social network sites will one day replace email systems.
28
29. A History of Social Network Sites
The Early Years
According to the definition above, the first recognizable social network site launched
in 1997. SixDegrees.com allowed users to create profiles, list their Friends and,
beginning in 1998, surf the Friends lists. Each of these features existed in some form
before SixDegrees, of course. Profiles existed on most major dating sites and many
community sites. AIM and ICQ buddy lists supported lists of Friends, although those
Friends were not visible to others. Classmates.com allowed people to affiliate with
their high school or college and surf the network for others who were also affiliated,
but users could not create profiles orlist Friends until years later. SixDegrees was the
first to combine these features.
SixDegrees promoted itself as a tool to help people connect with and send messages to
others. While SixDegrees attracted millions of users, it failed to become a sustainable
business and, in 2000, the service closed. Looking back, its founder believes that
SixDegrees was simply ahead of its time (A. Weinreich, personal communication, July
11, 2007). While people were already flocking to the Internet, most did not have
extended networks of friends who were online. Early adopters complained that there
was little to do after accepting Friend requests, and most users were not interested in
meeting strangers.From 1997 to 2001, a number of community tools began supporting
various combinations of profiles and publicly articulated Friends. AsianAvenue,
BlackPlanet, and MiGente allowed users to create personal, professional, and dating
profiles—users could identify Friends on their personal profiles without seeking
approval for those connections (O.Wasow, personal communication, August 16, 2007).
Likewise, shortly after its launch in 1999, LiveJournal listed one-directional
connections on user pages. LiveJournal's creator suspects that he fashioned these
Friends after instant messaging buddy lists (B. Fitzpatrick, personal communication,
June 15, 2007)—on LiveJournal, people mark others as Friends to follow their journals
and manage privacy settings. The Korean virtual worlds site Cyworld was started in
1999 and added SNS features in 2001, independent of these other sites (see Kim &
Yun, this issue). Likewise, when the Swedish web community LunarStorm refashioned
itself as an SNS in 2000, it contained Friends lists, guestbooks, and diary pages (D.
Skog, personal communication, September 24, 2007).
The next wave of SNSs began when Ryze.com was launched in 2001 to help people
leverage their business networks. Ryze's founder reports that he first introduced the site
to his friends—primarily members of the San Francisco business and technology
community, including the entrepreneurs and investors behind many future SNSs (A.
Scott, personalcommunication, June 14, 2007).
29
30. In particular, the people behind Ryze, Tribe.net, LinkedIn, and Friendster were tightly
entwined personally and professionally. They believed that they could support each
other without competing (Festa, 2003). In the end, Ryze never acquired mass
popularity, Tribe.net grew to attract a passionate niche user base, LinkedIn
became a powerful business service, and Friendster became the most significant, if
only as "one of the biggest disappointments in Internet history" (Chafkin, 2007, p. 1).
Figure 1. Timeline of the launch dates of many major SNSs and dates when
community sites re-launched with SNS features.
30
31. OBJECTIVE
This main objective of this System is to provide an informal communication
environment which allows users to interact within an online community of friends. In
details as follows -:
1. To have an secure and attractive login page access.
2. Make new user account more user friendly and proper validation of details.
3. Search friends easily on network.
4. Send friend request to other users to make friends.
5. Add friends to your friend box to accept request.
6. Creating a public profile having social, professional and personal information.
7. Ease of editing of profile anytime you need.
8. Upload and share photographs on network.
9. Send messages to other friends in terms of scrapbook.
10. Reply directly to incoming user scraps.
11. Administration page to keep an eye on user operation.
12. Easily password recovery processing.
31
32. Features of the project:
Share
Personal profiles. Create and customize a profile with certain content
Such as name, location, interests, website links, and more.
Show
Personal user image. Upload a user image to represent you on the
Network.
Socialize
Communicate with text-based comments. PlanetF allow you to communicate with
friends either by private e-mail-like correspondence, public message board-like posts,
or both.
OTHER Features :
This web site built on 3 Tier Architecture.
The web site also includes the electronic mail facility for the users who have registered
themselves.
This web site gives user to retrieve their lost password through easy recovering method
which is graphical as well.
32
33. ANALYSIS
Identification of need
This project is an attempt to get people together where everyone is busy in their day to
day tasks and household activities. This project ensures that the different people meet
different people in a healthy manner nothing unsocial and only if they are relevant to
each other or wish to know new prople. User need to register to get access to the
website with some mandatory information to be enterd at registration time. After
registration user can login to website through user id and password they have selected
during registration and user can use various services provided by the system.
The administrator has the right to know everything. He has the right to know the
details of the users, has the right to change any service that is provided to the users as
well as administrator can delete or modify any unhealthy information or data provided
by the user. Even the user’s passwords and hidden details are accessible by the
administrator.User can freely use any of the services provided by the system with out
voiltaion any rule maintained by administrator. Through this system all works are done
through computer nothing manually so it results in fast service provider.
The user’s can also contact the administrator or officials through email or his contact
numbers but first they have to register themselves as a member by filling up a
registration form which can be filled online. Once registered, users can access these
33
34. services and register for any services being provided by planetF.com, that too online
by sitting at home within a fraction of a second by a flick of a button.
Aim of this project is to provide an environment helpful for administrator and users as
well, so that, they users can easily connect to each other and share their information
with each other as well as administrator can easily keep eye on the users through easy
to use interface. This project is developed after thorough study of the existing social
networking system present today. Requirement analysis is concerned with identifying
the basic function of software component in a hardware & software system.
34
35. Feasibility Study
A feasibility study is conducted to select the best system that meets performance
requirement. This entails an identification description, an evaluation of candidate
system and the selection of best system for the networked operations. The system
required performance is defined by a statement of constraints, the identification of
specific system objective and a description of outputs.
The key consideration in feasibility analysis are :
Economic feasibility
The proposed system is economically feasible because the cost involved in purchasing
the hardware and the software are within approachable. The personal cost like salaries
of employees hired are also nominal, because working in this system need not required
a highly qualified professional. The operating-environment costs are marginal. The less
time involved also helped in its economical feasibility.
The benefits of this project include four types:
Cost – saving benefits
This project reduces the efforts and time of the user they can easily share their
information as well as contact each other free of cost .
35
36. Improve-service-level benefits
Proposed system improves the system’s performance because the current system is
based on heavy data processing while the proposed system is based on limited
neccesary database which is easy to handle.
Improve-information-level benefits
It provides better information in the stipulated space and time for decision-making.
Time-saving-benefits
It saves lots of time and provides the same result in a far lesser period of time.
Technical Feasibility
Hardware requirement for development
Hardware Configuration
Processor Intel Pentium 4 CPU, 2.66GHz
Memory
RAM 256 MB DDR 1
Hard Disk 40 GB SATA
Drive CD-RW, Floppy drive
36
37. Software requirement for development
Software Configuration
Operating System
Windows XP Professional
Front End
Java, Java Server Pages, HTML, javascript
Net Beans 7.0 Dream weaver
Back End
Oracle 10g
Behavioral Feasibility
Employees of the company are habitual of working with manual system and don’t have
the knowledge of working in a computer application based environment that is used in
their intranet and are generally resistant to make changes in their working attitude.
People are inherently resistant to change and computers have been known to facilitate
changes. An estimate should be made of how strong a reaction the staffs are likely to
have towards the development of an online computerized system because now this may
lead to expulsion of some of the staffs from their jobs.
37
38. So a system has to be chosen which will provide them much more facilities and less
mental disturbance to check weather correct entry is entered and that too at its right
place. The System will provide them automatic reporting and checks on entries while
storing as well as entering. So the front end has been made user friendly for both the
user and administrator.
38
39. SYSTEM REQUIREMENT SPECIFICATION
1. Introduction
1.1 Purpose
This software Requirement Specification (SRS) documents key specification,
functional & nonfunctional requirements of social network service. Social networking
sites tend to share some conventional features. Most often, individual users are
encouraged to create profiles containing various information about themselves. Users
can often upload pictures of themselves to their profiles, post blog entries for others to
read, search for other users with similar interests, and compile and share lists of
contacts. In addition, user profiles often have a section dedicated to comments from
friends and other users. To protect user privacy, social networks usually have controls
that allow users to choose who can view their profile, contact them, add them to their
list of contacts, and so on.
1.2 Document Convention
The document has used underlined words to highlight the user requirements. It also
uses capital lettered words to highlight key words. The document has tried to maintain
a priority of requirements .The priority has been determined by the judgment of the
author and may subject to change. Priority of higher-level requirements is inherited by
detailed requirements. The document has used short forms for some commonly
abbreviated terms.
39
40. 1.3 Intended Audience and Reading Suggestions
The document is intended to be a guide for developers, users and testers. The goal of
this document is to identify the requirements of application social networking. A
developer may directly want to know the requirements by reading the section of USER
REQUIREMENTS and skipping other sections if required.
1.4 Product Scope
• Purpose
The objective of this software is to completely automate the following processes.
The main objective of the project is to establish a network among the people
residing in a specific community all the information can be easily accessed and
shared among the people.
This system provides users to register their various types of profile like social,
personal, professional.
This system provides users to send scrap messages, images, and music files to
their friends. User can maintain the scrap book whatever scrap he has send to
users.
The system provides users to upload the photos so that user can maintain own
album.
This system provides user to join the communities according to their
scenario.
This system provides the user to maintain their friend list and user can update
their friend list.
40
41. This system provides user to send invitation to another friend to join the
community or group and can add to their friend list for future.
• Benefits
• One of the many advantages is that you can connect with lost classmates, lost
family members on social networking websites. Simply type in a name and you
might see a picture of someone that you haven't seen in years.
• Another advantage of social networking sites that's not to be overlooked is the
career advantage. By posting information about yourself and your work history,
you may just get some job offers. Not only that, but you can even make sales, if
you have a business. Some networking websites even allow you to buy
advertising space on other people's site pages, showing your work to many
people at once.
• As if all of that weren't enough, social sites are just a fun way to kick back and
relax. You can write on your web page or post pictures on your wall. You can
even compete against friends in various games that are a lot of fun.
• Stay in touch with contacts, reach out to new people, and show the community
you care about company-to-client communication!
• Objectives
• A goal or objective is a projected computation of affairs that a person or
a system plans or intends to achieve—a personal or organizational desired end-
point in some sort of assumed development. Many people endeavor to reach
goals within a finite time by setting deadlines.
• It is roughly similar to purpose of aim, the anticipated result which guides
reaction, or an end, which is an object, either a physical object or an abstract
object, that has intrinsic value.
41
42. 1.5 References
More information about the project Social Networking Sites used and
improvement techniques is available at
Websites
• Java concepts - www.java.sun.com
• Java tutorial - www.sun.com/java/tutorial.html
• Networking concepts - www.inetworkmonitoring.com
• www.wikipedia.com
Books
• “Java complete Reference” by Herbert Schildt
• “Microsoft Windows Server 2003 in 24 hours” by Joe Habraken.
• “Computer Networks”ss by Andrew Tanenbum.
• “Computer Networks” by Douglas Corner
• “Software Engineering ” by Roger Pressman
42
43. 2. Overall Description
2.1 Product Perspective
Social networking sites make young people more social and help them
communicate with others. Social networking sites are places where young people
can maintain and nurse their existing (offline) friendships and create new (online)
friendships. Social networking sites are places where young people learn the
crucial importance of being able to network which they can benefit from in their
future professional life.
2.2 Product Functions
• Maintenance of detail of various users.
• Online update the information.
• Status of all users and community details easily available.
2.3 Operating Environment
Processor Pentium 001 GHz
RAM 1 GB or More
Hard Drive 50 MB Disk Drive
Space(Available)
Internet Connection High speed internet
connection
2.5 Design and Implementation Constraints
The project operates under a number of design and implementation constraints. Some
of these are as outlined below:
Hardware and Software constraints:
43
44. Since the project has been developed entirely using JAVA and object oriented
methodology, it is largely independent. The project can be run on any platform.
However, it still needs a JAVA framework to run (Net Beans).
End user constraints:
As mentioned above the major constraints for the end user is having a Java framework
on his computer. Also he should be familiar with the operation with the system to a
certain extent , although a help document will be provided to oriented users.
2.6 User Documentation
User manual and CD will be made available for troubleshooting and help. The user
manual will contain detailed information about the usage of the product from a layman
perspective to an expert network / system administrator. The manual shall also be
made available online.
2.7 Assumptions and Dependencies
The proposed solution will be designed to work in an enterprise environment . The
target environment may consist of wired and wireless links inside the network . The
solution has to be self sufficient and free from any unfamiliar dependencies.
3. System Features
An application has divided its working in different modules. Each module consists of
different working for proper functioning of application. All modules are integrate
together to make robust application. These modules provide various features of system.
• Photo & Video Uploads
• User profiles
• Private messaging system
44
45. • Friend buddy system
• Add/remove custom applications system
• Emailing to any user
4. External Interface Requirements
4.1 User Interface
A graphical User interface is available providing following functionalities:
• Drop down menu for algorithm selection
• Selection list for scaling threshold up or down
• Scrolling control to observe different reminder & many of different things.
• all reminders are show in the list so that time select whatever reminder customer
want to send email,sms etc.
• Help button
4.2 Hardware Interfaces
The solution extensive use of several hardware devices. These devices include;
• Internet modem
• LAN
• Switches
4.3 Software Interface
45
46. Operating system -
With minor allowances for the peculiarities of particular operating systems, the
application can be modified to act largely platform independent since it has been
written in JAVA. The application has however been developed using Windows XP and
will naturally work without changes on the operating systems.
4.4 Communications Interface
As the application is social networking web site it requires high speed internet modem
for the use of this application. For the suitable use there must be a correct internet
connection among the users.
5. Other Nonfunctional Requirements
5.1 Performance Requirements
The solution has to exhibit very stringent performance requirements. The system has
very perfect performance .It can help the businessman to show all meeting schedule
when it can work on system that time this reminder show that meeting ,appointment
whatever client remind that time so the customer can at that time attain that meeting
etc. So the customers are becoming important day by day to remain in competition.
5.2 Safety Requirements
Security
- Some security measures are provided to the application account holders such as
account holder must give his/her account id and password to login. Other than that
security to user’s personnel details and photos and video galleries.
46
47. 5.3 Software Quality Attributes
Availability
This web application in useful in making relationship among community people,
friends, students and all the humanity to build the relation
In such instances, there strength arise among others from
• A unifying purpose and clear coordination structure
• Multiple, interactive communication that encourage simultaneous action
• Dynamism and creativity
• Quality and packaging of evidences
• Representative ideas
• Strength in numbers
6.Other Requirements
Appendix A: Glossary
LAN=Local Area Network.
GUI=Graphical User Interface.
Appendix B: Analysis Models
User database
47
48. Registration User Search Friends Become friend
Upload photo
Complete Profile
++++++++End of SRS++++++++
Software Engineering Paradigm
The web application process begins with-
Formulation, an activity that identifies the goals and objectives of the system and
establishes the scope for the first increment.
Planning estimates overall project cost, evaluates risks associated with the
development effort, and defines a finely granulated development schedule for
subsequent increments.
Analysis establishes technical requirements for the system and identifies the
content items that will be incorporated. Requirements for graphic design
(aesthetics) are also defined.
48
49. Engineering activity incorporates two parallel task, Content design and production
are performed by non-technical member of the team. The intent of these tasks is to
design, produce, and/or acquire all texts, graphics, audio and video contents that are
to become integrated into the web application. At the same time, a technical design
tasks are conducted.
Page Generation is a construction activity that makes heavy use of automated
tools. The content defined in the engineering activity is merged with the
architectural, navigational and interface design to produce executable web pages.
Testing ensures that the web application will operate correctly with different
browsers.
Customer Evaluation, this is the point at which changes are requested. These
changes are integrated into the next path through the incremental process flow.
49
51. ENTITY- RELATIONSHIP DIAGRAM
FName
Email_i
password Image
d
LName
Dob Name
User User_id
PhoneN
o
City
sex
Country
address
Authenticat
e
Passwor
d
Make
id
friends
name Administrator
userid
Send
User friends friend scraps
request userid scraps
Fname Fname
image
User
image
scrapbook
A
friendi
51
Search_date
52. A
View/upl
d
photos
View/
edit
User photos
org college
pname
degree industry
User professional
carrer
occupatio
education
year n
aboutm marital hobbies
e
passion
religiou
s
User social
smoke
URL
music
drink
sports movie
52
Job Category Categor A Category
Job_Nam CategoryI Password
y Search_date PhoneNo _name
e D
53. DATA FLOW DIAGRAMS (DFD)
Data flow diagrams represent the flow of data through a system. A DFD is composed
of:
1. Data movement shown by tagged arrows.
2. Transformation or process of data shown by named bubbles.
3. Sources and destination of data represented by named rectangles.
4. Static storage or data at rest denoted by an open rectangle that is named.
The DFD is intended to represent information flow but it is not a flowchart and is not
intended to indicate decision-making, flow of control, loops and other procedural
aspects of the system. DFD is a useful graphical tool and is applied at the earlier stages
of requirements analysis. It may be further refined at preliminary design stage and is
used as mechanism for creating a top level structural design for software.
The DFD drawn first at a preliminary level is further expanded into greater
details:
The context diagram is decomposed and represented with multiple bubbles
Each of these bubbles may be decomposed further and documented as more detailed
DFD s.
53
54. Context level Diagram
Request
Admin Request
Response
Admin
Request control
Response
User
Response Request
Social User
Request networking Profile
Guest System Response
Response (SNS)
54
55. 1st level DFD for user
Request Receive
User
Login User login table
Response 1.0
Home
2.0
Services
Profile
3.0 User Data table
55
56. 1st level DFD FOR Guest
Request Update
Guest User Data table
Registration
Response 1.0
Receive
Login
2.0
User login Table
Services
Response
Home
3.0
Profile
4.0 User Data table
56
57. 1st Level DFD for Admin
login module
User Id/password Verification
Login
admin 1.0
Response
Request
Admin login table
control
panel
Response 2.0
Confirm Confirm
2nd Level DFD for user
login module Existing
Id/password
login correct home
User 1.1.2
1.1
incorrect
57
58. Profile
User data table 1.1.3
home module
Feedbac
Existing Id/pswd
k
2.0 2.6
User Home
Send
Search
scrap
friends
2.1 2.5
Send Upload
email photos
Send
2.2 2.4
message
2.3
58
59. Search
Profile module friends
3.2.3
Request
profile friends
3.1 3.2
User
Existing id/pswd
Response
Add friends
Confirm 3.2.1
Remove
friends
Edit profile 3.2.2
3.1.1
User dataTable
Update
View profile
3.1.2 User data Table
2nd Level DFD for Admin
login module
Request
Correct (access)
Login Control
Admin 2.0 Panel
2.1
Response Wrong (back to login)
59
60. Control module
Request
Control Remove
Admin Panel User
3.0 3.1
Response
Block/delete
Block or User Data Table
Unblock
user
2nd Level DFD for Guest
Registration module
Registration
Guest 1.0 User Data Table
Login
1.0
NOTE : AFTER REGISTRATION GUEST BECOME USER SO REST OF THE DFD’S FOR
GUEST ARE SAME AS USER.
60
61. SYSTEM DESIGN
Design is defined as the “the process of applying various techniques and principle for
the purpose for defining a device, a process or a system in sufficient detail to permit its
physical realization”.
After the requirements specifications have been analyzed and specified, software
design is the first of the three technical activities viz.
Design
Code-generation and
Testing.
The design process involves conceiving and planning out in the mind and making a
drawing, pattern and sketch of. In software design, architectural design and detailed
design of each pages being hosted.
External design is software involves concerning, planning and specifying the
externally observable characteristics of a web product. These characteristics include
user display and user friendliness of a website, external data source and data sinks and
the functional characteristics performance requirement and high level process structure
and product.
61
62. A software design is a meaningful engineering of some software product that is to be
built. A design can be traced to the user‘s requirements that can be accessed for quality
against predefined criteria. During the design process the software requirements model
is transformed into design models that describe the details of data structure system
architecture interface and component. Each design product is reviewed for quality
before moving to the next phase of software development.
DESIGN GUIDELINES: -
A design should
Exhibit good architectural structure
Be modular
Contain distinct representation of data , architectural, interfaces, and
component(modules)
Lead to data structure that are appropriate for the object to be
implemented and be drawn from recognizable design pattern
Lead to components that exhibit independent function characteristics.
Lead to interfaces that complexity of connection between modules and
with the external environmental.
Is derived using a reputable method that is driven by information obtained
during software requirements analysis?
DESIGN PRINCIPLE
62
63. The design
Process should not suffer from tunnel vision.
Should be traceable to the analysis model.
Should not reinvent the wheel.
Should minimize intellectual distance between the software and the
problems as is exist in the world.
Should exhibit informing and integration.
Should be structured to accommodate change.
Should be structured to degrade gently, even with bad data, events or
operating condition are encountered.
Should be accessed for quality as it being created.
Should be reviewed to minimize conceptual error (semantic).
DESIGN STRATEGY
Once the specification is ready and analysis has been done, we move on to most
important stage in any project development, which is design. Till this Stage we knew
what is supposed to be done. Under design phase we provide the answer to the
question that how is it supposed to be done?
63
64. Design is an interactive process and one must repeatedly use the complexity and
reliability. Measures evaluate the progress of the design. There are various approaches
for designing. Some of the most widely used ones are as follows:
Top down approach
Bottom up approach
Object oriented design
The entire design phase of this project can be broadly categorized into two activities.
They are:
Higher level design
Lower level design
64
65. DESCRIPTION OF MODULES
I: Admin:
This module has features for authenticating user and removing unwanted data from the
database as well as removing unwanted users : -
Login module
Control panel
1. remove user
The administrator is having power to remove any user who is
misusing the services provided by the system.
2. Block user
The administrator is having power to block any user for certain
period of time according to the offence of a user.
II: guest:
This module is for the new user who wants to create an profile and wants to be the part
of our community : -
Registration
This module is for the new user who wanted to be the part of our
community after registration he/she can access all the resources and services provided
by the system.
65
66. Login
After registration guest may have his/her user id and password and by
entering it he/she can access all the services as a local user.
III: user:
Login
Registered user can login to their account through their user id and
passwords which were chosen by them at the time of registration. They have to provide
exactly same id and password to access to their account.
Home
After login user can access various services provided by the system and
this is the module where all these resources are available. These services are :-
1: Send email :- user can send email to their friends .
2: Send message :- user can send message to their friends.
3 : Send scrap :- user can post scrap to their friends page.
4 : Search friends :- user can search their friends in our database.
5: Upload photos :- user can upload their pictures.
6: Feedback :- user can give feedback about what he/she feels for the
system and also suggestion for advancement of the system .
66
67. Profile
This is the module where all the user information is displayed which
he/she entered at the time of registration . user can complete his/her profile at any point
of time only mandatory information is to be entered at the time of joining.
Friends
This is the module where user can add new friends those were already
part of our community and also can remove them as per their need.
++++++++end of module description++++++++
67
68. DATA STRUCTURE
PLANETREGISTER
Column name Data type Description
FIRSTNAME Varchar2(20)
LASTNAME Varchar2(10)
GENDER Varchar2(10)
DAY Varchar2(20)
MONTH Varchar2(20)
YEAR Varchar2(20)
COUNTRY Varchar2(50)
CITY Varchar2(20)
PROFESSION Varchar2(20)
EMAIL Varchar2(20)
PASSWORD Varchar2(20)
CONFIRMPASSWORD Varchar2(50)
NICKNAME Varchar2(20)
68
69. PLANET_USERPROFESSIONAL
Column name Data type Description
ID number Auto increment(not null)
NAME Varchar2(10)
EDUCATION Varchar2(10)
DEGREE Varchar2(50)
COMPLETED Varchar2(20)
COLLEGE Varchar2(20)
OCCUPATION Varchar2(20)
INDUSTRY Varchar2(20)
ORGANIZATION Varchar2(50)
CARRER Varchar2(20)
ADMIN
Column name Data type Description
USERNAME Varchar2(20)
PASSWORD Varchar2(20)
PLANET_MESSAGE
Column name Data type Description
TOUSER Varchar2(20)
FROMUSER Varchar2(20)
MESSAGE Varchar2(20)
PLANET_IMAGE
69
70. Column name Data type Description
ID number Auto increment(not null)
NAME Varchar2(20)
FILENAME Varchar2(100)
PLANET_USERSOCIAL
Column name Data type Description
ID number Auto increment(not null)
NAME Varchar2(20)
MARRIED Varchar2(20)
RELIGION Varchar2(20)
SMOKER Varchar2(20)
DRUNKER Varchar2(20)
PASSIONS Varchar2(20)
SPORTS Varchar2(20)
MOVIE Varchar2(20)
HOBBIES Varchar2(20)
MUSIC Varchar2(20)
URL Varchar2(20)
YOURSELF Varchar2(4000)
PLANET_ADD
Column name Data type Description
USERNAME Varchar2(40)
FRIEND Varchar2(40)
LOGIN
70
71. Column name Data type Description
ID Number Auto increment(not null)
USERNAME Varchar2(40)
PASSWORD Varchar2(40)
++++++++end of data structure++++++++
THE USER INTERFACE DESIGN
THE WEB DESIGN PYRAMID
71
72. INTERFACE
DESIGN
AESTHETIC DESIGN
CONTENT DESIGN
NAVIGATION DESIGN
ARCHITECTURE DESIGN
COMPONENT DESIGN
Web design pyramid shows us the various stages in the development of the
Social Networking Systen. The project Developed by me. www.planetF.com also
passed these stages. We can develop any project without following this step’s also but
our project may need several changes regularly and will not pass the quality assurance
test. Therefore to develop a robust and reliable website we need to follow these steps.
Various phases/stages in the design of website are as follow: -
♦ INTERFACE DESIGN
Here in this phase of website development we design the user interface.
User Interface is designed keeping in view the user interface principles.
72
73. While designing the user interface for the system for planetF.com we have followed
the user interface designing principles, which includes: -
• All the color combination have been used taken care of people who are color
blind so that they can also use the system easily, also colors are used such that it
doesn’t have bad effect on the eye of user.
• The entire font has been used just perfectly so that user feels easy while working
on the system.
• Proper messaging has been done so that user get proper message at the right
time.
• We have used familiar terms in the label so that the user can easily identify
them.
• Forms have been developed so that while working on monochrome monitor they
can be easily used without any modification.
AESTHETIC DESIGN
At this level of web designing we mainly focus on the graphics designing. We
try to improve the look and feel of the web pages. As we know that in web page
graphics matter the most. We can do so by using the Graphics designing software like
MS Paint, Photoshop. In this project I have extensively used Photoshop and MS Paint
for improving the look and feel of graphics design of the website.
73
74. ♦ CONTENT DESIGN
Content design defines the Layout and Structure of the website. As layout of any
website must be best, therefore we have given much time and effort in content
designing of the proposed website project. As you will navigate the website you will
get the layout and structure of the WebPages according to the need of the website and
customer.
♦ NAVIGATION DESIGN
When we reach at this stage we almost know the requirement of the website and
above all customer. So according to the need of the customer we have designed the
navigation links and the internal working of the website.
Navigation design should be such that the user of the website feels easy to navigate
and get the required information on less time, and we have done that during the
navigation design.
♦ ARCHITECTURE DESIGN
Architecture design of the website shows the Hypermedia structure of the
website. So important care need’s to be taken while designing the architecture of the
74
75. website. We have taken care of the requirement as well as the user needs while
designing the website.
♦ COMPONENT DESIGN
Component design of the website includes functional component design either
made by the developer or being imported by the company. Component designing is the
major work to be done by any web developer and, I have used several functional
components in our website, you can find these easily by referring to the coding part of
the website.
After these designs we Use the best available technology to design the project as best
technology gives best result. For developing the project planetF(SNS), We have used
the resent HTML, DHTML tag’s and many new feature of the JavaScript language for
the database application I have used JAVA along with the backend ORACLE.
Coding
75
76. register.jsp
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page import="java.sql.*"%>
<%@ page language="java" %>
<!DOCTYPE html>
<head>
<title>Sign Up planetF.com | Register Indian Social Network</title>
<style type="text/css">
body{margin: 0px; font-family:Tahoma; background: url() repeat top fixed;
background-color:#94b54e;}
</style>
<link href="register/style.css" rel="stylesheet" type="text/css">
</head><body style="margin: 0px;">
<script type="text/javascript">
var one;var two;var three;var four;var five;var six;var seven;var eight; var nine ;
var ten;var eleven;var twelve;var thirteen;
function validate(form) {
one=form.firstname.value;two=form.lastname.value;three=form.gender.value;fou
r=form.date.value;five=form.month.value;
six=form.year.value;seven=form.pcountry.value;eight=form.pcity.value;nine=for
m.prof.value;ten=form.email.value;
eleven=form.password.value;twelve=form.confpassword.value;thirteen=form.nic
kname.value;
if((one.length===0)||(one==="First Name"))
{
alert("Would you please enter your Firstname?");
return false;
}
76
77. if(two.length===0||(two==="Last Name"))
{
alert("Would you please enter your Lastname?");
return false;
}
if(four.length===0||(four==="Day"))
{
alert("Would you please enter your Date?");
return false;
}
if(five.length===0||(five==="Mon"))
{
alert("Would you please enter Month?");
return false;
}
if(six.length===0||(six==="year"))
{
alert("Would you please enter Year?");
return false;
}
if(seven.length===0||(seven==="--Select--"))
{
alert("Would you please enter your Country Name?");
return false;
}
if(eight.length===0||eight==="Enter City Name")
{
alert("Would you please enter city?");
return false;
}
if(nine.length===0||nine==="--Select--")
{
alert("Would you please enter your Profession?");
return false;
}
77
78. if(ten.length===0||eight==="Enter your Email")
{
alert("Would you please enter your Email");
return false;
}
if(eleven.length===0)
{
alert("Would you please enter your Password");
return false;
}
if(twelve.length===0)
{
alert("Would you please confirm your Password?");
return false;
}
if(thirteen.length===0||thirteen==="Nickname")
{
alert("Would you please enter your Nickname?");
return false;
}
return true;
}
</script>
<form action="planet_register" method="post" onsubmit="return
validate(this);">
78