You are on page 1of 17

Dav Institute of Engineering and Technology, Jalandhar,

Submitted in Partial Fulfilment of The Requirement for


The Award the degree of
Institutional Summer Training
Practical File

BACHELOR OF COMPUTER APPLICATION

SUBMITTED BY:
NAME: PRINCE KUMAR, BRIJESH KUMAR GIRI
CLASS ROLL NO: 3173, 3125
UNIV ROLL NO: 2102918, 2102870
Branch: BCA (5th Sem.)

1
Candidate Declaration
I, Prince Kumar, Brijesh Kumar Giri hereby declare that I have undertaken one-month
institutional training during the period from Sep to Oct 2023 in partial fulfillment of the
requirements for the award of the degree of BCA at O7 SERVICES, JALANDHAR. The
work presented in the training report submitted to the Department of Computer Applications
at DAV INSTITUTE OF ENGINEERING AND TECHNOLOGY, JALANDHAR, is an
authentic record of my training work.

Signature of the Student (Prince Kumar, Brijesh Kumar Giri).

The six weeks industrial training Viva-Voce Examination of ________________ has been
held on _______________ and accepted.

Signature of Internal Examiner Signature of External Examiner

2
Acknowledgement
I, Prince Kumar, Brijesh Kumar Giri want to express my gratitude to everyone who supported
me during my Institutional Summer Training at Dav Institute of Engineering and Technology,
Jalandhar. I'm thankful to my mentor, Mr. Gaurav Sharma, for her guidance and
encouragement. I also appreciate the help from my friends and fellow students, as well as the
resources provided by the college. Lastly, my heartfelt thanks go to my family for their
constant support. I couldn't have completed this project without all of your help.

Signature: __________________________
Date: _______________________________

Thank You!
Prince Kumar
Brijesh Kumar Giri.

3
Table of Content
1) Abstract ________________________________________________ (2)
2) Introduction _____________________________________________ (2)
3) Software Requirement Specifications ________________________ (2)
3.1) Description ____________________________________________ (3)
3.2) System Feature _________________________________________ (5)
3.3) Other Nonfunctional Requirements ________________________ (7)
4) Analysis and Design _______________________________________ (8)
4.1) Diagrams ______________________________________________ (11)
4.2) Database design _________________________________________ (12)
5) Implementation Detail _____________________________________ (13)
6) Testing __________________________________________________ (17)
7) Conclusion and future work ________________________________ (17)
8) References _______________________________________________ (17)

4
1. Abstract - An Online Blog portal is a website dedicated to blogging, where users
can share good ideas with the world. One such good example is https://medium.com/

2. Introduction- An Online Blogging Blog is basically a website which is used for


chronological listing of blog posts. A blog has the most recent content shown first
followed by the previously updated content. An Online Blogging System website is a
site dedicated to blogging. One such good example of this service is
https://www.blogger.com/about/

#Technology and Tools:


Technology:
o HTML5
o CSS3
o Bootstrap
o JavaScript
o PHP
o MySQL

Tools:
o Visual Studio Code
o XAMPP

3. Software Requirement Specifications

#Description
1. Product Scope
The purpose of the online blog portal is to ease blog management and to create a
convenient and easy-to-use application for bloggers.
2. Product Perspective
A blog portal database system stores the following information

- Blog description: It includes blog content, date and time for blog, author
of blog etc.
- User details: It includes user name, password, email-id, blogs etc.

5
3. Product Functions
This product can be useful in replacing newspaper articles to save
nature.
- Login module
- Admin module
- Author Module
- Registration module
- Show Blogs list
- Create / edit / update / delete blogs
- Create / edit / update / delete user
- Search blogs based on title, author or dates
- Markdown syntax for blog content

4. User Classes and Characteristics


 User Module
User can browse through BeignTech website and search for articles
under various categories present in the portal.

User can search for articles based in his preferred categories like Sports,
Entertainment, Politics, etc.
User can search for a particular article based on specific keywords like
title of the article or category name, trending.
User can sort articles date wise and view articles posted on particular
date of choice or between a span of days.
User can also look up the trending articles of the week.
User can manage his account credentials (i.e.) can change password.

 Author Module
Author can write new articles and post in the BeignTech portal by
selecting the appropriate category in which the article is written and to
be displayed.
Author can modify and delete articles written by him only.
Author can manage his account credentials (i.e.) can change password
& name.

5. Operating Environment
This website will work on any platform which has integrated browser and internet
support. It works on major browsers like chrome, Firefox, safari, edge etc. Works
with many operating systems like windows, Linux and macOS.

6. Design and Implementation Constraints


Blogging System is a Web application, so users need to use any kind of browsers
and also need the internet. When users or merchants use legacy browsers then the

6
UI of the website sometimes does not work. Software maintenance will be
available from our side without any charges.

7. User Documentation
User manual provided with SRS. Screenshot of the whole product is also available
to users for future reference.

8. Assumptions and Dependencies


