You are on page 1of 82

TABLE OF CONTENTS

CHAPTERS TITLE PAGE NO.


ABSTRACT
1. INTRODUCTION
1.1 Project Description
2. SYSTEM ANALYSIS
2.1 Existing System
2.2 Proposed System
2.3 About the Project
2.3.1 Feasibility Study
3 SYSTEM DESIGN
3.1 System Design Goals
3.2 Input Design
3.3 Output Design
3.4 Database Design
3.5 Table Design
3.6 Data Flow Diagram
4. MODULE DESCRIPTION
5. SYSTEM REQUIREMENTS AND ANALYSIS
5.1 Software and Hardware Requirements
5.2 Software Explanation
6. TESTING AND IMPLEMENTATION
6.1 System Testing
6.2 Implementation
7. CONCLUSION
8. FUTURE ENHANCEMENT
9. APPENDIX
9.1 Source Code
9.2 Screenshots
9.3 Bibliography
9.4 References
ABSTRACT
Social networking services have been prevalent at many online communities such as
Twitter.com and Weibo.com, where millions of users keep interacting with each other every day.
One interesting and important problem in the social networking services is to rank users based on
their vitality in a timely fashion. An accurate ranking list of user vitality could benefit many
parties in social network services such as the ads providers and site operators. Although it is very
promising to obtain a vitality-based ranking list of users, there are many technical challenges due
to the large scale and dynamics of social networking data. In this paper, we propose a unique
perspective to achieve this goal, which is quantifying user vitality by analyzing the dynamic
interactions among users on social networks. Examples of social network include but are not
limited to social networks in micro blog sites and academicals collaboration networks.
Intuitively, if a user has many interactions with his friends within a time period and most of his
friends do not have many interactions with their friends simultaneously, it is very likely that this
user has high vitality. Based on this idea, we develop quantitative measurements for user vitality
and propose our first algorithm for ranking users based vitality. Also we further consider the
mutual influence between users while computing the vitality measurements and propose the
second ranking algorithm, which computes user vitality in an iterative way. Other than user
vitality ranking, we also introduce a vitality prediction problem, which is also of great
importance for many applications in social networking services. Along this line, we develop a
customized prediction model to solve the vitality prediction problem. To evaluate the
performance of our algorithms, we collect two dynamic social network data sets. The
experimental results with both data sets clearly demonstrate the advantage of our ranking and
prediction methods.
1. INTRODUCTION
1.1 PROJECT DESCRIPTION
With the development of web technology, social networking service has been prevalent at
many online platforms. The social networking service facilitates the building of social networks
or social relations among users who, for instance, share interest, activities, back ground and
physical connections. Through such service, users could stay connected with each other and be
informed of friends’ behaviors such as posting at a platform, and consequently be influenced by
each other. For instance, in today’s Twitter and Weibo (one of the most popular social
networking sites in China), a user can get the instant updates about his connected friends’
postings and could further retweet or comment the postings. Within a time period, millions of
users may take different actions such as posting and retweeting at these social networking sites.

One interesting and important problem is how to rank users based on their vitality with
historical data [10]. An accurate vitality ranking of users will provide great insight for many
applications in most online social networking sites. For instance, online ads providers may make
better strategy for delivering their ads via considering the ranked vitality of users; site operators
may design better practices for online campaigns (e.g., online survey) via leveraging the ranking
list. While it is very promising for many parties to provide a vitality ranking of users, there are
many technical challenges to tackle this problem. First, to decide the vitality of a user, we could
not only examine his own interaction with others, but also need to look into the interactions of
other users collectively. For instance, suppose one user has had many interactions with most of
his friends in a time period, we may conclude different vitality of this user when most of his
friends also have had many interactions in the same time period versus when most of his friends
do not have had many interactions. Second, as the scale of social networks increases, it becomes
more challenging to rank the vitality of users because a large number of nodes (users) may
influence the vitality of an individual node (user). Third, as the social networks in many online
sites evolve over time, the vitality of users may also change over time. Thus efficient methods
are needed to dynamically obtain the vitality of users at different times.
2. SYSTEM ANALYSIS
2.1 EXISTING SYSTEM
The development of web technology, social networking service has been prevalent at
many online platforms the social networking service facilitates the building of social networks or
social relations among users who, for instance, share interest, activities, background and physical
connections the social networks in many online sites evolve over time, the vitality of users may
also change overtime. Thus efficient methods are needed to dynamically the social networks in
many online sites Evolve over time; the vitality of users may also change over Time. Thus
efficient methods are needed to dynamically.

DISADVANTAGES OF EXISTING SYSTEM

If a user has many interactions with his friends within a time period and most of
his friends do not have many interactions with their friends simultaneously Other than user
vitality ranking, we also introduce a vitality prediction problem.
2.2 PROPOSED SYSTEM
In the literature, researchers have made some efforts on ranking users in social
networking sites. For instance, a Twitter user ranking algorithm was proposed to identify
authoritative users who often submit useful information. The proposed algorithm mainly works
based on the user-tweet graph, rather than the user-user social graph. An extension of Page Rank
algorithm named Twitter Rank was developed to rank Twitter users based on their influence.

They first build topic-specific relationship network among users, then apply the Twitter
Rank algorithm for ranking. a modified K-shell decomposition algorithm is developed to
measure the user influence in Twitter.

ADVANTAGES OF PROPOSED SYSTEM

It is very likely that this user has high vitality. Although it is very promising to obtain
a vitality-based ranking list of users, there are many technical challenges due to the large
scale and dynamics of social networking data. In this section, we evaluate the performances
of the activity ranking algorithms with two real-world data sets. We may generate a social
network based on all activities happening within the time period.
2.3 ABOUT THE PROJECT

2.3.1 FEASIBILITY STUDY


The feasibility of the project is analyzed in this phase and business proposal is put forth
with a very general plan for the project and some cost estimates. During system analysis the
feasibility study of the proposed system is to be carried out. This is to ensure that the proposed
system is not a burden to the company. For feasibility analysis, some understanding of the major
requirements for the system is essential.

Three key considerations involved in the feasibility analysis are

 Economical feasibility
 Technical feasibility
 Social feasibility

