Vous êtes sur la page 1sur 14

Social Networking Software Requirements Specification Black Code

Version 1.0 22/01/2012

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/ Bansal College

Page 1

Social Networking Software Requirements Specification Black Code

Version 1.0 22/01/2012

Revision History
Date 22/01/2012

Version

Description

Author

1.0

Synopsis

BlackCode

Black Code/ Bansal College

Page 2

Social Networking Software Requirements Specification Black Code

Version 1.0 22/01/2012

Table of Contents
Description 1.0 Introduction 1.1 Purpose 1.2 Scope 1.3 Definition, Acronyms, and Abbreviations 1.4 References 1.5 Technologies to be used 1.6 Overview 2.0 Overall Description 2.1 Product Perspective 2.2 Software Interface 2.3 Hardware Interface 2.4 Product Function 2.5 User Characteristics 2.6 Constraints 2.7 Architecture Design 2.8 Use Case Model Description 2.9 Class Diagram 2.10DFD Diagram 8 8 9 10 10 10 11 12 13 14 Page No. 4 5 5 7 8 8

Black Code/ Bansal College

Page 3

Social Networking Software Requirements Specification Black Code

Version 1.0 22/01/2012

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, share interests 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 email 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 their individual 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 common interests or affiliations, upload or stream live videos, and hold discussions in forums. There is also 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 interaction domains, four kinds of activities take place: Pushing information over the Internet, e.g.: regulatory services, general holidays, public hearing schedules, issue briefs, notifications, etc. Two-way communications between the agency and the citizen, a business, or another government 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. 2. 3. 4. 5. Informing the citizen Representing the citizen Encouraging the citizen to vote Consulting the citizen Involving the citizen

Black Code/ Bansal College

Page 4

Social Networking Software Requirements Specification Black Code

Version 1.0 22/01/2012

1.2 Scope:
Recent government policy updates have seen a shift away from e-Government towards a much more 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 programs in four major ways: They take a whole-of-government view of the relationship between the public sector and the 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 the citizens 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 you want 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 text HTML 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 on receiving the request very first time and the subsequent calls are served within a very short period of time. . Database is very convenient way to store the data of users and other things. JDBC provide excellent database connectivity in heterogeneous database environment. Using JSP and JDBC its very easy to develop database driven web application.
Page 5

Black Code/ Bansal College

Social Networking Software Requirements Specification Black Code

Version 1.0 22/01/2012

Java is known for its characteristic of "write once, run anywhere." JSP pages are platform independent. J2EE (Java 2 Enterprise Edition) J2EE is a platform-independent, Java-centric environment from Sun for developing, building and 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. It relies 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 memory management. These services are transparent to the author. Java Database Connectivity (JDBC), which is the Java equivalent to ODBC, is the standard 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 serverside 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 Database 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. Using SQL, 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 HyperText Transfer Protocol, the underlying protocol used by the World Wide Web. HTTP defines how messages are formatted and transmitted, and what actions Web servers and 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.
Black Code/ Bansal College
Page 6

Social Networking Software Requirements Specification Black Code

Version 1.0 22/01/2012

XML (Extensible Markup Language) 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 produced by 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 data format 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.
XML

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 and behavior 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 requests do 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 users are 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

Black Code/ Bansal College

Page 7

Social Networking Software Requirements Specification Black Code

Version 1.0 22/01/2012

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 to Citizens)

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:

Citizens who interact with website making post blogs 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
-I- Front End Client:

Black Code/ Bansal College

Page 8

Social Networking Software Requirements Specification Black Code 4- Back End:

Version 1.0 22/01/2012

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
4- Server Side:

40 GB Hard disk NIC Card Internet Any operating System.

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 elses 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).

Black Code/ Bansal College

Page 9

Social Networking Software Requirements Specification Black Code

Version 1.0 22/01/2012

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 to resist. 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:

Black Code/ Bansal College

Page 10

Social Networking Software Requirements Specification Black Code

Version 1.0 22/01/2012

Profile Host. The core module provides the ability to host one or more member profiles 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 distributed network 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 also generate 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 and access private data. It should make use of OpenID or other authentication methods to establish 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 profile hosting capabilities of these services using the social networking web services layer; 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 would need 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 on profile 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.

Black Code/ Bansal College

Page 11

Social Networking Software Requirements Specification Black Code

Version 1.0 22/01/2012

2.8 Use Case Diagram:

Black Code/ Bansal College

Page 12

Social Networking Software Requirements Specification Black Code

Version 1.0 22/01/2012

2.9 Class Diagram:

Black Code/ Bansal College

Page 13

Social Networking Software Requirements Specification Black Code

Version 1.0 22/01/2012

2.10 Sequence Diagrams: DFD Diagram:

Black Code/ Bansal College

Page 14