Social Network

Published on February 2017 | Categories: Documents | Downloads: 47 | Comments: 0 | Views: 390
of 28
Download PDF   Embed   Report

Comments

Content

 

Title:

Online Social Network  Introduction:

Online or virtual Social Network, allow people with common interests to meet, communicate and share ideas and information, through a network like the web. While doing this, participants develop bonds with each other and the community as a whole. Online Social Network have emerged as one of the most   potential levers of action the web. Such Social Network can be built around demographic groups students, parents, professional groups - doctors or programmers or who share a particular personal interest - bikers or clock repairers. Threaded by a common interest, community participants have a lot to share with each other. Once established, online Social Network provides a new way for brands to reach customers with special interest in their products. Online Social Network aims to achieve the following: •



Engage citizens in participating democracy, discuss their own issues etc. Encourage citizen-source journalism that complements and in some cases competes with local for profit news organizations



Enable government more meaningful wayofficials to communicate with constituents more often, more easily and in a The target audience is anyone interested in local community issues/ any other issues.  How do online Social Network interact Online Social Network interact by virtue of their shared passion. They can be found in a variety of web destinations offering expression to interest-related activities. Like discussion forums, book sites, auction sites, trading/exchange sites, blogs and so on. The tools used are generally message boards, blogging applications, text chat.

The building blocks of an online community

Online virtual Social Network make use of a range of technologies that support person-to-person and   per perso sonn-to to-g -gro roup up co comm mmun unic icat atio ions ns.. Th Thee en enab abli ling ng te tech chno nolo logi gies es fa faci cili litat tatee two two di dist stin inct ct type typess of  communication: Real time (or synchronous) Communication: Communication: through text chat and instant messaging Non-reall time Non-rea time (or asynch asynchron ronous ous)) Commun Communicat ication ion:: throug through h messag messagee boards boards,, mail mail lis lists, ts, member member and community web pages, and surveys. Additionally virtual Social Network also depend on a member database and may also include technologies to support registration, electronic commerce, directories (of products, services, suppliers, etc.) and searches (for searching member profiles, community documentation, reports, articles, transcripts, archives,etc.).

 

PROJECT CATEGORY: The category of this project is WEB APPLICATION

Tools to be used:

1. 2. 3. 4. 5. 6.

Language: PHP Web Technology: PHP Other tool: Wordpress Web Server: Apache Server  IDE: Macromedia Dreamweaver  Database: My SQL

HARDWARE REQUIREMENTS FOR SERVER:

Processor RAM CACHE Input Device Output Device

:: :: :: :: ::

INTEL P3 and above or AMD 512 MB and above 512 KB and above Mouse or Keyboard VDU(minimum VGA,SVGA support) , Printer 

SOFTWARE SPECIFICATION FOR SERVER:

Operating System Web Server Database Language

:: :: :: ::

Windows or Linux Apache Server  Mysql 5 PHP

I am using XAMP (A software collection that has integrated Apache, Mysql and PHP) which is a collection of all software we need in the server.

HARDWARE SPECIFICATION FOR CLIENT

Processor RAM CACHE Input Device Output Device

:: :: :: :: ::

INTEL P2 and above or AMD or any processor  128 MB and above 128 KB and above Mouse or Keyboard VDU(minimum VGA,SVGA support) , Printer 

SOFTWARE SPECIFICATION FOR SERVER 

Operating System Web Browser

:: ::

Any Any

System Overview The application that I will develop covers the following areas : User’s Personal Details with Other Information:

 

o o o

Entering Personal Professional and Social Details. Uploading personal image Storing images. Friend search: Entering name or location.

o

Community search

Entering name or owner.

o

Scrapbook :

Select the user and write the message in his message box. View messages of various friend. Deleting Particular Departments Details.

o o o

Album

User can store unlimited photos in his album User can also view others album also.

o o

Communities

User can create community. User can delete community Messages can be interchanged.

Friend list

This is the page where user can see all his joined communities. User can alsoremove coined communities from community list.

o o

Chat

User can chat with other online users.

o

Add friend

User can send /accept/reject friend to the desired user  Salient Features:

A user user is only only al allo lowe wed d to ente enterr th thee sy syst stem em th thro roug ugh h id an and d pa pass sswo word rd.. So unauthorized access id controlled. A user can change his/her own password for his/her own security. o This system provides high efficiency to manage different operation. o It provides easy movement through the different screens. o Multiple users can use this system after few modifications. o Beha Be havi viou ourr an and d lo look ok n’ feel feel of th thee to tool olss ca can n be co cont ntro roll lled ed by co comp mpre rehe hens nsiv ivee o administration parameters Web based administration for configuration, parameters, maintenance, and approval o activities o

 

Web based content management and moderation tools. Moderators can approve, moderate and maintain contents for all tools. It can be carried out online in real time for  tools like Room chat moderation, or Guest speaker chat Very Ver y flexib flexible le and general generalized ized policy policy implem implement entatio ation n for all tools. tools. This This policy policy o module controls access rights for visitors, members, respective owners of different tools and moderators Active content technology, which enables any content of any tool to be pasted on o any page of the site or any other site. For example, example, content content for a poll can be pasted in any  page within the your site, or any other site o

o

Very comprehensive user and usage statistics

Overall description The Online Social Network encompasses numerous files and information from the User Database, as well as files on the server system. This system will be completely web-based, linking to User Data Base and the remote web server from a standard web browser. An Internet connection or as LAN connection is necessary to access the system.

System environment 

 Figure 1: System Design The Online Community Blogging Blogging web site will be operated from the web server. When an Admin connects to the Web Server, the Web Server will pass the inform,ation to the database server . The Web Server will then interact with the Database through BDE, which allows the Windows type program to transfer data to and from a database.

Functional requirements definitions Functional Requirements are those that refer to the functionality of the system, i.e., what services it will provide to the user. Nonfunctional (supplementary) requirements pertain to other information needed to produce the correct system and are detailed separately.

Use cases

User first log into the system if the user is registered member , otherwise the can register himself/herself  to the site, providing his/her user name , desired password and his/her every details that is required during new user registration. If the user wants to be an unregistered member he can choose to be an unregistered member of the site.

 

During the registration a check must be made whether an user already, or duplicate user name exists, then an error message is sent to the user. After the registration process is over user can log into the system with his /her user id and password. A check must be made, to verify the password of specified user against the database, otherwise an error  message is sent to the user. After the user successfully logs in the system, he/she can update the profile, manage the community, post a message, or even can retrieve a message. (Note : An unregistered user cannot perform this operation. He/She can only view a message.).

Home Page

 Figure 2: Home Page

Brief Description The Web Server is waiting on an User to connect. Initial step-by-step description For Web this use case to be initiated, the User must must be connected to the Internet/LAN and connected to the Server. 1. The User connects to the Web Server. 2.

The User selects the User link on the home page.

3.

The Web Server passes the User to to the Us User Home Pa Page.

Log in

 

 Figure 3: Login Brief Description The Web Server is waiting on an User to connect. Initial step-by-step description For this use case to be initiated, the User must be connected to the Internet and connected to the Web Server. • The User connects to the Web Server. •

The User selects the User link on the home page.



The Web Server passes the User to the User Home Page.





User id & password is given by the user. Admin checks both of them (Checking is generally done against the Database).

If the information provided by the user is correct, it grants the access to the user otherwise sent a error message to the user. •

Add new entry

 

 Figure 4: Add a new entry to Database Brief Description: The User chooses to create a new entry on the Entries page. Initial step-by-step description. For this use case to be initiated the User must be connected connected to the Internet and on the Entries page. •

The User selects the “Add a New User” link.



The Web Server returns the “Add a New User Form.”



The User fills in the form.



The User can choose which fields to make public or private.



The User clicks submit.



The Web Server checks to see if all required fields contain data.



If all required fields contain data the Web Server adds the data to the User Database.



If a required filed is empty the Web Server returns the form to the User with a message.



The Web Server returns the User to the User Home Page.

Update & Entry

 

 Figure 5: Update & Entry Brief Description: The User chooses to update an existing entry in the User Database. Initial step-by-step description: For this use case to be initiated the User must be connecte connected d to the Internet and on the User Home  page. •

The User chooses the “Update User Information” option.



The Web Server presents the User with a form.



The Web Server searches the User Database for the User name and password.



The Web Server returns the User’s data if the password matches.

If the password does not match the Web Server returns an error message and returns the User to the previous page.





The User changes the appropriate fields and clicks submit.