While developing this product we assumed the following factors.
• Users will have any kind of smart device like laptop, pc or smartphone.
• All these devices are capable of running modern browsers.
• Users will have an internet connection. The project could be affected if any of
these assumptions are incorrect

# System Feature
Blogging Site provides services to add, remove and update the post with access control. The
site saves the time of the author by giving the lots of features on hand.
1. Show Blogs list

Input Button click


output List of blogs with the link to respective pages.
description To list down all the posts on the homepage of the site
precondition There is no need to log in to as blogs must be available to all
users.

2. Search blogs
Input search query as a string
Output Success or Failure.
Description Search blog or author
Process search based on user query and show matching blogs.
Precondition There is no need to log in to as blogs must be available to all
users.

3. Login
Input Username and Password.
Output Success or Failure.
Description Users can use this page to login to the system by entering
personal credentials (username and password) and will be
redirected to a home page based on role to use the features

7
of the website.
Process Check the username and matching password in the database.
If found in the database then redirect the user to his/her
home page.
Precondition Users must be registered on the website.
Postcondition User is logged in to the website and a new session is
associated with the client connection.

4. Registration Admin
Input User needs to fill up the registration form.
Output Success or Failure.
Description New users can use this page to register into the website.
Process If data is valid, make changes to the database otherwise
handle appropriately.
Precondition User is logged in to the website and a new session is
associated with the client connection

5. Add Blog
Input User needs to fill up the form containing info like title,
description, content etc.
Output Success or Failure.
Description This feature is used to add new blogs.
Process If validation is successful, make changes to the database
otherwise handle appropriately.
Precondition Users must be login on the website.
Postcondition An alert is displayed based on success or failure. If
successful, a blog will be added.

6. Update Blog
Input User needs to fill up the form containing info like title,
description, content etc.
Output Success or Failure.
Description This feature is used to add new blogs.
Process If validation is successful, make changes to the database
otherwise handle appropriately.
Precondition Users must be login on the website.
Postcondition An alert is displayed based on success or failure. If
successful, a blog will be added.

7. Delete Blog

8
Input User Click.
Output Success or Failure.
Description This feature is used to delete blogs created by the user.
Process If validation is successful, make changes to the database
otherwise handle appropriately.
Precondition Users must be login on the website.
Postcondition An alert is displayed based on success or failure. If
successful, a blog will be added.

8. Logout
Input Button clicks.
Output Success or Failure.
Description Logout user from website.
Process Session is destroyed and the user is redirected to the home
page.
Precondition Users must be login on the website.
Postcondition An alert is displayed based on success or failure. If
successful, a blog will be added.

#Other Nonfunctional Requirements


1. Performance Requirements
Performance should not be an issue because all the data queries involve small pieces
of data.
Changing the screen will require very little computation and thus will occur very
quickly. Server updates could only take a few seconds as long as the device can
maintain a steady signal. website will also up for 24x7 except the maintenance.

2. Safety Requirements
Make this application lightweight, so that it puts a low load on the device. Only the
project admin will be having access to the database at the back-end. So, the admin
will have rights for modifications as well as direct updates to the database.

3. Security Requirements
System should provide a secure login/registration system. And don’t allow
unauthorized users to access the application. Security systems need database storage
just like many other applications.

4. Software Quality Attributes


System should be
- Consistent in performance

9
- Safe and Secure
- Robust
- Scalable
- Flexible
- User friendly
- Efficient

4. Analysis and Desing

#ER Diagram

#Activity Diagram

10
#Database Design

# Database Tables

11
User
User id Unique Primary Key
Username Varchar
Email Varchar
Password Varchar

Categories
Category_id Integer
Category_name Varchar

Blog
blog_id Int (11)
blog_title Varchar (255)
Blog-body longtext
category Int (11)
Blog-image Varchar (255)
Author-id Int (11)
Publish_date tinyint

5. Implementation Detail and Screenshots

12
Homepage: In this page there is an overview of the website, there is
navbar and gateway for login, categories, search.

Search: Search anything related to a blog post.

Login: Login is based on a Admin and Co-Admin


13
Blog Body:

Admin (home page):


14
Admin (Categories):

15
Admin (User):

6. Testing

Module Field Names Expected Output Actual Output


Login Username & Password Redirect to Home Redirect to Home
(true input) page page
Login Username & Password Error message and Error message and
(wrong password) stay to login page stay to login page

Sign-Up Email (email which is Warning message Warning message


already taken) and stay to signup and stay to signup
page page
Article Try to create article Warning and Warning and
without logged in redirect to the home redirect to the home
page page

16
7. Conclusion and future work
So, in this Online Blog portal user can read blogs of various topics and as
blogs are easy to understand and by this application user can know others
point of view in any area and also share their own knowledge with the
world.
We will keep updating our system and add more features like follow
users, readers login, author login and also have an admin panel where
admin can track article add new articles in blog and also disable post in
blogs etc.

8. References
 https://getbootstrap.com/
 https://www.php.net/docs.php

17

You might also like