implementation of a social media system

19
James Wu Developing a Social Media System California State University, Los Angeles December 12, 2016

Upload: james-wu

Post on 08-Feb-2017

23 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Implementation of a Social Media System

James Wu

Developing a Social Media System

California State University, Los Angeles

December 12, 2016

Page 2: Implementation of a Social Media System

Implementation

The social media system will allow people to network with other people by sharing media, posts,

create groups, events, and sell products. We create an account and a user must register through the app

or website as an initial step for using the system.

The user will have to enter some personal information and create a password and a user ID.

From there, the user will automatically have a profile which the user can add to or modify, and the user

can update their profile picture and cover photo. He/she can search for other users by typing their

username in the search engine. The user can also share posts by uploading media such as videos and

pictures or can use the textbook to type text which automatically includes a timestamp and location

when posted.

We will create and design the mobile app first because mobile devices have the most

limitations, such as screen size and bandwidth, thus content will be prioritize when designing and

creating the app first. To create our app, we will create an account and use BuildFire.

After development of the app, we will test the security of the app. We will have trained

developers design the app to cover all security patches and vulnerabilities issues. Additionally, we will

train our developers how to implement, code, and design the app to be secure to prevent the app from

crashing. Lastly, there will be maintenance and updates. This development process with the app will

take about 6 months.

After the process of developing and performing the vulnerability testing for the app, we will

start developing the website. We will be developing our website by buying a domain name and a hosting

account or a hosting provider that gives us a lot of storage and bandwidth. Similarly, we will have to

perform vulnerability testing on our website too through the free open-source software, Wapiti that I

found on sourceforge.net. This will take about 3 months.

Page 3: Implementation of a Social Media System

After the development of our website and app, we will establish guidelines and polices on how

to use it and all users and developers must comply with it.

In order to manage our social media pages, we will have to appoint a Director of Public Relations

(PR) and hire a marketing team. These people should be professional, have interpersonal and listening

skills, be professional, respond timely, and are knowledgeable in their professions. Plus, we have a

Webmaster to create, design, update, and perform frequent maintenance on our website. To fund our

site, we will seek venture capital and crowdfunding, and we will promote our site through other social

media platforms such as Facebook, Snapchat, Instagram, Pinterest, and Tumblr and streaming sites like

YouTube.

There will be weekly meetings with the PR Director, the Webmaster, and the App Developers to

discuss about the overall progress of the project and to brainstorm ideas for the short-term and long-

term objectives through virtual conferencing and general meetings. Furthermore, the key points of

these meetings will be written down and recorded by the secretary to keep records stored in a

database. The secretary should be efficient, reliable, communicate effectively, and maintain high

confidentiality.

Scope

We expect to expand to about 100,000 users and have some profit from advertisements.

Nonetheless, the purpose of the social media site is help users network among other users, to help

businesses market their service or products through word-of-mouth, and to let users build a social

media presence. So, we will think of new ways on how to improve on the system.

Due to the popularity of social media sites, there are many examples of it. There are many

prominent social media sites such as Facebook, Snapchat, Instagram, Pinterest, StudyRoom, and Tumblr.

Page 4: Implementation of a Social Media System

The first step is to fund the project through networking with investors, seek venture capital, and

other types of funding. This will have a duration of a month.

Next is to develop the app. We will create and design the mobile app with BuildFire. This will

take 4 months.

After development of the app, we will test the security of the app. We will have trained

developers design the app to cover all security patches and vulnerabilities issues. Additionally, we will

train our developers how to implement, code, and design the app to be secure to prevent the app from

crashing. This will take 3 weeks.

There will also be maintenance and updates. This development process with the app will take 27

days.

Page 5: Implementation of a Social Media System

After the process of developing and performing the vulnerability testing for the app, we will

start developing the website. We will be developing our website by buying a domain name and have a

hosting provider that gives us a lot of storage and bandwidth host it for us. This task can be completed