The Web Server replaces the old data with the new.



The Web Server returns the User to the User Home Page.

Initialize Blog & Visit

 

Figure 6: Initializing Blog and Viewing  

Brief description: The User chooses to View or Post a message.. Initial step-by-step description: For this use case to be initiated the User must be connecte connected d to the Internet and on the User Home Page. Case 1: User chooses to enter as a registered User. ♣ User can post a message. ♣ User can modify existing ones ♣ User can send a reply message to the post of other user. ♣ User cannot send a reply to its own post. ♣ Case 2: • • • •

Search

User chooses to Enter as a unregistered User. User can view the message. User cannot modify the post User cannot send a reply message unless he/she is a registered user.

 

Figure 7: Search a Community Brief description: The User chooses to Search Community. Initial step-by-step description: For this use case to be initiated the User must be connected to the Internet and on the User OCB Home Page. •

The User chooses “Search.”



.The User fills in the form and clicks submit.



The Web Server queries the User Database for the requested information.



The Web Server returns all related results



The User chooses a particular result

If the User requested is not in the User Database, if there is no related for the requested User, the Web Server will return a message that the requested ““Result Result can not be found” found”



The Departmental Server will return a message containing either a result of execution or “Result can not be found”.



System Analysis:

Systems development can generally be thought of as having two major components, in which one such component is   Systems Analysis. Systems Systems analysis analysis is the process process of gathering gathering and interpre interpreting ting facts, facts, diagnosing problems and using the information to recommend improvement to the system. Analysis is a detailed study of the various operations performed by a system and their relationship within and outside of  the system. system. One aspect of analysis analysis is defining defining the boundaries boundaries of the system and determining determining whether or  not a candidate system system should consider consider other related systems. systems. During During analysis, data are collected on the available availa ble files, decision decision points, and transaction transactionss handled by the present system. system. Data flow diagrams, diagrams, interviews, on-site observations and questionnaires questionnaires are commonly used tools in analys analysis. is. We can say that

 

analysis specifies what the system should should do. System analysis is the management management technique, which helps us in designing a new system, improving an existing system or solving a system problem. There are key strategies for eliciting information regarding the user’s requirements:-

(i)Asking, (ii) getting information from the existing information system, and, (iii) prototyping.  

Asking:

This strategy obtains information from users by simply asking them about the requirements. It assumes a stable system where users are well informed and can overcome in defining the problem. There are three key asking methods ,(i) Questi Question on may be ope open-e n-ende nded d or or clos closed? ed? An open open ende ended d ques questio tion n allo allows ws the respon responden dentt to formulate a response. It is used feeling or opinions are important. A close question requests are answer from a specific set of responses. It is used when factual responses are known. (ii) Brains Brainstor tormin ming g is a techn techniqu iquee used used for for gene generat rating ing new ideas ideas and and obta obtaini ining ng g gene eneral ral information requirements. (iii)) (iii Group Group conse consensu nsuss asks parti particip cipant antss for their their expect expectatio ations ns regard regarding ing spec specifi ificc variable variables. s.

GETTING INFORMATION FROM THE EXISTING INFORMATION SYSTEM   Determining information from an existing application has been called the data analysis approach. It

simply asks the user what information is currently received and what other information is required. It relies heavily on the user to articulate information needs. The analyst examines all reports, discusses with the user each piece of information examined, and determines unfulfilled information needs by interviewing the user. The analyst is primarily involved in improving the existing flow of data to the user. PROTOTYPING

The third strategies for determining user information requirements are used when the user can’t establish information needs accurately before the information system to build. The reason could be the lack of an existing model on which to have requirements or a difficulty in visualizing candidate systems. PLANNING THE DEVELOPMENT PROCESS:

The development of the software has been done by the following the steps of  Software Development Life Cycle. Development of the software was deemed essential and the particular solution has been adopted after devising the alternative solutions of the problem and conducting feasibility tests on all of them. First, the Soft First, has be been en do done ne.. The The preliminary  requirements Software ware Requirem Requirements ents Specific Specificatio ation n has determination, followed by the requirements specification specification, data flow design, functional requirements requirements determination has been conducted. The next step is System Design. The Data Flow Diagram (DFD) and Entity–   Relationship (ER) diagram are to be created in this phase. While the former identifies the major transformations and clarifies system sys tem requir requireme ements nts,, the lat latter ter provid provides es us with with repres represent entati ation on of the schema schemas. s. In this this phase, phase, the organization of forms and reports and a detailed description of the activities of the system have been  provided.

 

REQUIREMENTS SPECIFICATION:

  Requirements Specification Specification involves the basic requirements that the system to be developed should posses. These can be broadly classified into two types. 1. Perfo Perform rman ance ce Requi Requirem remen ents ts.. 2. Func Functi tion onal al Requi Require reme ment nts. s. Understanding the requirements specification is critical for the projects success otherwise the system does not get developed according to the customer’s wishes. Functional Requirements:

Home Page Use Case Name:

Access Home Page

Priority

Essential

Trigger

Menu selection

Precondition

Admin is connected to the Internet and on the home page

Basic Path

Alternate Path

End User sends request to the admin. The Web Server presents the Admin with home Page.  N/A

Postcondition

The Admin allow access to the user 

Exception Path

If there is a connection failure the Web Server returns to the wait state

Login Use Case Name:

Log in

Priority

Essential

Trigger

Selects

Precondition

The User is connected to the Internet and on the Home Page

Basic Path











The Web Server presents the user  with a form. The user fills in the form and click  submit The Web Server checks to see if  all required fields are correct by checking with the database. If the required fields are correct, the web server welcome the user . If any of the required fields are

 

not correct, the Web Server  returns a message and returns the Admin to the Survey form. Alternate Path

 N/A

Postcondition

The can interact with all communities

Exception Path



If the connection is terminated before the form is submitted, the fields all cleared and theare Web Server  is returned to the wait state.

Add a new entry Use Case Name:

Create a new entry

Priority

Essential

Trigger

Menu selection

Precondition

The User must be connected to the

Basic Path

Internet and on this new registration page. The User click on • add a new entry. The Web Server  • returns a form. The user fills in the • form and clicks submit. The Web Server  • checks to see if any required field is empty. If any required field •



Alternate Path Postcondition

is empty the Web Server will send a message and return the new entry form  page. If no required field is empty the Web Server will create a new record in the Admin Table in the Admin Database, and return the User to the Home Page.

 N/A A record is created in the Admin Table of 

 

the Admin Database. Exception Path





If the connection is terminated before the form is submitted, the fields are cleared and the Web Server is returned to the wait state. If the connection is terminated after  the form is submitted, but before the Admin is returned to the Home Page, the record is created in the Admin Table of the Admin Database.

Update an Entry Use Case Name:

Update an Entry

Priority

Essential

Trigger

Menu selection

Precondition

The User must be connected to the Internet and on the edit profile Page. The User clicks on update an entry o link. The Web Server returns a form. o The User enters his/her profile details. o The Web Server queries the Admin o Database and returns a table. The Web Server returns a form with o the data for that user in it and a message to update the data they wish and click  submit. The Web Server with replaces the old o data with the new data and returns the User Home Page.  New Data will be available.

Basic Path

Alternate Path Post condition Exception Path

The record in the Admin Table of the Admin Database has been updated and the Admin is returned to the Home Page. • If the connection is terminated before the form is submitted, the fields are cleared and the Web Server  is returned to the wait state. If the connection is • terminated after the form is submitted,  but before the Admin is returned to the

 

Home Page, the record in the Admin Table of the Admin Database is updated and the Web Server  is returned to the wait state

Initialize and visit

Use Case Name:

Search for a community

Priority

If user wants.

Trigger

Menu selection

Precondition

The User is connected to the Internet and on the Home Page Case 1: User chooses to enter as a registered ♣ User.

Basic Path

♣ ♣ ♣



User a message. User can can post modify existing ones User can send a reply message to the  post of other user. User cannot send a reply to its own  post.

Case 2: User chooses to Enter  as a unregistered User. User can view the • message. • User cannot modify the post User cannot send a • reply message unless he/she is a registered user. •

Alternate Path

 N/A

Postcondition

The user writes it down, what ever he/she wants to write in the blog. And his/her  comments can be shown by all others viewers. If the connection is o terminated before the comments is submitted, the fields

Exception Path

are the Webcleared Serverand is returned

 

o

to the wait state. If the connection is terminated after the comments is submitted, but before the Admin is returned to the Home Page, the record is created in the Admin Table of the Admin Database.

Search for a community Use Case Name:

Search for a community

Priority

If user wants.

Trigger

Menu selection

Precondition

The User is connected to the Internet and on the Home Page a) The User chooses “Search.”  b) .The User fills in the form and

