15
Social Networking Version 1.0 Software Requirements Specification 22/01/2012 Black Code Black Code/ Bansal College Page 1 Black Code Social Networking Software Requirements Specification Version 1.0 Team Guide: Devendra Sharma Members: Gaurav Chauhan , Himanshu Goyal , Deepak Sharma College Name: Bansal College Department: Computer Science State: Rajasthan

Black Code

Embed Size (px)

Citation preview

8/2/2019 Black Code

http://slidepdf.com/reader/full/black-code 1/14

Social Networking Version 1.0Software Requirements Specification 22/01/2012Black Code

Black Code/ Bansal College Page 1

Black Code

Social Networking

Software Requirements Specification

Version 1.0

Team Guide: Devendra Sharma

Members: Gaurav Chauhan ,

Himanshu Goyal , Deepak Sharma

College Name: Bansal College

Department: Computer Science

State: Rajasthan

8/2/2019 Black Code

http://slidepdf.com/reader/full/black-code 2/14

Social Networking Version 1.0Software Requirements Specification 22/01/2012Black Code

Black Code/ Bansal College Page 2

Revision HistoryDate

Version Description Author

22/01/2012 1.0 Synopsis BlackCode

8/2/2019 Black Code

http://slidepdf.com/reader/full/black-code 3/14

Social Networking Version 1.0Software Requirements Specification 22/01/2012Black Code

Black Code/ Bansal College Page 3

Table of Contents

Description Page No.

1.0 Introduction1.1 Purpose 4

1.2 Scope 5

1.3 Definition, Acronyms, and Abbreviations 5

1.4 References 7

1.5 Technologies to be used 8

1.6 Overview 8

2.0 Overall Description

2.1 Product Perspective 8

2.2 Software Interface 8

2.3 Hardware Interface 9

2.4 Product Function 10

2.5 User Characteristics 10

2.6 Constraints 10

2.7 Architecture Design 11

2.8 Use Case Model Description 12

2.9 Class Diagram 13

2.10DFD Diagram 14

8/2/2019 Black Code

http://slidepdf.com/reader/full/black-code 4/14

Social Networking Version 1.0Software Requirements Specification 22/01/2012Black Code

Black Code/ Bansal College Page 4

Software Requirements Specification

1.0  Introduction:

A social networking service is an online service, platform, or site that focuses on building

and reflecting of social networks or social relations among people, who, for example, shareinterests and/or activities. A social network service consists of a representation of each user

(often a profile), his/her social links, and a variety of additional services. Social network 

services are web-based and provide means for users to interact over the Internet, such as e-mail and instant messaging. Online community services are sometimes considered as a

social network service, though in a broader sense, social network service usually an

individual-centered service whereas online community services are group-centered. Social

networking sites allow users to share ideas, activities, events, and interests within theirindividual networks completely social interactions with Government, NGO, etc for 24 hour

interaction and improving country organization and management with complete interaction.

It act as watch dog.

Social networks have additional features, such as the ability to create groups that share commoninterests or affiliations, upload or stream live videos, and hold discussions in forums. There isalso a trend for more interoperability between social networks led by technologies such as

Open_ID and Open Social. 

1.1 Purpose:

Social networking is more recently being used by various government agencies. Social

networking tools serve as a quick and easy way for the government to get the opinion of the

public and to keep the public updated on their activity. Within each of these interactiondomains, four kinds of activities take place:

Pushing information over the Internet, e.g.: regulatory services, general holidays, publichearing schedules, issue briefs, notifications, etc.

Two-way communications between the agency and the citizen, a business, or anothergovernment agency. In this model, users can engage in dialogue with agencies and post

problems, comments, or requests to the agency.

Conducting transactions, e.g.: lodging tax returns, applying for services and grants.

governance, e.g.: To enable the citizen transition from passive information access to

active citizen participation by:

1.  Informing the citizen

2.  Representing the citizen

3.  Encouraging the citizen to vote4.  Consulting the citizen

5.  Involving the citizen

8/2/2019 Black Code

http://slidepdf.com/reader/full/black-code 5/14

Social Networking Version 1.0Software Requirements Specification 22/01/2012Black Code

Black Code/ Bansal College Page 5

1.2 Scope:

Recent government policy updates have seen a shift away from e-Government towards a muchmore radical focus on transforming the whole relationship between the public sector and users of 

public services. This new approach is referred to as Transformational Government.Transformation programs differ from traditional e-Government program’s in four major ways:

They take a whole-of-government view of the relationship between the public sector andthe citizen or business user.

They include initiatives to e-enable the frontline public services: that is, staff involved in

direct personal delivery of services such as education and healthcare – rather than just

looking at transactional services which can be e-enabled on an end-to-end basis.They take a whole-of-government view of the most efficient way managing the cost base

of government.

They focus on the "citizen" not the "customer". That is, they seek to engage with thecitizens as owners of and participants in the creation of public services, not as passive

recipients of services

1.3 Definitions, Acronyms, and Abbreviations:

HTML (Hyper Text Markup Language): HTML is a computer language devised to allow

website creation. These websites can then be viewed by anyone else connected to the Internet.

HyperText is the method by which you move around on the web — by clicking on

special text called hyperlinks which bring you to the next page. The fact that it is hyper just means it is not linear — i.e. you can go to any place on the Internet whenever youwant by clicking on links — there is no set order to do things in.

Markup is what HTML tags do to the text inside them. They mark it as a certain type of 

textHTML is a Language, as it has code-words and syntax like any other language.

JSP (Java Server Pages): 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 pages are efficient, it loads into the web servers memory onreceiving the request very first time and the subsequent calls are served within a very shortperiod of time.

. Database is very convenient way to store the data of users and other things. JDBC provideexcellent database connectivity in heterogeneous database environment. Using JSP and JDBC its

very easy to develop database driven web application.

8/2/2019 Black Code

http://slidepdf.com/reader/full/black-code 6/14

Social Networking Version 1.0Software Requirements Specification 22/01/2012Black Code

Black Code/ Bansal College Page 6

Java is known for its characteristic of "write once, run anywhere." JSP pages are platformindependent. 

J2EE (Java 2 Enterprise Edition)

J2EE is a platform-independent, Java-centric environment from Sun for developing, buildingand deploying Web-based enterprise applications online. The J2EE platform consists of a set of services, APIs, and protocols that provide the functionality for developing multitier, Web-based

applications.

Some of the key features and services of J2EE:

At the client tier, J2EE supports pure HTML, as well as Java applets or applications. Itrelies on Java Server Pages and servlet code to create HTML or other formatted data for

the client.

Enterprise JavaBeans (EJBs) provide another layer where the platform's logic is stored.

An EJB server provides functions such as threading, concurrency, security and memorymanagement. These services are transparent to the author.

Java Database Connectivity (JDBC), which is the Java equivalent to ODBC, is thestandard interface for Java databases.

The Java servlet API enhances consistency for developers without requiring a graphical

user interface.

WebSphere (Application Server) 

WebSphere Application Server- Express allows you to implement and manage server-side Java components, such as servlets and JavaServer Pages (JSP) files. These Java components

can add complex business logic and dynamic functions to static HTML Web pages.

DB2 (IBM Database 2) 

Short for  Data base  2 , a family of relational database products offered by IBM. DB2

provides an open database environment that runs on a wide variety of computing platforms. A

DB2 database can grow from a small single-user application to a large multi-user system. UsingSQL, users can obtain data simultaneously from DB2 and other databases. DB2 includes a range

of application development and management tools. 

HTTP (Hyper Text Transfer Protocol) 

Short for  H  yper T ext T ransfer  Protocol, the underlying protocol used by the World Wide

Web. HTTP defines how messages are formatted and transmitted, and what actions Web serversand browsers should take in response to various commands. For example, when you enter a URL

in your browser, this actually sends an HTTP command to the Web server directing it to fetch

and transmit the requested Web page. 

8/2/2019 Black Code

http://slidepdf.com/reader/full/black-code 7/14

Social Networking Version 1.0Software Requirements Specification 22/01/2012Black Code

Black Code/ Bansal College Page 7

XML (Extensible Markup Language)

XML is a markup language that defines a set of rules for encoding documents in a format that is

both human-readable and machine-readable. It is defined in the XML 1.0 Specification producedby the W3C, and several other related specifications, all gratis open standards. The design goals

of XML emphasize simplicity, generality, and usability over the Internet. It is a textual dataformat with strong support via Unicode for the languages of the world. Although the design of 