ECONOMICAL FEASIBILITY

An organization makes good investment on the system. So, they should be worthful for
the amount they spend in the system. Always the financial benefit and equals or less the cost of
the system, but should not exceed the cost.

 The cost of investment is analyzed for the entire system

 The cost of Hardware and Software is also noted.

 Analyzing the way in which the cost can be reduced

Every organization wants to reduce there cost but at the same time quality of the Service
should also be maintained. The system is developed according the estimation of the cost made by
the concern. In this project, the proposed system will definitely reduce the cost and also the
manual work is reduced and speed of work is also increased.
TECHNICAL FEASIBILITY

The Technical feasibility is the study of the software and how it is included in the study
of our project. Regarding this there are some technical issues that should be noted they are as
follows:

 Is the necessary technique available and how it is suggested and acquired?

 Does the proposed equipment have the technical capacity to hold the data required
using the new system?

 Will the system provide adequate response that is made by the requester at an
periodic time interval

 Can this system be expanded after this project development

 Is there a technique guarantees of accuracy, reliability in case of access of data


and security

The technical issues are raised during the feasibility study of investigating our System.
Thus, the technical consideration evaluates the hardware requirements, software etc. This
system uses ASP.Net as front end and SQl server as back end. They also provide sufficient
memory to hold and process the data. As the company is going to install all the process in the
system it is the cheap and efficient technique.

This system technique accepts the entire request made by the user and the response is
done without failure and delay. It is a study about the resources available and how they are
achieved as an acceptable system. It is an essential process for analysis and definition of
conducting a parallel assessment of technical feasibility.

Though storage and retrieval of information is enormous, it can be easily handled by


Oracle. As the oracle can be run in any system and the operation does not differ from one to
another. So, this is effective.
SOCIAL FEASIBILITY

Proposed project will be beneficial only when they are turned into an information system
and to meet the organization operating requirements. The following issues are considered for the
operation:

 Does this system provide sufficient support for the user and the management?

 What is the method that should be used in this project?

 Have the users been involved in the planning and development of the projects?

 Will the proposed system cause any harm, bad result, loss of control and accessibility
of the system will lost?

Issues that may be a minor problem will sometimes cause major problem in the
operation. It is the measure of how people can able to work with the system. Finding out the
minor issues that may be the initial problem of the system. It should be a user-friendly
environment. All these aspect should be kept in mind and steps should be taken for developing
the project carefully.

Regarding the project, the system is very much supported and friendly for the user. The
methods are defined in an effective manner and proper conditions are given in other to avoid the
harm or loss of data. It is designed in GUI interface, as working will be easier and flexible for
the user.

They are three basic feasibility studies that are done in every project.
3. SYSTEM DESIGN

3.1 SYSTEM DESIGN GOALS


3.2 INPUT DESIGN
The input design is the link between the information system and the user. It comprises the
developing specification and procedures for data preparation and those steps are necessary to put
transaction data in to a usable form for processing can be achieved by inspecting the computer to
read data from a written or printed document or it can occur by having people keying the data
directly into the system. The design of input focuses on controlling the amount of input required,
controlling the errors, avoiding delay, avoiding extra steps and keeping the process simple. The
input is designed in such a way so that it provides security and ease of use with retaining the
privacy. Input Design considered the following things:

 What data should be given as input?

 How the data should be arranged or coded?

 The dialog to guide the operating personnel in providing input.

 Methods for preparing input validations and steps to follow when error occur.

OBJECTIVES

1. Input Design is the process of converting a user-oriented description of the input into a
computer-based system. This design is important to avoid errors in the data input process and
show the correct direction to the management for getting correct information from the
computerized system.
2. It is achieved by creating user-friendly screens for the data entry to handle large volume of
data. The goal of designing input is to make data entry easier and to be free from errors. The
data entry screen is designed in such a way that all the data manipulates can be performed. It
also provides record viewing facilities.
3. When the data is entered it will check for its validity. Data can be entered with the help of
screens. Appropriate messages are provided as when needed so that the user will not be in
maize of instant. Thus the objective of input design is to create an input layout that is easy to
follow.
3.3 OUTPUT DESIGN
A quality output is one, which meets the requirements of the end user and presents the
information clearly. In any system results of processing are communicated to the users and to
other system through outputs. In output design it is determined how the information is to be
displaced for immediate need and also the hard copy output. It is the most important and direct
source information to the user. Efficient and intelligent output design improves the system’s
relationship to help user decision-making.

1. Designing computer output should proceed in an organized, well thought out manner; the
right output must be developed while ensuring that each output element is designed so that
people will find the system can use easily and effectively. When analysis design computer
output, they should Identify the specific output that is needed to meet the requirements.
2. Select methods for presenting information.
3. Create document, report, or other formats that contain information produced by the system.
The output form of an information system should accomplish one or more of the following
objectives.

 Convey information about past activities, current status or projections of the

 Future.

 Signal important events, opportunities, problems, or warnings.

 Trigger an action.

 Confirm an action.
3.4. DATABASE DESIGN

TableName :FRTable

FieldName DataType Key/Null


UName1 varchar(50) Not Null
UName2 varchar(50) Not Null

TableName :NTable

FieldName DataType Key/Null


NName varchar(50) Primary Key

TableName :PCTable

FieldName DataType Key/Null


NName varchar(50) Not Null
UName varchar(50) Not Null
PCount numeric(5, 0) Not Null

TableName :ReqTable

FieldName DataType Key/Null


ID numeric(5, 0) Primary Key
RFrom varchar(50) Not Null
RFNName varchar(50) Not Null
RTo varchar(50) Not Null
RTNName varchar(50) Not Null
RDate datetime Not Null
Status varchar(50) Not Null

TableName :RTable

FieldName DataType Key/Null


NName varchar(50) Foreign Key
UName varchar(50) Primary Key
EMailID varchar(50) Not Null
PWord varchar(50) Not Null
Gender varchar(20) Not Null
CNumber numeric(10, 0) Not Null
Location varchar(50) Not Null
PPhoto varchar(150) Not Null

TableName :Stable

FieldName DataType Key/Null