within a day.

We will design, code, and implement components to our site. This will take about a month.

Similarly, we will have to perform vulnerability testing on our website too through the free

open-source software, Wapiti that I found on sourceforge.net. This will take about 2 months.

After the development of our website and app, we will establish guidelines and polices on how

to use it and all users and developers must comply with it. To establish guidelines and polices, we will

produce documentations of it. This will have duration of 1 week.

Lastly, we will invest in promotions by advertising on social media sites, streaming sites, blogs,

investing in SEO tools, and optimizing in search engines and business directories. This will be

accomplished in a week.

Data Flow Diagram

Page 6: Implementation of a Social Media System

Sample Database

Field Name Field Size Data Type Data Format Description ExampleEmplID -------------- numerical NNNN Employee ID 5434Job 25 Text ------------- Job EngineerGender 1 Text L Gender MBdate 20 Date DD-MM-YY Birth date '23-Nov-89'LastName 65 Text -------------------- Last Name WuFirstName 65 Text -------------------- First Name JamesAddress 80 Text ------------------ Address 5151 State

University DriveCity 80 Text ----------------- City RosemeadState 3 Text LL State CAEmailAddress 25 ------------------ [email protected] Email Address [email protected] 11 numerical NNNNNNN Phone Number 626800000SALARY 5 numerical NNNNNNNNN SALARY 10000000000000SUPERSSN 9 numerical NNNNNNNNN SUPERSSN 543455555DNUM 1 numerical N Department

Number4

Page 7: Implementation of a Social Media System

USERID ------- numerical ----------- USER ID 4542 UserName 8 Text/Numerical LLLLLNNN User Name Jwu32 USERPASSWORD

25 Text/Numerical LLLLLNNN USER PASSWORD

Password!

LastName 65 Text -------------------- Last Name WuFirstName 65 Text -------------------- First Name JamesAddress 80 Text ------------------ Address 5151 State

University DriveCity 80 Text ----------------- City RosemeadState 3 Text LL State CAEmailAddress 25 ------------------ [email protected] Email Address [email protected] 11 numerical NNNNNNN Phone Number 626800000DeptID ------------- numerical NNNN Department ID 465DNUM ------------ numerical NNNNNN Department

Number664

DeptNAME 25 Text ------------ Department name

Engineering

MGRSSN 9 Numerical NNNNNNNNN MGRSSN 444556677MGRSTARTDATE 20 Date DD-MMM-YY MGRSTARTDATE '15-JAN-78'DeptLocID ----------- numerical ------------- Department

Location ID46654

DeptID 3 numerical NNN Department ID 465DNUM 2 numerical NN Department

Number66

DLocation 13 Text ------------ Department Location

Houston

CustID ---------- numerical ------------- CustomerID 001LastName 65 Text -------------------- Last Name WuFirstName 65 Text -------------------- First Name JamesAddress 80 Text ------------------ Address 5151 State

University DriveCity 80 Text ----------------- City RosemeadState 3 Text LL State CA

CREATE TABLE EMPLOYEE(EmplID int Primary Key,Job char(25),Gender char (1),Bdate varchar(20),LastName varchar(65),FirstName varchar(65),Address varchar(80),City varchar(80),State varchar(3),EmailAddress varchar (25),

Page 8: Implementation of a Social Media System

PhoneNumber char (11),SALARY NUMBER(5),SUPERSSN NUMBER(9),DNUM NUMBER(1));

