Faceback - Social Networking Site
Faceback - Social Networking Site
Technology: PHP.
What is HTML?
HTML is a language for describing web pages.
HTML Tags
HTML markup tags are usually called HTML tags
HTML Elements
"HTML tags" and "HTML elements" are often used to describe the same thing.
But strictly speaking, an HTML element is everything between the start tag and
the end tag, including the tags:
Web Browsers
The purpose of a web browser (such as Google Chrome, Internet Explorer,
Firefox, Safari) is to read HTML documents and display them as web pages.
The browser does not display the HTML tags, but uses the tags to determine how
the content of the HTML page is to be presented/displayed to the user:
Faceback 5
HTML Versions
Since the early days of the web, there have been many versions of HTML:
Version Year
HTML 1991
HTML+ 1993
XHTML5 2013
<html>
<body>
<h1>This a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Faceback 6
What is CSS?
CSS stands for Cascading Style Sheets
Styles define how to display HTML elements
Styles were added to HTML 4.0 to solve a problem
External Style Sheets can save a lot of work
External Style Sheets are stored in CSS files
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
When tags like <font>, and color attributes were added to the HTML 3.2
specification, it started a nightmare for web developers. Development of large
web sites, where fonts and color information were added to every single page,
became a long and expensive process.
To solve this problem, the World Wide Web Consortium (W3C) created CSS.
In HTML 4.0, all formatting could be removed from the HTML document, and
stored in a separate CSS file.
Styles are normally saved in external .css files. External style sheets enable you
to change the appearance and layout of all the pages in a Web site, just by
editing one single file!
Faceback 7
CSS Syntax
A CSS rule has two main parts: a selector, and one or more declarations:
The property is the style attribute you want to change. Each property has a
value.
CSS Example
A CSS declaration always ends with a semicolon, and declaration groups are
surrounded by curly brackets:
p {color:red;text-align:center;}
Faceback 8
What is JavaScript ?
A scripting language is a lightweight programming language.
JavaScript inserted into HTML pages, can be executed by all modern web
browsers.
JavaScripts can be put in the <body> and in the <head> section of an HTML
page.
The <script> and </script> tells where the JavaScript starts and ends.
The lines between the <script> and </script> contain the JavaScript:
Faceback 9
What is AJAX?
AJAX = Asynchronous JavaScript and XML.
Classic web pages, (which do not use AJAX) must reload the entire page if the
content should change.
Google Suggest
AJAX was made popular in 2005 by Google, with Google Suggest.
Faceback 10
What is PHP?
Why PHP?
PHP runs on different platforms (Windows, Linux, Unix, Mac OS X, etc.)
PHP is compatible with almost all servers used today (Apache, IIS, etc.)
PHP has support for a wide range of databases
PHP is free. Download it from the official PHP resource: www.php.net
PHP is easy to learn and runs efficiently on the server side
Faceback 11
What is MySQL?
MySQL is a database system used on the web
MySQL is a database system that runs on a server
MySQL is ideal for both small and large applications
MySQL is very fast, reliable, and easy to use
MySQL supports standard SQL
MySQL compiles on a number of platforms
MySQL is free to download and use
MySQL is developed, distributed, and supported by Oracle Corporation
The data in MySQL is stored in tables. A table is a collection of related data, and it
consists of columns and rows.
PHP + MySQL
PHP combined with MySQL are cross-platform (you can develop in
Windows and serve on a Unix platform)
Queries
A query is a question or a request.
We can query a database for specific information and have a recordset returned.
The query above selects all the data in the "LastName" column from the
"Employees" table.
The project work is about social networking site like facebook twitter,
orkut. my project name is Faceback.
The project developed using HTML, JAVASCRIPT, CSS, ajax, PHP and
MYSQL.
When I started My Project First of all I had seen Top Social Networking
Web Sites Like www.Facebook.com , www. Twitter.com , www.orkut.com etc.
And seen their Facility which they provide.
Then i collected the Information about Top Social Networking Web Sites
then I collect information which i want for my Website.
I have Seen Facebook’s Create Page Facility and Then I have Created
Faceback Social Networking.
System requirement
SOFTWARE REQUIREMENT
Windows XP,7
Mozilla Fire Fox latest version
Xammp web server latest version
PHP 5.4.19
MySQL 5.5.32
Microsoft word
Macromedia Dreamweaver
HARDWARE REQUIREMENT
Pentium –IV Processor 550 MHz or Above
Minimum 80 GB Hard disk
Minimum 256 MB RAM
Mouse, Keyboard
4x CR-ROM drive OR USB port
Faceback 15
All the above conditions must be satisfied to start the project. This
is why in depth analysis of feasibility is carried out.
Economical Feasibility:
In this Field There is no cost for me Because This the part of Study.
Technical Feasibility:
Operational Feasibility:
Once the system is designed there must be trained and expert operator.
If there are not trained they should give training according to the needs of the
system. From the user’s perspective our system fully operational feasible as it
just requires some knowledge of computer.
Faceback 16
Login Login
View all users , All post and Comment View all users , All public post and Comment
Faceback 17
Level 1
Client Side
Visitor
Register Login
Logout
Faceback 18
Admin Side
Admin
Decode
Login
View Users
and Delete Warning
Logout
Faceback 19
users
user_profile_pic
user_secret_quotes
user_cover_pic
user_info
user_post
user_post_status
user_status
group_chat
feedback
users_notice
user_warning
Faceback 20
users user_info
user_id
user_id
job
Name
school_or_collage
Email
current_city
Password
hometow
Gender
relationship_status
Birthday_Date
user_id mobile_no_priority
FB_Join_Date mobile_no
website
Facebook_ID
user_secret_quotes
user_profile_pic
profile_id user_id
Question1
user_id
Answer1
image
Question2
Answer2
Faceback 21
post_pic
post_txt post_time
user_post
user_id
priority
post_id
post_id
user_post_status user_post_comment
status Post_id
Post_id
user_id
Faceback 22
group_chat feedback
chat_id feedback_id
user_id user_id
chat_txt
feedback_txt
time
star
Date
user_id
users_notice user_warning
notice_id user_id
user_id warning_txt
notice_txt
notice_time
Faceback 23
admin_info Table
Field Type Size
Username varchar 200
Password varchar 200
users_notice Table
Field Type Size
notice_id int 7
user_id int 7
notice_txt varchar 120
notice_time varchar 30
user_warning Table
Field Type Size
user_id int 7
warning_txt varchar 200
Faceback 24
users Table
Field Type Size
user_id int 7
Name varchar 25
Email varchar 30
Password varchar 30
Gender varchar 6
Birthday_Date varchar 11
FB_Join_Date varchar 30
user_profile_pic Table
Field Type Size
profile_id int 7
user_id int 7
image varchar 150
user_info Table
Field Type Size
user_id int 7
job varchar 100
school_or_collage varchar 100
current_city varchar 100
hometown varchar 100
relationship_status varchar 30
mobile_no varchar 15
mobile_no_priority varchar 10
website varchar 100
Facebook_ID varchar 100
Faceback 26
user_post Table
Field Type Size
post_id int 7
user_id int 7
post_txt text
post_pic varchar 150
post_time varchar 30
priority varchar 8
user_status Table
Field Type Size
user_id int 7
status varchar 8
group_chat Table
Field Type Size
chat_id int 10
user_id int 7
chat_txt text
time varchar 30
feedback Table
Field Type Size
feedback_id int 7
user_id int 7
feedback_txt varchar 120
star varchar 1
Date varchar 30
Faceback 28
2. Admin side
Client side
Add and Delete own public and private status and photos
Add and Delete own comment
Add and Edit own Information
Send Group chat message and Delete own Message
Give feedback and Delete own feedback
Deactivate own Account.
Admin side
user side
index page
Page: http://localhost/fb/index.php
Use: Login/Register User
Faceback 30
Page: http://localhost/fb/fb_files/fb_step/fb_step1/Step1_Male.php
Use: Upload Profile picture.
Faceback 31
Page: http://localhost/fb/fb_files/fb_step/fb_step2/Secret_Question1.php
Use: if you forgot your password that time use full this
Secret Question to recover your password
Faceback 32
Page: http://localhost/fb/fb_files/fb_step/fb_step3/Secret_Question2.php
Use: if you forgot your password that time use full this
Secret Question to recover your password
Faceback 33
Home Page
Page: http://localhost/fb/fb_files/fb_home/Home.php
Use: view all public post, you can add your status, photos
and you can comment on All public post.
Faceback 34
Profile Page
Page: http://localhost/fb/fb_files/fb_profile/Profile.php
Use: Edit your Profile picture, Add and Edit your Cover Picture,
view and delete your Public and Private post, you can delete
your friend comment on your status , view your basic
Information.
Faceback 35
About Page
Page: http://localhost/fb/fb_files/fb_profile/about.php
Use: Edit your Profile picture, Add and Edit your Cover
Picture, Add and Edit Your Information.
Faceback 36
Photos Page
Page: http://localhost/fb/fb_files/fb_profile/photos.php
Settings Page
Page: http://localhost/fb/fb_files/fb_home/Settings.php
Use: you can change your name and password and you
delete your faceback Account.
Faceback 38
Search Engine
Page: http://localhost/fb/fb_files/fb_view_profile/view_profile.php?id=18
Page: http://localhost/fb/fb_files/fb_view_profile/about.php?id=18
Page: http://localhost/fb/fb_files/fb_view_profile/photos.php?id=18
Use: view your friend information and public post.
Faceback 40
Group Chat
Page: http://localhost/fb/fb_files/fb_home/Group_Message.php
Use: view all messages in faceback group chat and you can
chat in faceback group.
Faceback 41
Online
Use: you can see who is online. You can view online any page.
Faceback 42
Feedback page
Page: http://localhost/fb/fb_files/fb_home/feedback.php
Use: view all feedback and you can give your feedback.
Faceback 43
Use: Shortcut is use fast access page. You can access Shortcut
any page. Go to logout is close your faceback account.
Faceback 44
Admin side
Index page
Page: http://localhost/fb/admin/index.php
Use: Login Admin.
Faceback 45
Home page
Page: http://localhost/fb/admin/fb_home/Home.php
Use: view and handle all public post and comment.
Faceback 46
Settings page
Page: http://localhost/fb/admin/fb_home/Settings.php
Use: admin change password.
Faceback 47
Search Engine
Page: http://localhost/fb/admin/fb_view_profile/view_profile.php?id=25
Use: view all public and private post and handle it. Change profile
Picture and cover picture. Admin can Delete user, warning
user and set offline user.
Faceback 49
Page: http://localhost/fb/admin/fb_view_profile/about.php?id=25
Use: view and Edit user Information. Change profile picture and
cover picture. Admin can Delete user, warning user and set
offline user.
Faceback 50
Page: http://localhost/fb/admin/fb_view_profile/photos.php?id=25
Use: view All user Albums and photos. Change profile picture and
cover picture. Admin can Delete user, warning user and set
offline user.
Faceback 51
Online
Use: admin can see who is online. admin can view online any page.
Faceback 52
Group chat
Page: http://localhost/fb/admin/fb_home/Group_Message.php
Use: handle Group chat messages.
Faceback 53
Notice Page
Page: http://localhost/fb/admin/fb_home/Notice.php
feedback Page
Page: http://localhost/fb/admin/fb_home/feedback.php
Users Page
Page: http://localhost/fb/admin/fb_home/users.php
Use: admin can see how many user use faceback. And admin can
delete users.
Faceback 56
Use: shortcut is use fast Access Page. You can Access shortcut any
page. Go to logout is close your faceback admin Account.
Faceback 57
i had tested admin side as well client side. I had Tested All Pages and
No Query about That.
Faceback 58
Private chatting
faceback site is public site. You can not private chat with your
friend.
Blocking.
You can not block any user.
Faceback 59
Private chatting
In Future You can private chat with your friend.
Blocking.
In Future You can block any user.
Faceback 60
Sites Visited:
www.google.com
www. Youtube.com
http://www.facebook.com
http://www.twitter.com
www.w3schools.com
Books Referred:
1. PHP Manuals.
2. Learning web design 4th edition.
Faceback 61