XML focuses on documents, it is widely used for the representation of arbitrary data structures,

for example in web services.

Ajax (Asynchronous Java Script and XML)

Ajax is a group of interrelated web development techniques used on the client-side to create

asynchronous web applications. With Ajax, web applications can send data to, and retrieve data

from, a server asynchronously (in the background) without interfering with the display andbehavior of the existing page. Data is usually retrieved using the XMLHttpRequest object.Despite the name, the use of XML is not needed (JSON is often used instead), and the requestsdo not need to be asynchronous.

Web 2.0 

Web 2.0 is associated with web applications that facilitate participatory information

sharing, interoperability, user-centered design and collaboration on the World Wide Web. A

Web 2.0 site allows users to interact and collaborate with each other in a social media dialogue

as creators of user-generated content in a virtual community, in contrast to websites where usersare limited to the passive viewing of content that was created for them.  

1.4 References

https://www.ibm.com/developerworks/  

http://en.wikipedia.org/wiki/  

http://www.roseindia.net/  

http://stackoverflow.com/  

http://www.assignmenthelp.net/J2EE-assignment-help.php  

8/2/2019 Black Code

http://slidepdf.com/reader/full/black-code 8/14

Social Networking Version 1.0Software Requirements Specification 22/01/2012Black Code

Black Code/ Bansal College Page 8

1.5 Technologies to be used:

:

  J2EE: (Servlet, JSP, JAXP, Java Beans) Application architecture.

  JAVA: Application architecture.

  WASCE: (WebSphere Application Server Community Edition) Web Server

  DB2: IBM Database.

  Ajax: Asynchronous Java Script and XML.

  XML: Extension Markup Language.

  Localization: 3 Languages - Hindi, Kannada, and English

1.6 Overview:

Overall Description: A truly Indian social-networking website that is to promote social

responsibility (traffic rules, public hygiene, aversion to bribery etc). G2C (Government toCitizens)

  G2G (Government to Governments)

  C2G (Citizens to Governments)

All are connected with common networking website (online) and exchange their

information in form of blogs, post, comments, etc.

Specific Requirements: 

  Any citizen of India

  Beurocrats of India, Employees of Govt bodies,

  Volunteers from NGOs

2.0 Overall Description:2.1 Product Perspective:

A truly Indian social-networking website that is to promote social responsibility (traffic

rules, public hygiene, aversion to bribery etc)

2.2 Software Interface:

-I- Front End Client: Citizens who interact with website making postblogs and submit their query 

-I- Web Server: WebShphere take the citizen query and respond it

according to requirement 

-I- Data Base Server: DB2 collect all the information and maintain the all data

in database with standard structure

8/2/2019 Black Code

http://slidepdf.com/reader/full/black-code 9/14

Social Networking Version 1.0Software Requirements Specification 22/01/2012Black Code

Black Code/ Bansal College Page 9

4- Back End:

  XML: Take the data from user and transfer the data in web 2.0 to database (for

storing and fetching and update) and data transfer from server to User with xml.

  Ajax: Used for Asynchronous post or get

  J2EE: JSP, Bean, Servlet  Database: IBM DB2(Express) for maintaining records .

2.3 Hardware Interface:

Client Side:

Pentium Intel III

256 MB Ram

40 GB Hard disk

NIC Card Internet

Any operating System. 

4- Server Side:

Pentium Intel IV 1 GB RAM 120 GB Hard Disk NIC Card Internet Connection With 99.9 % through put

  Windows Server 2007/Linux 

2.4 Product Functions:

  Provide a common platform where people of India can

o  Voice out violations, injustice, inhumanity, corruption happening in their

vicinity

o  Endorse someone else’s concern and augment with more proofs, details etc. 

o  Call for an online debate or discussion on certain topics of broad

applicability

o   Highly dynamic, with minimal static content as framework and maximum content

created by site participants

  Highly extensible to the extent technically possible. Users should be able to add

content, add small pieces of new functionality and change their portion of the site

(not just colors & look & feel).

8/2/2019 Black Code

http://slidepdf.com/reader/full/black-code 10/14

Social Networking Version 1.0Software Requirements Specification 22/01/2012Black Code

Black Code/ Bansal College Page 10

  Being dependent highly on dynamic content collaborated by users, the site should