INSERT INTO EMPLOYEE (EmplID, Job, Gender, Bdate, LastName, FirstName, Address, City, State, EmailAddress, PhoneNumber, SALARY, SUPERSSN, DNUM) VALUES (001, 'Software Engineer', 'M', '23-Nov-89', 'Smith', 'John', '5151 State University Drive', 'Los Angeles', 'CA', '[email protected]', 'xxxxxxxxxx', 50000, Null, 1);INSERT INTO EMPLOYEE (EmplID, Job, Gender, Bdate, LastName, FirstName, Address, City, State, EmailAddress, PhoneNumber, SALARY, SUPERSSN, DNUM) VALUES (702, 'Advertising Manager', 'M', '23-Nov-89', 'Cornell', 'Joe', '5151 State University Drive', 'Los Angeles', 'CA', '[email protected]', 'xxxxxxxxxx', 54000, Null, 2);INSERT INTO EMPLOYEE (EmplID, Job, Gender, Bdate, LastName, FirstName, Address, City, State, EmailAddress, PhoneNumber, SALARY, SUPERSSN, DNUM) VALUES (803, 'Java Developer', 'M', '23-Nov-89', 'Dante', 'Dave', '5151 State University Drive', 'Los Angeles', 'CA', '[email protected]', 'xxxxxxxxxx', 58700, Null, 3);INSERT INTO EMPLOYEE (EmplID, Job, Gender, Bdate, LastName, FirstName, Address, City, State, EmailAddress, PhoneNumber, SALARY, SUPERSSN, DNUM) VALUES (804, 'Public Relations Director', 'M', '25-Nov-78', 'Gonzalez', 'Jesus', '5151 State University Drive', 'Los Angeles', 'CA', '[email protected]', 'xxxxxxxxxx', 80000, Null, 4);INSERT INTO EMPLOYEE (EmplID, Job, Gender, Bdate, LastName, FirstName, Address, City, State, EmailAddress, PhoneNumber, SALARY, SUPERSSN, DNUM) VALUES (565, 'Web Developer', 'F', '14-JULY-89', 'Freeman', 'Nichole', '5151 State University Drive', 'Los Angeles', 'CA', '[email protected]', 'xxxxxxxxxx', 70780, Null, 5);INSERT INTO EMPLOYEE (EmplID, Job, Gender, Bdate, LastName, FirstName, Address, City, State, EmailAddress, PhoneNumber, SALARY, SUPERSSN, DNUM) VALUES (326, 'Social Media Director', 'F', '12-Nov-90', 'Tran', 'Trinh', '5151 State University Drive', 'Los Angeles', 'CA', '[email protected]', 'xxxxxxxxxx', 59090, Null, 6);INSERT INTO EMPLOYEE (EmplID, Job, Gender, Bdate, LastName, FirstName, Address, City, State, EmailAddress, PhoneNumber, SALARY, SUPERSSN, DNUM) VALUES (677, 'Lawyer', 'F', '11-Nov-80', 'Ji-yoon', 'Jan', '5151 State University Drive', 'Los Angeles', 'CA', '[email protected]', 'xxxxxxxxxx', 50785, Null, 7);INSERT INTO EMPLOYEE (EmplID, Job, Gender, Bdate, LastName, FirstName, Address, City, State, EmailAddress, PhoneNumber, SALARY, SUPERSSN, DNUM) VALUES (678, 'ERP Specialist', 'F', '01-MAR-79', 'Garcia', 'Sophia', '5151 State University Drive', 'Los Angeles', 'CA', '[email protected]', 'xxxxxxxxxx', 56000, Null, 8);

Select * from EMPLOYEE;

Page 9: Implementation of a Social Media System

CREATE TABLE USERACCOUNT( USERID int Primary Key, UserName char (8), USERPASSWORD varchar(25), LastName varchar(65), FirstName varchar(65), Address varchar(80), City varchar(80), State varchar(3), EmailAddress varchar (25), PhoneNumber char (11));