PID numeric(5, 0) Primary Key
SName varchar(50) Not Null
RName varchar(50) Not Null
Message varchar(150) Not Null
ImgName varchar(50) Not Null
SImage varchar(150) Not Null
SDate datetime Not Null

TableName :ULTable

FieldName DataType Key/Null


UName varchar(50) Foreign Key
NName varchar(50) Foreign key
LDate datetime Not Null
InTime datetime Not Null
OutTime datetime Not Null
TotSec numeric(5, 0) Not Null
3.5. DATA FLOW DIAGRAM
Home Page

Home Page

Admin User Login

Admin

Admin Login

Check Username
and Password
False

True

Network Detail User detail Post Detail Ranking Chart


Network Detail

Network Detail

New Network View all Network


Detail Inserted Detail

NTable NTable

User Detail

User detail

View all User View User Input


Detail Networkwise and output
No.of user time detail

RTable RTable RTable


Post Detail

Post Detail

Userwise Post Networkwise


Detail Post Detail

View Total View Highest Networkwise Highest Network


No.of Post post send Total No.of Post Details
user Detail

STable PCTable

STable PCTable
RTable

Ranking

Ranking

UserwiseRanking Networkwise Ranking


Ranking show based on show based on total
total no.of minutes no.of minutes using this
using this site site

ULTable ULTable
Chart
Chart

Userwise NetworkwiseC Network Post Network Chart


total Post hart Post Chart count Chart using minutes
Chart wise chart

ULTable ULTable ULTable ULTable

User Login
User Login

New Register RTable

Check Username
and password

False
s

View Profile Friends Details Share Information

RTable
Friends Details Friends Details

Search Friends ReqTable View Friends Request View Friends List


accept or reject the
request
Check Name ReqTable FRTable

False True
ReqTable
Shows all user details FRTable
send request to user

\
ReqTable

Share Information

Share Information

Show all friends list FRTable View all Information

STable
Select Friend
Information send to SsS
user and post count
details updated

STable
PCTable
4. MODULE DESCRIPTION
ADMIN

Network details

Administrator add and view new network details.

User details

The admin view all user details. The name, address etc… are displayed in table format.
Admin view total number of user network wise. Admin view user login and logout time details.

Post details

The admin view user post wise details. Admin view total number of post userwise.
Admin view highest post user details.

Network wise

Admin view total number of post network wise. Admin view highest post network
details.

Ranking

Admin view ranking user wise and network wise.

Chart

Admin show different types of chart. The user wise chart, the network wise chart (total
post chart, using minutes wise chart)

USER

New registration

User show all network name, select network using register to selected network by the
user. Then the user registration the details into the database.
User Login

The user name and password is check with the database table and network name is
validated in database table. Then the login details is stored in the database table.

View Profile

The user view user profile details.

Friend

Search Friend: Type user name valid show user details. Show user details and request to
the user by the user.

Friend Request: User view all the friend request, accept/reject the user.

View Friend: The user view all the friend details.

Share Info

New Post: The user show all friends name and select the friend name. Then the post send
to corresponding user.

View Post: The user view all post details. Finally logout details stored in the database
table.
5. SYSTEM REQUIREMENTS AND ANALYSIS

5.1 SOFTWARE AND HARDWARE REQUIREMENTS

SOFTWARE REQUIREMENTS
The below Software Specifications were used in both Server and Client machines when
developing.
SERVER
Operating System : Windows 7
Technology Used : Microsoft ASP.NET
Database : SQL Server
Database Connectivity : ActiveX Data Object (ADO)
Web Server : Internet Information Server
Browser : Internet Explorer 6.0
CLIENT
Operating System : Windows 7
Browser : Internet Explorer 6.0
HARDWARE REQUIREMENTS
The below Hardware Specifications were used in both Server and Client machines when
developing.
Processor : Intel(R) Core(TM) i3
Processor Speed : 3.06 GHz
Ram : 2 GB
Hard Disk Drive : 250 GB
Floppy Disk Drive : Sony
CD-ROM Drive : Sony
Monitor : “17” inches
Keyboard : TVS Gold
Mouse : Logitech
5.2. SOFTWARE EXPLANATION

FEATURE OF ASP.NET

ASP.NET, the next version of ASP, is a programming Framework that is used to create
enterprise – class web applications. The enterprise class web applications are accessible on a
global basis loading to efficient information management. However, the advantages that
ASP.NET offers make it more than just next version of ASP.NET.

ASP.NET is integrated with visual studio.Net, which provides a GUI designer, a rich
toolbox and a fully integrated debugger. This allows the development of applications in a what
you see is what you get (WYSIWYG) MANNER.

The .NET Framework is a common environment for building, deploying, and running
Web Services and Web Applications. The .NET Framework contains common class libraries -
like ADO.NET, ASP.NET and Windows Forms - to provide advanced standard services that can
be integrated into a variety of computer systems.

The .NET Framework is language neutral. Currently it supports C++, C#, Visual Basic,
JScript (The Microsoft version of JavaScript) .The new Visual Studio.NET is a common
development environment for the new .NET Framework. It provides a feature-rich application
execution environment, simplified development and easy integration between a number of
different development languages.

Unique Features Of .Net Environment

1. Internet Inside

2. Common Language support

3. Common Class Libraries

4. Common Language Runtime

5. Garbage Collection.

6. Cross Language Reference

7. Web Services
INTERNET INFORMATION SERVICE 6.0

IIS 6.0 has strong support for more programming to take place on the server, to allow the
new Web Applications to run in any browser on any platform.

ASP.NET

 ASP.NET is a server side scripting technology that enables scripts (embedded in web pages)
to be executed by an Internet server.

 ASP.NET is a Microsoft Technology

 ASP.NET stands for Active Server Pages

 ASP.NET is a program that runs inside IIS

 IIS stands for Internet Information Services

 IIS comes as a free component with Windows 2008

 IIS is also a part of the Windows NT 4.0 Option Pack

 The Option Pack can be downloaded from Microsoft PWS is a smaller - but fully functional -
version of IIS PWS can be found on your Windows 95/98 CD.

 ASP.NET 3.0 is the latest version of ASP.NET, but there will never be an ASP.NET 4.0
