Professional Documents
Culture Documents
A PROJECT REPORT
Submitted by
Project Guide
Manjula V
Associate Professor Grade 1
School of Information Technology and
Engineering
ABSTRACT:
Blogging has become such a mania that every second a new and creative blog is being created. A
blog is the best way to present our thoughts and creativity among the online crowd. Blogs are
generally written by a single individual or occasionally by a small group, and often covers a
single subject.
Blog contains the Information related to various things such as Technology, Education, News,
International, Business, Sports, and Entertainment etc. The main aim of this project is to provide
data to the people in only one site. People can collect the information from the site and as well as
give their feedback as comments and create their own blog. People can post their views and
thought and analyze themselves. Besides all such core functionalities, the application also
includes features like giving comments to existing blogs, so as to provide a satisfactory user
experience.
The purpose of Online Blogging System is to automate the existing manual system by the help of
computerised equipments and full-fledged computer software, fulfilling their requirements, so
that valuable data/information can be stored safely and in effective manner for a longer period
with easy accessing and manipulation of the same.
Online Blogging System, as expressed above, can lead to error free, secure, reliable and fast
management system. This helps the user to concentrate on their work rather other activities. By
this user need not to be distracted by information that is not relevant, while being able to reach
the information.
3
TABLE OF CONTENTS
LIST OF FIGURES
System
architecture……………………………………………………………………….18
User
module……………………………………………………………………………19
Admin
module……………………………………………………………………………20
ER
diagram…………………………………………………………………………..21
Schema of
database………………………………………………………………………….22
Home
page………………………………………………………………………………42
Blog
page………………………………………………………………………………43
Login
page………………………………………………………………………………44
4
Register
page……………………………………………………………………………….44
About us
page……………………………………………………………………………….45
Posts_index_page…………………………………………………………………46
Create_post_page…………………………………………………………………46
Topics_index_page……………………………………………………………….47
Add_topic_page…………………………………………………………………...47
Users_index_page…………………………………………………………………48
Add_user_page……………………………………………………………………48
LIST OF TABLES
Users
table………………………………………………………………………………22
Admin
table………………………………………………………………………………23
Posts
table………………………………………………………………………………23
5
Topics
table……………………………………………………………………………….23
Comments
table………………………………………………………………………………23
1 INTRODUCTION
1.2 OBJECTIVE…………………………………………..11
1.3 APPLICATIONS……………………………………..12
1.4 LIMITATIONS………………………………………12
2 SYSTEM ANALYSIS
2.1.3 Medium
2.1.4 Wix
2.2.1.1 Security
6
2.2.1.2.1 Admin
2.2.1.2.2 Usability
3 REQUIREMENT SPECIFICATION
3.2.1.1 HTML
3.2.1.2 CSS
3.2.2.1 MYSQL
3.2.2.2 PHP
3.2.2.3 XAMMP
7
4.3.1 ER Diagram
4.3.3 Tables
4.3.4 Keys
5 SYSTEM IMPLEMENTATION
5.1.1.2.3 Maintenance
6.1 Conclusion…………………………………………….35
6.2 Future
enhancements………………………………………..36
7 APPENDICES
7.2.1.2.1 Posts_index_page
7.2.1.2.2 Create_Posts_page
7.2.1.2.3 Topics_index_page
7.2.1.2.4 Add_topic_page
7.2.1.2.5 Users_index_page
7.2.1.2.6 Add_user_page
8 REFERENCES
1. INTRODUCTION
This website is about blogs where there are normal users (public) and
admin users who take care of maintenance of website. Our System consists of two modules user
module and admin module. Normal users have no access to admin module. We are using
MYSQL database for backend development and for Frontend development we are using html,
CSS, JavaScript.
1.2 OBJECTIVE:
1.3 APPLICATIONS:
Online Blogging system has various applications in today’s World. It is helpful to the general
public , Students , Teachers etc.
• This system also provides special functions for image management, web syndication, and
post and comment moderation.
• This platform helps to the members of organization to communicate with each other.
• E-mail sending- It helps admin to send approval email to the member and members can
also recover their password through e-mail sending.
• This website will provide a personalized environment that would contain the information
related to the blog topic and image related to it.
1.4 LIMITATIONS:
Although we have put my best efforts to make the software flexible, easy to operate but
limitations cannot be ruled out even by us. Though the software presents a broad range of
options to its users some intricate options could not be covered into it; partly because of logistic
and partly due to lack of sophistication. Lack of time was also major constraint, thus it was not
possible to make the software foolproof and dynamic.
Considerable efforts have made the software easy to operate even for the people not
related to the field of computers but it is acknowledged that a layman may find it a bit
problematic at the first instance. The user is provided help at each step for his convenience in
interacting with the software.
13
2. SYSTEM ANALYSIS
Word press is one of the most popular blog websites to start your hobbies or
business website. Serious bloggers prefer this platform.
Blogger is one of the best free blogging platforms that offer a secure and reliable
way to create a blog.
2.1.3 Medium:
Medium is one of the simplest blogging systems in our list as it follows no-frills
approach to content publishing as it allows bloggers to write what they are passionate about.
2.1.4 Wix:
As medium, you don’t need any prior coding experience or web development
expertise to build a website or blog in Wix too, but way more customizable than Medium
14
A user registration system that manages two types of users: Admin and Normal Users (Public).
The blog will have an admin area and a public area separate from each other. The admin area
will be accessible only to logged in admin users and the public area to the normal users and the
general public.
Our online blogging system is more focused on Security, Access control and usability.
2.2.1.1 Security:
2.2.1.2.1 Admin:
An Admin user can create another admin user and can view, update and delete
other admin users.
2.2.1.2.2 Usability:
We can filter the Blogs by selecting a list of topics provided. This saves a lot of
time to the user. An innovative search bar which users can use to find any blog easily by Blog
name or even the content.
16
3. REQUIREMENT SPECIFICATION
3.2.1.1 HTML:
HTML (Hypertext Markup Language) is the standard markup language for documents
designed to be displayed in a web browser. We have designed the web pages in our Blog
Website using HTML-5.
3.2.1.2 CSS:
We will be using CSS3 in our Online Blogging system project to customize various aspects of
web pages like font size, style, color, etc in order to make our web pages attractive.
3.2.2 Backend:
3.2.2.1 MySQL:
We will be using MySQL as the relational database management system in our project in
order to the Blog website.
3.2.2.2 PHP:
We will be using XAMPP for running the local server that we used for testing PHP scripts
and to check the functionality of other parts of our Blog Website.
The Actor tags for each page and user navigation is represented in the below flow chart . the
navigation is designed in such a way that user can find a way back to home page
20
Navigation between the Admin side is shown in the below flow chart
Admin can navigate freely through the pages to manage posts, topics and users
21
4.3.3 Tables:
Attribute Type
User_id INT
Fname VARCHAR(255)
Lname VARCHAR(255)
Admin BOOLEAN
DOB DATE
Age INT
Email VARCHAR(255)
Password VARCHAR(255)
23
Attribute Type
Post_Id INT
Topic_Id INT
Id INT
Title VARCHAR(255)
Image BLOB
Body TEXT
Published BOOLEAN
Created_at DATE
Attribute Type
Topic_Id INT
Name VARCHAR(255)
Description TEXT
Attribute Type
Comment_id INT
Name VARCHAR(255)
Post_id INT
Comment TEXT
Time TEXT
24
4.3.4 Keys:
• Users table:-
o user_id(Primary key)
o Email(unique key)
• Posts table:-
o Post_Id(Primary key)
o Id(foreign key)
• Topics table:-
o Topic_Id(Primary key)
• Comment table:-
o Comment_id(Primary key)
o Post_id(foreign key)
25
5. SYSTEM IMPLEMENTATION
This Module basically handles user side of our project which involves tasks
like sign in, login, viewing post, Comment on the post etc
This Module handles the information of user module like adding post,
managing post, Adding users, Managing users etc.
Step-1:Creating an account:
Step-2:Success page:
31
Step-5(for Admin):Admin Will approve the request and make the normal user as
Admin user:
Step-1:Comment Section:
Step-2:Comment Posted:
33
Step-1:Add post:
34
6.1 Conclusion:
While developing the system a conscious effort has been made to create and develop a
software package, making use of available tools, techniques and resources – that would generate
a proper system for cases.
While making the system, an eye has been kept on making it as user-friendly.
As such one may hope that the system will be acceptable to any user and will
Adequately meet his/her needs. As in case of any system development process
Where there are a number of short comings, there have been some shortcomings in the
development of this system also.
This project was developed to fulfill the requirement of common blogging platform. However,
there is lots of scope to improve the performance of the Online Blogging System in the area of
user interface, database performance, and query processing time etc.
So, there are many things for future enhancement of this project. The future enhancements
that are possible in the project are as follows:
• Web based interface for generate reports, like who has published more contents, who has
commented most, the logged in time etc.
• We can give more advance software for online Blogging System including more facilities
36
• Create the master and slave database structure to reduce the overload of the database
queries.
• Implement the backup mechanism for taking backup of codebase and database on regular
basis on different servers.
We have left all the options open so that if there is any other future requirement in the system by
the user for the enhancement of the system then it is possible to implement them.
37
7. APPENDICES
<?php
include("path.php");
include(ROOT_PATH . "/app/controllers/topics.php");
$posts = array();
$postsTitle = 'Recent Posts';
if (isset($_GET['t_id'])) {
$posts = getPostsByTopicId($_GET['t_id']);
$postsTitle = "You searched for posts under '" . $_GET['name'] . "'";
} else if (isset($_POST['search-term'])) {
$postsTitle = "You searched for '" . $_POST['search-term'] . "'";
$posts = searchPosts($_POST['search-term']);
} else {
$posts = getPublishedPosts();
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Blog</title>
</head>
<body>
<div class="post-wrapper">
</div>
</div>
39
</div>
<!-- // Main Content -->
<div class="sidebar">
</div>
</div>
<!-- // Content -->
</div>
<!-- // Page Wrapper -->
</body>
</html>
41
7.2.1 Front-end:
7.2.1.1.2 Blog_Page:
44
7.2.1.2.1 Posts_index_page:
7.2.1.2.2 Create_post_page:
47
7.2.1.2.3 Topics_index_page:
7.2.1.2.4 Add_topic_page:
48
7.2.1.2.5 Users_index_page:
7.2.1.2.6 Add_user_page:
49
8. REFERENCES
8.1 LIST OF WEBSITES (URLs):
[1] https://www.therandomblogs.in/
[2] https://stackoverflow.com/questions/16675753/php-fastest-way-
to-handle-undefined-array-key
[3] https://www.w3schools.com/css/css3_buttons.asp
[4] https://www.w3schools.com/php/default.asp
[5] https://www.thapatechnical.com/2020/03/how-to-send-mail-
from-localhost-xampp.html
[6] https://www.w3schools.com/php/php_sessions.asp
[7] https://api.jquery.com/category/css/
[8] https://www.w3schools.com/php/php_file_upload.asp
[9] https://stackoverflow.com/questions/67762573/css-change-only-
background-not-border
[10] https://www.w3schools.com/html/default.asp