INSERT INTO USERACCOUNT(UserID, UserName, UserPassword, LastName, FirstName, Address, City, State, EmailAddress, PhoneNumber) VALUES (001, 'jwu32', 'Password', 'Wu', 'James', '5151 State University Drive', 'Los Angeles', 'CA', '[email protected]', 'xxxxxxxxxx');INSERT INTO USERACCOUNT(UserID, UserName, UserPassword, LastName, FirstName, Address, City, State, EmailAddress, PhoneNumber) VALUES (002, 'jwu94', 'Password', 'Smith', 'James', '5151 State University Drive', 'Los Angeles', 'CA', '[email protected]', 'xxxxxxxxxx');INSERT INTO USERACCOUNT(UserID, UserName, UserPassword, LastName, FirstName, Address, City, State, EmailAddress, PhoneNumber) VALUES (003, 'jwu894', 'Password', 'Ngo', 'Tuyet', '5151 State University Drive', 'Los Angeles', 'CA', '[email protected]', 'xxxxxxxxxx');INSERT INTO USERACCOUNT(UserID, UserName, UserPassword, LastName, FirstName, Address, City, State, EmailAddress, PhoneNumber) VALUES (004, 'jwu864', 'Password', 'Kim', 'Jihoon', '5151 State University Drive', 'Los Angeles', 'CA', '[email protected]', 'xxxxxxxxxx');INSERT INTO USERACCOUNT(UserID, UserName, UserPassword, LastName, FirstName, Address, City, State, EmailAddress, PhoneNumber) VALUES (005, 'jwu94698', 'Password', 'Vu', 'Nick', '5151 State University Drive', 'Los Angeles', 'CA', '[email protected]', 'xxxxxxxxxx');INSERT INTO USERACCOUNT(UserID, UserName, UserPassword, LastName, FirstName, Address, City, State, EmailAddress, PhoneNumber) VALUES (006, 'jwu54', 'Password', 'Maslow', 'Jane', '5151 State University Drive', 'Los Angeles', 'CA', '[email protected]', 'xxxxxxxxxx');INSERT INTO USERACCOUNT(UserID, UserName, UserPassword, LastName, FirstName, Address, City, State, EmailAddress, PhoneNumber) VALUES (007, 'jwu5435', 'Password', 'Chow', 'Jay', '5151 State University Drive', 'Los Angeles', 'CA', '[email protected]', 'xxxxxxxxxx');INSERT INTO USERACCOUNT(UserID, UserName, UserPassword, LastName, FirstName, Address, City, State, EmailAddress, PhoneNumber) VALUES (008, 'jwu654', 'Password', 'Johnson', 'John', '5151 State University Drive', 'Los Angeles', 'CA', '[email protected]', 'xxxxxxxxxx');

Select * from USERACCOUNT;

Page 10: Implementation of a Social Media System

CREATE TABLE DEPARTMENT(DeptID int Primary Key,DNUM number not null,DeptNAME VARCHAR(25),MGRSSN NUMBER(9),MGRSTARTDATE VARCHAR(20));

INSERT INTO DEPARTMENT (DeptID, DNUM, DeptNAME, MGRSSN, MGRSTARTDATE)VALUES (164, 1, 'Accounting', 58129514, '15-JAN-78');INSERT INTO DEPARTMENT (DeptID, DNUM, DeptNAME, MGRSSN, MGRSTARTDATE)VALUES (235, 2, 'Marketing', 51250127, '15-JUL-77');INSERT INTO DEPARTMENT (DeptID, DNUM, DeptNAME, MGRSSN, MGRSTARTDATE)VALUES (457, 3, 'Data Analytics', 67853684, '15-DEC-79');INSERT INTO DEPARTMENT (DeptID, DNUM, DeptNAME, MGRSSN, MGRSTARTDATE)VALUES (543, 4, 'Management', 57192337, '12-MAY-76');INSERT INTO DEPARTMENT (DeptID, DNUM, DeptNAME, MGRSSN, MGRSTARTDATE)VALUES (573, 5, 'Finance', 57196537, '12-MAY-76');INSERT INTO DEPARTMENT (DeptID, DNUM, DeptNAME, MGRSSN, MGRSTARTDATE)VALUES (547, 6, 'Engineering', 55451237, '12-MAY-76');INSERT INTO DEPARTMENT (DeptID, DNUM, DeptNAME, MGRSSN, MGRSTARTDATE)VALUES (793, 7, 'Research', 54192337, '12-MAY-76');INSERT INTO DEPARTMENT (DeptID, DNUM, DeptNAME, MGRSSN, MGRSTARTDATE)VALUES (565, 8, 'IT', 57196555, '12-MAY-76');