version.

 ASP.NET is the next generation ASP.NET, but it's not an upgraded version of ASP.NET.
ASP.NET is an entirely new paradigm for server-side ASP.NET script

 ASP.NET is a part of the new .NET (dotnet) Framework. Microsoft spent three years
rewriting ASP.NET from the ground up, and ASP.NET is not fully backward compatible
with ASP.NET 3.0.

 ASP.NET has better language support, a large set of new controls and XML based
components, and better user authentication.

 ASP.NET provides increased performance by running compiled code.

 ASP.NET code is not fully backward compatible with ASP.NET.


 ASP.NET is a server side programming language.

 ASP.NET is an object oriented programming language.

 Active Server Pages - ASP.NET

 ASP.NET is the latest version of ASP.NET. It includes Web Services to link


applications, services and devices using HTTP, HTML, XML and SOAP.

NEW IN ASP.NET

1. New Language Support


2. Programmable Controls
3. Event Driven Programming
4. XML Based Components
5. User Authentication
6. User Accounts and Roles
7. High Scalability
8. Compiled Code
9. Easy Configuration
10. Easy Deployment
11. Includes ADO .NET

WEB SERVICES

 Web services are small units of code


 Web services are designed to handle a limited set of tasks
 Web services use XML based communicating protocols
 Web services are independent of operating systems
 Web services are independent of programming languages .
 .NET Web Services
 Web services are small units of code built to handle a limited task.
 Small Units of Code
 Web services are small units of code designed to handle a limited set of tasks.

XML BASED WEB PROTOCOLS


Web services use the standard web protocols HTTP, XML, SOAP, WSDL, and UDDI.

HTTP

HTTP (Hypertext Transfer Protocol) is the World Wide Web standard for communication
over the Internet.

XML

XML (extensible Markup Language) is a well-known standard for storing, carrying, and
exchanging data.

SOAP

Simple Object Access Protocol is a lightweight platform and language neutral


Communication protocol that allows programs to communicate via standard Internet HTTP

WSDL

WSDL (Web Services Description Language) is an XML-based language used to define


web services and to describe how to access them.

UDDI

Universal Description, Discovery and Integration is a directory service where businesses


can register and search for web services. UDDI is a public registry, where one can publish and
inquire about web services.

INDEPENDENT OF OPERATING SYSTEM

Since web services use XML based protocols to communicate with other systems, web
services are independent of both operating systems and programming languages.

An application calling a web service will always send its requests using XML, and get
its answer returned as XML. The calling application will never be concerned about the
operating system or the programming language running on the other computer.

BENEFITS OF WEB SERVICES

1. Easier to communicate between applications.


2. Easier to distribute information to more consumers.
3. Rapid development.
4. Web services make it easier to communicate between different applications.
5. They also make it possible for developers to reuse existing web services.
6. Instead of writing new ones.

INTRODUCTION TO SQL SERVER

The database component of Microsoft® SQL Server™ 2008 is a Structured Query


Language (SQL)–based, scalable, relational database with integrated Extensible Markup
Language (XML) support for Internet applications. Each of the following terms describes a
fundamental part of the architecture of the SQL Server 2008 database component:

DATABASE

A database is similar to a data file in that it is a storage place for data. Like a data file, a
database does not present information directly to a user; the user runs an application that
accesses data from the database and presents it to the user in an understandable format.

Database systems are more powerful than data files in that data is more highly organized.
In a well-designed database, there are no duplicate pieces of data that the user or application
must update at the same time. Related pieces of data are grouped together in a single structure or
record, and relationships can be defined between these structures and records.

When working with data files, an application must be coded to work with the specific
structure of each data file. In contrast, a database contains a catalog that applications use to
determine how data is organized. Generic database applications can use the catalog to present
users with data from different databases dynamically, without being tied to a specific data
format.

A database typically has two main parts: first, the files holding the physical database and second,
the database management system (DBMS) software that applications use to access data. The
DBMS is responsible for enforcing the database structure, including:

 Maintaining relationships between data in the database.


 Ensuring that data is stored correctly, and that the rules defining data relationships
are not violated.
 Recovering all data to a point of known consistency in case of system failures.
RELATIONAL DATABASE

Although there are different ways to organize data in a database, relational databases are
one of the most effective. Relational database systems are an application of mathematical set
theory to the problem of effectively organizing data. In a relational database, data is collected
into tables (called relations in relational theory).

A table represents some class of objects that are important to an organization. For example, a
company may have a database with a table for employees, another table for customers, and
another for stores. Each table is built of columns and rows (called attributes and tuples in
relational theory). Each column represents some attribute of the object represented by the table.
For example, an Employee table would typically have columns for attributes such as first name,
last name, employee ID, department, pay grade, and job title. Each row represents an instance of
the object represented by the table. For example, one row in the Employee table represents the
employee who has employee ID 12345. When organizing data into tables, you can usually find
many different ways to define tables. Relational database theory defines a process called
normalization, which ensures that the set of tables you define will organize your data effectively.

SCALABLE

SQL Server 2008 supports having a wide range of users access it at the same time. An
instance of SQL Server 2008 includes the files that make up a set of databases and a copy of the
DBMS software. Applications running on separate computers use a SQL Server 2008
communications component to transmit commands over a network to the SQL Server 2008
instance. When an application connects to an instance of SQL Server 2008, it can reference any
of the databases in that instance that the user is authorized to access. The communication
component also allows communication between an instance of SQL Server 2008 and an
application running on the same computer. You can run multiple instances of SQL Server 2008
on a single computer.

SQL Server 2008 is designed to support the traffic of the largest Web sites or enterprise data
processing systems. Instances of SQL Server 2008 running on large, multiprocessor servers are
capable of supporting connections to thousands of users at the same time.
Although SQL Server 2008 is designed to work as the data storage engine for thousands
of concurrent users who connect over a network, it is also capable of working as a stand-alone
database directly on the same computer as an application. The scalability and ease-of-use
features of SQL Server 2008 allow it to work efficiently on a single computer without
consuming too many resources or requiring administrative work by the stand-alone user. The
same features allow SQL Server 2008 to dynamically acquire the resources required to support
thousands of users, while minimizing database administration and tuning. The SQL Server 2008
relational database engine dynamically tunes itself to acquire or free the appropriate computer
resources required to support a varying load of users accessing an instance of SQL Server 2008
at any specific time. The SQL Server 2008 relational database engine has features to prevent the
logical problems that occur if a user tries to read or modify data currently used by others.

STRUCTURED QUERY LANGUAGE

To work with data in a database, you have to use a set of commands and statements
(language) defined by the DBMS software. Several different languages can be used with
relational databases; the most common is SQL. The American National Standards Institute
(ANSI) and the International Standards Organization (ISO) define software standards, including
standards for the SQL language. SQL Server 2008 supports the Entry Level of SQL-92, the SQL
standard published by ANSI and ISO in 1992. The dialect of SQL supported by Microsoft SQL
Server is called Transact-SQL (T-SQL). T-SQL is the primary language used by Microsoft SQL
Server applications.

EXTENSIBLE MARKUP LANGUAGE

XML is the emerging Internet standard for data. XML is a set of tags that can be used to
define the structure of a hypertext document. XML documents can be easily processed by the
Hypertext Markup Language, which is the most important language for displaying Web pages.

Although most SQL statements return their results in a relational, or tabular, result set,
the SQL Server 2008 database component supports a FOR XML clause that returns results as an
XML document. SQL Server 2008 also supports XPath queries from Internet and intranet
applications. XML documents can be added to SQL Server databases, and the OPENXML clause
can be used to expose data from an XML document as a relational result set.
6. TESTING AND IMPLEMENTATION
6.1 SYSTEM TESTING
System Testing is an important stage in any system development life cycle. Testing is a
process of executing a program with the intention of finding errors. The importance of software
testing and its implications with respect to software quality cannot be overemphasized. Software
testing is a critical element of software quality assurance and represents the ultimate review of
specification, design and coding. A good test case is one that has a high probability of finding a
yet undiscovered error.

The purpose of testing is to discover errors. Testing is the process of trying to discover
every conceivable fault or weakness in a work product. It provides a way to check the
functionality of components, sub assemblies, assemblies and/or a finished product It is the
process of exercising software with the intent of ensuring that the Software system meets its
requirements and user expectations and does not fail in an unacceptable manner. There are
various types of test. Each test type addresses a specific testing requirement.

Testing is the set of activities that can be planned in advance and conducted
systematically. Different test conditions should be thoroughly checked and the bugs detected
should be fixed. The testing strategies formed by the user are performed to prove that the
software is free and clear from errors. To do this, there are many ways of testing the system’s
reliability, completeness and maintainability.

The important phase of software development is concerned with translating the design
specification into the error-free source code. Testing is carried out to ensure that the system does
not fail, that it meets the specification and it satisfies the user. The system testing was carried out
in a systematic manner with a test data containing all possible combinations of data to check the
features of the system. A test data was prepared for each module, which took care of all the
modules of the program.

System Testing is an important stage where the system developed is tested with duplicate
or original data. It is a process of executing a program with the intent of finding an error. It is a
critical process that can consume fifty percent of the development time.
UNIT TESTING

In the unit testing the analyst tests the program making up a system. The software units
in a system are the modules and routines that are assembled and integrated to perform a specific
function. In a large system, many modules on different levels are needed.

Unit testing can be performed from the bottom up starting with the smallest and lowest
level modules and proceeding one at a time. For each module in a bottom-up testing, a short
program executes the module and provides the needed data.

INTEGRATION TESTING

Integration testing is a systematic technique for constructing the program structure while
conducting test to uncover errors associate with interfacing. Objectives are used to take unit test
modules and built program structure that has been directed by design.

The integration testing is performed for this Project when all the modules where to make
it a complete system. After integration the project works successfully.

VALIDATION TESTING

Validation testing can be defined in many ways, but a simple definition is that can be
reasonably expected by the customer. After validation test has been conducted, one of two
possible conditions exists.

 The functions or performance characteristics confirm to specification and are accepted.

 A deviation from specification is uncovered and a deficiency list is created.

Proposed system under consideration has been tested by using validation testing and
found to be working satisfactorily.

For example, in this project validation testing is performed against module. This module
is tested with the following valid and invalid inputs for the field id.

WHITE BOX TESTING

White box testing, sometimes called glass-box testing is a test case design method that
uses the control structure of the procedural design to derive test cases. Using white box testing
methods, the software engineer can derive test cases that
 Guarantee that all independent paths with in a module have been exercised at least
once.

 Exercise all logical decisions on their true and false sides.

 Execute all loops at their boundaries and with in their operational bounds and

 Exercise internal data structure to assure their validity.

For example in this project white box testing is performed against patient module.
Without entering text if we apply it displays the message “First add record then save it” else it
should be saved.

BLACK BOX TESTING

This method treats the coded module as a black box. The module runs with inputs that are
likely to cause errors. Then the output is checked to see if any error occurred. This method
cannot be used to test all errors, because some errors may depend on the code or algorithm used
to implement the module.
6.2 IMPLEMENTATION
Implementation is the stage in the project where the theoretical design is turned into a
working system. The most critical stage is achieving a successful system and in giving
confidence on the new system for the users, what it will work efficient and effectively. It
involves careful planning, investing of the current system, and its constraints on implementation,
design of methods to achieve the change over methods.

The implementation process begins with preparing a plan for the implementation of the
system. According to this plan, the activities are to be carried out in these plans; discussion has
been made regarding the equipment, resources and how to test activities.

The coding step translates a detail design representation into a programming language
realization. Programming languages are vehicles for communication between human and
computers programming language characteristics and coding style can profoundly affect
software quality and maintainability. The coding is done with the following characteristics in
mind.

 Ease of design to code translation.


 Code efficiency.
 Memory efficiency.
 Maintainability.
The user should be very careful while implementing a project to ensure what they have
planned is properly implemented. The user should not change the purpose of project while
implementing. The user should not go in a roundabout way to achieve a solution; it should be
direct, crisp and clear and up to the point.