Basic Path

Alternate Path Postcondition

Exception Path

clicks submit. c) The We Web Se Server qu queries the Us User  Database for the requested information. d) The We Web Se Server re returns al all re related results e) The User chooses a pa particular  result f) If the User requested is not in the User Database, if there is no related for  the requested User, the Web Server will return a message that the requested “Result can not be found” found” g) The De Departmental Se Server wi will return a message containing either a result of execution or “Result can not be found”.  N/A The Admin receives the information on the requested community, returns the requested result , If not found show a message .If the connection is o terminated before the form is submitted, the fields are cleared and the Web Server is returned to the wait state. If the connection is o

 

terminated after the form is submitted, but  before the Admin is returned to the Home Page, the record is created in the Admin Table of the Admin Database.

 

Class Diagram: Administrator

 

name:String designation:String NEW USER  insert() delete() update() validateLogin()

newUsername:Stri ng newPassword:Stri ng

USER 

createId() createPassword()

username:String password:String passwordValidati on() registrationReque st()

ONLINE COMMUNITY date:Date time:Int month:String day:String year:String communiity:String username:String userPreference:String getValue() putInformation()

SITE DETAILS details:Strin g

FRIEND username:Stri ng

viewDetails()

addFreind() ignoreUser()

NEW COMMUNITY username:String

createCommunit y() createBlog() viewBlog()

GUEST

Register()

SEARCH blog:String username:Stri ng searchBlog() searchFriend()

BLOG username:Stri ng time:Int createBlog() viewBlog()

 

Sequence Diagram: Design

Usr database

login

user

Request to login

search

Info database

Checks validity

Access granted

Search for specific information If available supplied

 

info displayed  

Administrator Sequence Diagram

Administrator

User Database

Administrator Database

Blog DataBase

checking if user grant or deny

checking if  administrator

grant or deny   insert/update/delete  

 

USECASE Diagram:   Registration

Query

  Grant

User  

Administrator

View

Modify

 

CONCLUSION

The need of the project is to keep the information of Patient, Doctor Details in database or how the whole thing can be atomized. The administrator of the agency is given a facility to access information about Patient, Doctor Details within a short period of time. The objective of the System is to automate the process of Hospital. The objectives are: o

To enable correct information about Patient, Doctor, Discharge.

o

To pr prov ovid idee accur accurat atee an and d time timely ly in info form rmat atio ion n at va vari riou ouss le leve vels ls to as assi sist st administrator in effective decision-making To provide user-friendly system with GUI. o The system was tested by running it on different computers. The system has a high degree of  accuracy and user friendliness. A few changes were suggested which is to be incorporated into the system. The system is a user-friendly system and further changes can be incorporated into the system easily. Doing this project has made me learn not only a new technology but also it has made me more knowledgeable in the software engineering activities, which are carried out in the organization. It was a great learning experience.

 

BIBLIOGRAPHY

 

0-Level Context

Send Request 0.1 Communit

USE R 

Send Request

y

Detailed 0.1(Level 1)

 

0.1.5

 

Registry 0.1.3 User

0.1.2

Verif  y

User DB

0.1.4 Post Scrap

Login

View Scrap

0.1.12

  Friend DB

Add Friends

0.1.6

0.1.13

Delet e Scrap

Delete Friends 0.1.14 View Friend List 0.1.15

  Scrap DB

0.1.5

View Friends Scrap

  Scrap DB

0.1.7 Update Profile 0.1.8 View Profil e 0.1.9 Create Communit y

0.1.16

0.1.10  Community DB

View Friends Album   Album DB Creat e/Vie w Albu m

  Profile DB

Delete Communit y 0.1.17

0.1.11 Join/Leave Communit y

Detailed 0.1.5(Level 1)

 

0.1.5.1

Registry USER 

0.1.5.2

Verify

0.1.5.3 Create Social Profile

 

0.1.5.4  

User_Prof DB

Create Professional Profile

0.1.5.5

 

User_Pers DB

0.1.5.6 Create Personal Profile

User Home

User DB

 

ERD

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close