Select * from department;

Page 11: Implementation of a Social Media System

CREATE TABLE DeptLoc (DeptLocID int primary key,DeptID char(3),DNUM NUMBER(2),DLocation VARCHAR2(13) );

INSERT INTO DeptLoc VALUES (454, 164, 1, 'Houston');INSERT INTO DeptLoc VALUES (455, 235, 2, 'Stafford');INSERT INTO DeptLoc VALUES (678, 457, 3, 'Bellaire');INSERT INTO DeptLoc VALUES (679, 543, 4,'Houston');INSERT INTO DeptLoc VALUES (234, 573, 5,'Sugarland'); INSERT INTO DeptLoc VALUES (235, 547, 6,'NY'); INSERT INTO DeptLoc VALUES (239, 793, 7,'Los Angeles'); INSERT INTO DeptLoc VALUES (238, 565, 8,'Dallas');

Select * from DeptLoc;

Page 12: Implementation of a Social Media System

CREATE TABLE CUSTOMER(CUSTID int Primary Key, LastName varchar(65), FirstName varchar(65), Address varchar(80), City varchar(80), State varchar(3));

INSERT INTO Customer(CustID, LastName, FirstName, Address, City, State) VALUES (002, 'Lorela', 'Valerie', '5151 State University Drive', 'Los Angeles', 'CA');INSERT INTO Customer(CustID, LastName, FirstName, Address, City, State) VALUES (003, 'James', 'Kazuto', '5151 State University Drive', 'Los Angeles', 'CA');INSERT INTO Customer(CustID, LastName, FirstName, Address, City, State) VALUES (004, 'White', 'Dan', '5151 State University Drive', 'Los Angeles', 'CA');INSERT INTO Customer(CustID, LastName, FirstName, Address, City, State) VALUES (005, 'Jackson', 'Duffy', '5151 State University Drive', 'Los Angeles', 'CA');INSERT INTO Customer(CustID, LastName, FirstName, Address, City, State) VALUES (006, 'Lane', 'Lana', '5151 State University Drive', 'Los Angeles', 'CA');INSERT INTO Customer(CustID, LastName, FirstName, Address, City, State) VALUES (007, 'Smith', 'Will', '5151 State University Drive', 'Los Angeles', 'CA');INSERT INTO Customer(CustID, LastName, FirstName, Address, City, State) VALUES (008, 'Hank', 'Haden', '5151 State University Drive', 'Los Angeles', 'CA');

Page 13: Implementation of a Social Media System

INSERT INTO Customer(CustID, LastName, FirstName, Address, City, State) VALUES (009, 'Kim', 'Yuna', '5151 State University Drive', 'Los Angeles', 'CA');

Select * from Customer;

Update CustomerSet LastName='Smith'Where CustID=2;

Update CustomerSet FirstName='Smith';

Select * from Customer;

Page 14: Implementation of a Social Media System

ALTER TABLE Employee ADD ZIPCODE char(5);

Select * from EMPLOYEE;

Page 15: Implementation of a Social Media System

Works Cited

J., Strickland. (2009). How to Start a Social Networking Site. Retrieved October 31, 2016, from

http://computer.howstuffworks.com/internet/social-networking/information/start-social-networking-

site.htm

Mansfield, M. (2015, February 04). Best Places to Turn Your Website into an App for Android and

iPhone. Retrieved October 31, 2016, from https://smallbiztrends.com/2015/02/places-that-turn-your-

website-into-an-app.html