Implementation is the stage of the project when the theoretical design is turned out into a
working system. Thus it can be considered to be the most critical stage in achieving a successful
new system and in giving the user, confidence that the new system will work and be effective.

The implementation stage involves careful planning, investigation of the existing system
and it’s constraints on implementation, designing of methods to achieve changeover and
evaluation of changeover methods.
7. CONCLUSION
In this project, we presented a study on user vitality ranking and prediction in social
networking services such as microblog application. Specifically, we first introduced a user
vitality ranking problem, which is based on dynamic interactions between users on social
networks. To solve this problem, we developed two lgorithms to rank users based on vitality.
While the first algorithm works based on the developed two user vitality measurements, the
second algorithm further takes into account the mutual influence among users while computing
the vitality easurements. Then we presented a user vitality prediction problem and introduced a
egressionbased method for the prediction task. Intensive experiments on two real-world data sets
that are collected from different domains clearly demonstrate the effectiveness of our ranking
and prediction methods. The accurate results of both user vitality ranking and prediction could
benefit many parties in different social networking services, e.g., a user vitality ranking list could
help ads providers to better display their ads to active users and reach more audiences.
8. FUTURE ENHANCEMENT
In Future, supervised dimensionality reduction methods are prone to over fitting when the
numbers of labeled instances are small. Semi-supervised dimensionality reduction methods are
proposed to overcome this problem by taking into consideration the unlabeled data points. Our
proposed method can also be seen as an instance of semi supervised dimensionality reduction.
mbedding learning is an active research field and we believe unsupervised cross domain
sentiment classification can benefit from this line of work in the future.
9. APPENDIX
9.1 SOURCE CODE
New Network

using System.Data.SqlClient;

using System.Configuration;

public partial class NewNetwork : System.Web.UI.Page

SqlConnection con;

SqlCommand cmd;

SqlDataReader rs;

protected void Page_Load(object sender, EventArgs e)

try

Label1.Text = "";

Menu m2 = (Menu)Master.FindControl("Menu2");

m2.Visible = true;

con=new SqlConnection (ConfigurationManager .ConnectionStrings


["connection"].ConnectionString );

con.Open();

catch (Exception ex)

Label1.Text = ex.Message;

}
}

protected void LinkButton1_Click(object sender, EventArgs e)

try

cmd = new SqlCommand("select nname from ntable where nname=@nname", con);

cmd.Parameters.AddWithValue("nname", TextBox1.Text);

rs = cmd.ExecuteReader();

bool b = rs.Read();

rs.Close();

cmd.Dispose();

if (b)

Label1.Text = "Network Name Already Found.....";

return;

cmd = new SqlCommand("insert into ntable values(@nname)", con);

cmd.Parameters.AddWithValue("nname", TextBox1.Text);

cmd.ExecuteNonQuery();

cmd.Dispose();

Label1.Text = "Network Details Inserted.....";

catch (Exception ex)

{
Label1.Text = ex.Message;

protected void LinkButton2_Click(object sender, EventArgs e)

TextBox1.Text = "";

New Registration

using System.Data.SqlClient;

using System.Configuration;

using System.Collections;

public partial class NewRegistration : System.Web.UI.Page

SqlConnection con;

SqlCommand cmd;

SqlDataReader rs;

protected void Page_Load(object sender, EventArgs e)

try

Label1.Text = "";

Menu m1 = (Menu)Master.FindControl("Menu1");

m1.Visible = true;
con = new
SqlConnection(ConfigurationManager.ConnectionStrings["connection"].ConnectionString);

con.Open();

if (!IsPostBack)

cmd = new SqlCommand("select nname from ntable ", con);

rs = cmd.ExecuteReader();

DropDownList1.DataSource = rs;

DropDownList1.DataTextField = "nname";

DropDownList1.DataBind();

DropDownList1.Items.Insert(0, "Select");

rs.Close();

cmd.Dispose();

catch (Exception ex)

Label1.Text = ex.Message;

protected void LinkButton3_Click(object sender, EventArgs e)

try

{
Image1.ImageUrl = "";

HiddenField1.Value = "";

if (FileUpload1.HasFile)

string path = DateTime.Now.Ticks + "_" + FileUpload1.FileName;

Image1.ImageUrl = FileUpload1.PostedFile.FileName;

FileUpload1.PostedFile.SaveAs(Server.MapPath("UPhoto/" + path));

HiddenField1.Value = path;

catch (Exception ex)

Label1.Text = ex.Message;

protected void LinkButton1_Click(object sender, EventArgs e)

try

if (DropDownList1.SelectedIndex == 0)

Label1.Text = "Select Website Name....";

return;

}
if (RadioButtonList1 .SelectedIndex ==-1 )

Label1.Text = "Select Gender....";

return;

cmd = new SqlCommand("select uname from rtable where uname=@uname", con);

cmd.Parameters.AddWithValue("uname", TextBox1.Text);

rs = cmd.ExecuteReader();

bool b = rs.Read();

rs.Close();

cmd.Dispose();

if (b)

Label1.Text = "UserName Already Found.....";

return;

cmd = new SqlCommand("select emailid from rtable where emailid=@emailid", con);

cmd.Parameters.AddWithValue("emailid", TextBox2.Text);

rs = cmd.ExecuteReader();

b = rs.Read();

rs.Close();

cmd.Dispose();

if (b)

Label1.Text = "EMailID Already Found.....";


return;

if (HiddenField1.Value == "")

Label1.Text = "Profile Photo Not Selected....";

return;

cmd = new SqlCommand("insert into rtable


values(@nname,@uname,@emailid,@pword,@gender,@cnumber,@location,@pphoto)", con);

cmd.Parameters .AddWithValue ("nname",DropDownList1 .SelectedItem .Text );

cmd.Parameters .AddWithValue ("uname",TextBox1 .Text );

cmd.Parameters .AddWithValue ("emailid",TextBox2 .Text );

cmd.Parameters .AddWithValue ("pword",TextBox3 .Text );

cmd.Parameters .AddWithValue ("gender",RadioButtonList1 .SelectedItem .Text );

cmd.Parameters .AddWithValue ("cnumber",TextBox4 .Text );

cmd.Parameters .AddWithValue ("location",TextBox5 .Text );

cmd.Parameters .AddWithValue ("pphoto",HiddenField1 .Value );

int no= cmd.ExecuteNonQuery();

cmd.Dispose();

Label1.Text = "New User Registration Details Inserted....";

if (no != 0)

cmd = new SqlCommand("insert into pctable values(@nname,@uname,@pcount)",


con);

cmd.Parameters.AddWithValue("nname", DropDownList1.SelectedItem.Text);

cmd.Parameters.AddWithValue("uname", TextBox1.Text);
cmd.Parameters.AddWithValue("pcount",0);

cmd.ExecuteNonQuery();

cmd.Dispose();

catch (Exception ex)

Label1.Text = ex.Message;

protected void LinkButton2_Click(object sender, EventArgs e)

DropDownList1.SelectedIndex = 0;

TextBox1.Text = "";

TextBox2.Text = "";

TextBox3.Text = "";

TextBox4.Text = "";

TextBox5.Text = "";

Image1.ImageUrl = "";

HiddenField1.Value = "";

}
User Login

using System.Data .SqlClient ;

using System.Configuration ;

public partial class LoginForm : System.Web.UI.Page

SqlConnection con ;

SqlCommand cmd ;

SqlDataReader rs ;

protected void Page_Load(object sender, EventArgs e)

try

Label1.Text = "";

Menu m1 = (Menu)Master.FindControl("Menu1");

m1.Visible = true;

con = new
SqlConnection(ConfigurationManager.ConnectionStrings["connection"].ConnectionString);

con.Open();

if (!IsPostBack)

cmd = new SqlCommand("select nname from ntable ", con);

rs = cmd.ExecuteReader();

DropDownList1.DataSource = rs;

DropDownList1.DataTextField = "nname";
DropDownList1.DataBind();

DropDownList1.Items.Insert(0, "Select");

rs.Close();

cmd.Dispose();

catch (Exception ex)

Label1.Text = ex.Message;

protected void LinkButton3_Click(object sender, EventArgs e)

try

if (DropDownList1.SelectedIndex == 0)

Label1.Text = "Select Network Name.....";

return;

cmd = new SqlCommand("select * from rtable where uname=@uname and


pword=@pword and nname=@nname", con);

cmd.Parameters.AddWithValue("uname", TextBox1.Text);

cmd.Parameters.AddWithValue("pword", TextBox2.Text);

cmd.Parameters.AddWithValue("nname", DropDownList1.SelectedItem.Text);
rs = cmd.ExecuteReader();

string pimage = "";

if (rs.Read ())

Session.Add("NetworkName", DropDownList1.SelectedItem.Text);

Session.Add("UName", TextBox1.Text);

pimage = rs["PPhoto"].ToString();

pimage = Server.MapPath("UPhoto/" + pimage);

Session.Add("PImage", pimage);

rs.Close();

cmd.Dispose();

string s = DateTime.Now.ToString();

Session.Add("UInTime", s);

cmd = new SqlCommand("insert into ultable


values(@uname,@nname,@ldate,@intime,@outtime,@totsec)", con);

cmd.Parameters .AddWithValue ("uname",TextBox1 .Text );

cmd.Parameters.AddWithValue("nname", DropDownList1.SelectedItem.Text);

cmd.Parameters .AddWithValue ("ldate",DateTime .Now .ToString ("dd-MMM-


yyyy"));

cmd.Parameters .AddWithValue ("intime",s);

cmd.Parameters.AddWithValue("outtime",
DateTime.Now.AddSeconds(1).ToLongTimeString ());

cmd.Parameters .AddWithValue ("totsec","1");

cmd.ExecuteNonQuery ();

cmd.Dispose ();
Response.Redirect("UserViewProfile.aspx");

else

rs.Close();

cmd.Dispose();

Label1.Text = "Invalid UserName Or Password Or Website Name......";

return;

catch (Exception ex)

Label1.Text = ex.Message;

Search Friends

using System.Data.SqlClient;

using System.Configuration;

using System.Data;

public partial class SearchFriends : System.Web.UI.Page

SqlConnection con;

SqlCommand cmd;

SqlDataReader rs;
SqlDataAdapter adp;

DataTable dt;

protected void Page_Load(object sender, EventArgs e)

try

Label1.Text = "";

Menu m3 = (Menu)Master.FindControl("Menu3");

m3.Visible = true;

con = new
SqlConnection(ConfigurationManager.ConnectionStrings["connection"].ConnectionString);

con.Open();

if (!IsPostBack)

if (Session["UName"] != null && Session["PImage"] != null )

catch (Exception ex)

Label1.Text = ex.Message;

void bindgrid()
{

try

GridView1.Visible = false;

adp=new SqlDataAdapter ("select * from rtable where uname=@uname and


(uname<>@uname1) and (uname not in (select rto from reqtable where rfrom=@rfrom and
status<>'Reject' ))", con);

adp.SelectCommand.Parameters.AddWithValue("uname", TextBox1 .Text );

adp.SelectCommand.Parameters.AddWithValue("uname1",
Session["UName"].ToString());

adp.SelectCommand.Parameters.AddWithValue("rfrom", Session["UName"].ToString());

dt = new DataTable();

adp.Fill(dt);

GridView1.Visible = true;

GridView1.DataSource = dt;

GridView1.DataBind();

catch (Exception ex)

Label1.Text = ex.Message;

protected void LinkButton1_Click(object sender, EventArgs e)

try

{
bindgrid();

catch (Exception ex)

Label1.Text = ex.Message;

protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)

try

if (e.CommandName == "rr")

cmd = new SqlCommand("select * from frtable where (uname1=@uname1 and


uname2=@uname2) or (uname1=@uname3 and uname2=@uname4)", con);

cmd.Parameters.AddWithValue("uname1", TextBox1.Text);

cmd.Parameters.AddWithValue("uname2", Session["UName"].ToString());

cmd.Parameters.AddWithValue("uname3", Session["UName"].ToString());

cmd.Parameters.AddWithValue("uname4", TextBox1.Text);

rs = cmd.ExecuteReader();

bool b = rs.Read();

rs.Close();

cmd.Dispose();

if (b)

{
Label1.Text = "Record Already Found...";

return;

string uname =
GridView1.DataKeys[int.Parse(e.CommandArgument.ToString())].Values [0].ToString() ;

string nname =
GridView1.DataKeys[int.Parse(e.CommandArgument.ToString())].Values[1].ToString();

cmd = new SqlCommand("select isnull(max(id),0)+1 from reqtable ", con);

int id = int.Parse(cmd.ExecuteScalar().ToString());

cmd.Dispose();

cmd = new SqlCommand("insert into reqtable values


(@id,@rfrom,@rfnname,@rto,@rtnname,@rdate,@status)", con);

cmd.Parameters.AddWithValue("id", id);

cmd.Parameters.AddWithValue("rfrom", Session["UName"].ToString());

cmd.Parameters.AddWithValue("rfnname", Session["NetworkName"].ToString());

cmd.Parameters.AddWithValue("rto", uname);

cmd.Parameters.AddWithValue("rtnname", nname);

cmd.Parameters.AddWithValue("rdate", DateTime.Now);

cmd.Parameters.AddWithValue("status", "Request");

cmd.ExecuteNonQuery();

cmd.Dispose();

bindgrid();

catch (Exception ex)

{
Label1.Text = ex.Message;

View Friends Request

using System.Data.SqlClient;

using System.Data;

using System.Configuration;

public partial class ViewFriendsRequest : System.Web.UI.Page

SqlConnection con;

SqlDataAdapter adp;

DataTable dt ;

SqlCommand cmd;

protected void Page_Load(object sender, EventArgs e)

try

Label1.Text = "";

Menu m3 = (Menu)Master.FindControl("Menu3");

m3.Visible = true;

con = new
SqlConnection(ConfigurationManager.ConnectionStrings["connection"].ConnectionString);
con.Open();

if (!IsPostBack)

if (Session["UName"] != null && Session["PImage"] != null)

bindgrid();

catch (Exception ex)

Label1.Text = ex.Message;

void bindgrid()

try

adp = new SqlDataAdapter("select rfrom ,location,pphoto,id from reqtable r1,rtable r2


where r1.rfrom=r2.uname and rto=@rto and status='request'", con);

adp.SelectCommand.Parameters.AddWithValue("rto", Session["UName"].ToString());

dt = new DataTable();
adp.Fill(dt);

GridView1.DataSource = dt;

GridView1.DataBind();

catch (Exception ex)

Label1.Text = ex.Message;

protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)

GridView1.PageIndex = e.NewPageIndex;

bindgrid();

protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)

try

if (e.CommandName == "aa")

int id =
int.Parse(GridView1.DataKeys[int.Parse(e.CommandArgument.ToString())].Value.ToString());

cmd = new SqlCommand("update reqtable set status='Accept' where id=@id", con);

cmd.Parameters.AddWithValue("id", id);

cmd.ExecuteNonQuery();
cmd.Dispose();

cmd = new SqlCommand("insert into frtable values (@uname1,@uname2)", con);

cmd.Parameters.AddWithValue("uname1", Session["UName"].ToString());

cmd.Parameters.AddWithValue("uname2",
GridView1.Rows[int.Parse(e.CommandArgument.ToString())].Cells[1].Text);

cmd.ExecuteNonQuery();

cmd.Dispose();

cmd = new SqlCommand("insert into frtable values (@uname1,@uname2)", con);

cmd.Parameters.AddWithValue("uname1",
GridView1.Rows[int.Parse(e.CommandArgument.ToString())].Cells[1].Text);

cmd.Parameters.AddWithValue("uname2", Session["UName"].ToString());

cmd.ExecuteNonQuery();

cmd.Dispose();

bindgrid();

else if (e.CommandName == "rr")

int id =
int.Parse(GridView1.DataKeys[int.Parse(e.CommandArgument.ToString())].Value.ToString());

cmd = new SqlCommand("update reqtable set status='Reject' where id=@id", con);

cmd.Parameters.AddWithValue("id", id);

cmd.ExecuteNonQuery();

cmd.Dispose();

bindgrid();

}
catch (Exception ex)

Label1.Text = ex.Message;

}
9.2 SCREENSHOTS
Homepage
Admin Login
New Network
View Network
User Registration
User Login
View Profile Details
Search Friends
View Friends Request
View Friends List
Share Info and Messages
Post and Share Images to Friend
Admin View All User Details
Total User
User In and Out Time Details
Userwise Total Post
Highest Post User Details
Networkwise Total Post
Network wise Highest Post
Userwise Network Rank
Overall Rank
Userwise Total Post
Networkwise Total Post
Network Postcountwise Chart
Network Using Minuteswise Chart
9.3 BIBLIOGRAPHY
Good Teachers are worth more than thousand books, we have them in Our Department

References Made From:

Everyone’s an i[1] Eytan Bakshy, Jake M Hofman, Winter A Mason, and Duncan J Watts.
nfluencer: quantifying influence on twitter. In Proceedings of the fourth ACM international
conference on Web search and data mining, pages 65–74. ACM, 2011.

[2] Sergey Brin and Lawrence Page. Reprint of: The anatomy of a largescale hypertextual web
search engine. Computer networks, 56(18):3825–3833, 2012.

[3] Robert Goodell Brown. Smoothing, forecasting and prediction of

discrete time series. Courier Corporation, 2004.

[4] Christopher S Campbell, Paul P Maglio, Alex Cozzi, and Byron Dom.

Expertise identification using email communications. In Proceedings of the twelfth international


conference on Information and knowledge management, pages 528–531. ACM, 2003.

[5] Meeyoung Cha, Hamed Haddadi, Fabricio Benevenuto, and P Krishna

Gummadi. Measuring user influence in twitter: The million follower fallacy. ICWSM, 10(10-
17):30, 2010.
9.4 REFERENCES
http://www.sourcefordgde.com

http://www.networkcomputing.com/

http://www.ieee.org

http://www.almaden.ibm.com/software/quest/Resources/

http://www.computer.org/publications/dlib

You might also like