have the features to auto analyze topics, group discussions, auto recommend threads

based on searches etc.

  The ability to tag social discipline violators using their UID

  The site can provide various measures for fellow citizens to rate, control and

monitor the social responsibility of a given individual. For example, if you find your

classmate did a good job at the college function arrangements, you can increase his

service-orientation score by +1. If you find your neighbor smoking in public in front

of children, you can decrement his responsibility score by 1. When everyone assess

& reward a person for his social actions this way, one can see a true scale of where

he stands vis-à-vis where he thinks he really is. A traffic police giving ticket is no

more just monetary. He can (as a user of this website) affect you driving sense score.

If a police cop demanded for bribe, he may not be dismissed in system, but this

website could show his corruption level as utterly bad.

  Authenticity for adding users are utmost important for such a website. Definitely

one should not be allowed to have more than one profile.

o  There should be a placeholder for dealing with disputing situations

for the site as it is quite possible for recipients of negative reward toresist. The dispute resolution mechanism should not be like traditional

court, it should again be based on social forum like multiple opinions,

group actions 

2.5 User Characteristics:

  Any citizen of India

  Beurocrats of India, Employees of Govt bodies,

  Volunteers from NGOs

2.6 Constraints:

Cannot able to track the false report blog and user input item

It is reliable only when user is true with all information

Time constraints trying to implement but with some limitations

2.7 Architecture Design:

The core module is made up of four elements:

8/2/2019 Black Code

http://slidepdf.com/reader/full/black-code 11/14

Social Networking Version 1.0Software Requirements Specification 22/01/2012Black Code

Black Code/ Bansal College Page 11

  Profile Host. The core module provides the ability to host one or more memberprofiles and publishing these publicly or privately on the Web and to directories

  Profile Editor. The Profile Editor is a Web-based profile builder .The editor makes it

easy for members to build and update their profiles with personal information.  Friend Finder (Group Finder). The Friend Finder is both a Web-based user interface

and a Web service for browsing and finding friends across this new distributednetwork of open source social networks. Using the Friend Finder, members can

associate with friends from many distributed networks into their profile.  Social Networking Web Services. This is a web services layer that can be bundled

with the Profile Host and Profile Plugins . This API will support building and

managing friend networks, status updates/microblogging and messaging. It will alsogenerate feeds such as the XML profile site map for search engines, RSS activity feeds

and any friendship network feeds that are needed. Additionally, it will provide services

for registering or deleting members from various profile directories. It also provides an

API for Widget and third party application developers to access data related to

members’ profiles. In some cases, Widgets will just be gathering data the member

wants to make public whereas in other cases, the API will be used to modify andaccess private data. It should make use of OpenID or other authentication methods toestablish sessions and securely share data as chosen by the member.

  Optional elements include:

Profile Plug-ins. Profile Plug-ins would be offered OpenID to expand the profilehosting capabilities of these services using the social networking web serviceslayer; essentially, this plug-ins would extend existing open source platforms to

optionally link their member profiles into this new distributed open source network 

of social communities.

Bridge Layers for Proprietary Social Networks. Different Bridge Layers wouldneed to be offered for each existing proprietary service. Synchronize feeds with

friends in the new open source social network community.Widgets. Developers would build a variety of open source Widgets for use onprofile pages, blogs, Web sites and even in desktop applications.

  Third party Web sites and desktop applications. As the open source social

networks grow, more Web sites and desktop applications will integrate their services

with this open source social networking web service, providing more flexibility and

advanced capabilities to members.

8/2/2019 Black Code

http://slidepdf.com/reader/full/black-code 12/14

Social Networking Version 1.0Software Requirements Specification 22/01/2012Black Code

Black Code/ Bansal College Page 12

2.8 Use Case Diagram:

8/2/2019 Black Code

http://slidepdf.com/reader/full/black-code 13/14

Social Networking Version 1.0Software Requirements Specification 22/01/2012Black Code

Black Code/ Bansal College Page 13

2.9 Class Diagram:

8/2/2019 Black Code

http://slidepdf.com/reader/full/black-code 14/14

Social Networking Version 1.0Software Requirements Specification 22/01/2012Black Code

Black Code/ Bansal College Page 14

2.10 Sequence Diagrams:

DFD Diagram: