DBMS Mini-Project Report Format

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 31

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

BELGAVI, KARNATAKA -590 018

A Minor Project Report on

“DAIRY FARM SHOP MANAGEMENT SYSTEM”


Submitted in partial fulfillment for the DBMS Laboratory with Mini-
Project [18CSL58] course of fifth Semester of Bachelor of Engineering in
Computer Science & Engineering during the academic year 2022-23.

By
Priyanka kumari singh 4MN20CS032
Rahul Raj H 4MN20CS036

|| Under the Guidance of ||


Prof. Hemanth C
Assistant Professor
Dept. of CS&E
MIT Thandavapura

2022-23

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING


MAHARAJA INSTITUTE OF TECHNOLOGY THANDAVAPURA
NH 766, Nanjangud Taluk, Mysuru – 571302
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
MAHARAJA INSTITUTE OF TECHNOLOGY THANDAVAPURA

CERTIFICATE
Certified that the minor project work entitled “DAIRY FARM SHOP
MANAGEMENT SYSTEM” is a bonafide work carried out by [PRIYANKA
KUMARI SINGH] (4MN20CS032) & [RAHUL RAJ H] (4MN20CS036) for the
course DBMS Laboratory with Mini-Project with course code 18CSL58 of
Sixth Semester in Computer Science & Engineering under Visvesvaraya
Technological University, Belagaviduring academic year 2022-23.
It is certified that all corrections/suggestions indicated for Internal
Assignment have been incorporated in the report.The report has been approved
as it satisfies the course requirements.

_________________ _________________
Signature of Lab Staff In-Charge Signature of the HoD
Prof. Hemanth C Dr. Ranjit K N
Assistant Professor Associate Professor & Head
Dept. of CS&E Dept. of CS&E
MIT Thandavapura MIT Thandavapura

External viva
Name of the Examiners Signature with date

1)…………………………………………………………………………………….

2)…………………………………………………………………………………….
ACKNOWLEDGEMENT

It is the time to acknowledge all those who have extended their guidance,
inspiration and their whole hearted co-operation all along our project work.
We are grateful to Dr. Y T Krishne Gowda, Principal, MIT Thandavapura, Dr.
H K Chethan, Professor and Mentor, CS&E, MITThandavapura and also Dr. Ranjit K
N, Associate Professor and Head, CS&E, MIT Thandavapura for having provided us
academic environment which nurtured our practical skills contributing to the success of
our project.
We would like to sincerely thank our project guide Prof. Hemanth C, Assistant
Professor, Dept. of CS&E, MIT Thandavapura for providing relevant information,
valuable guidance and encouragement to complete this project.
We wish to place a deep sense of gratitude to all Teaching and Non-Teaching
staffs of Computer Science and Engineering Department forwhole-hearted guidance and
constant support without which thisendeavor would not have been possible.
Our gratitude will not be complete without thanking our parents and also our
friends, who have been a constant source of support and aspirations.

Priyanka Kumari Singh Signature


Rahul Raj H Signature

I
ABSTRACT
In this project, it is a web-based application which manages the products of dairy
farm shop.It has one module i.e, admin who manages all the functions of the dairy farm
shop .
Our main goal is to develop this application to encourage a dairy shop.Dairy Farm
Shop Management System is a software application to maintain day to day transactions in
a dairy shop.This software help to register all the products , purchase,sales details etc….,
DFSMS is a web-based application which manages the products of dairy shop. .
This system can be used to automate the workflow of dairy shop and their invoices. It
basically maintains the daily milk record and maintain reports.

II
CONTENTS

SL.No. Index Page No.


1 INTRODUCTION
1.1 Project Description
1.2 Objectives of the project
2 REQUIREMENTS AND ANALYSIS
2.1 Existing System
2.2 Proposed System
2.3 Hardware Requirements
2.4 Software Requirements
2.5 Analysis
2.5.1 Use Case Diagram
2.5.2 Dataflow Diagram
3 SYSTEM DESIGN
3.1 E-R Diagram
3.2 MySQL Server
3.3 Normalization
4 IMPLEMENTATION AND RESULTS
4.1 Algorithm
4.2 Snapshots
5 CONCLUSION AND FUTURE WORK
5.1 Conclusion
5.2 Future Enhancement
REFERENCES
APPENDIX A – Source Code

III
LIST OF FIGURES

SL.No. Index Page No.

IV
Project Title DBMS Laboratory with Mini – Project

CHAPTER – 1
INTRODUCTION
1.1 Project Description
The Dairy Farm Shop Management System (DFSMS) is a web based application
that can be accessed over the web. This system can be used to automate the workflow of
dairy shop and their invoices. The project has been planned to be having the view of
distributed architecture, with centralized storage of the database. The application for the
storage of the data has been planned. Using the constructs of MySQL Server and all the
user interfaces has been designed using the PHP technologies. The database connectivity
is planned using the “MySQL Connection” methodology. The standards of security and
data protective mechanism have been given a big choice for proper usage. The application
takes care of different modules and their associated reports, which are produced as per the
applicable strategies and standards that are put forwarded by the administrative staff.
DFSMS is a web-based application which manages the products of dairy shop. It has one
module i.e. admin who manages all the functions of the dairy shop.

1.2 Objective of the Project

 Profit maximisation from dairy sector.

 To ensure fresh and safe milk to consumers of the state.

 Increase Rural Employment Opportunities through Entrepreneurship.

 Sustainable Development of the sector.

 Strengthening of the organised Dairy farming sector through cooperatives.

 Value addition and improved marketing to provide fair price to the farmers.

 Innovation, Research and Development for cost effective production.

 Technology transfer through effective extension activities.

 Automate the milk collection and pricing system of the Dairy Co-operatives.

 Unify the accounting and management system of the Dairy Co-operatives.

 Creating a network between the Dairy Co-operatives, the Dairy Development De-
partment  and   other stake holders for efficient and effective management.
Department of CS&E, MITT 2022-23 Page 1
Project Title DBMS Laboratory with Mini – Project

 To conduct any and all appropriate activities to accomplish the above objectives
and purposes.
.
 To ensure provision of inputs for milk production, processing facilities and
dissemination of know how.

 To build and develop village level institutes as cooperative model units to manage
the dairy activities.

 To facilitate rural development by providing opportunities for self- employment


along with providing opportunity for steady Income at village level.

 Technical guidance and supply of root slips/seeds for Fodder cultivation by the
members of the Co-operative Societies.

 Effective supervision/extension services through field executives of the Union.

 Organising exclusive women dairy co-operatives.

 Implementing STEP program through Govt. Of India Project.


 Providing hygienic milk to urban consumers.

Department of CS&E, MITT 2022-23 Page 2


Project Title DBMS Laboratory with Mini – Project

CHAPTER – 2
REQUIREMENTS AND ANALYSIS
2.1 Existing System

 When we analysis the manage about this firm then we face that they working with
manual. In manual system , the data storage , data security is very tedious. And it
is very difficult to secure and maintain for long years without any damages or
corruptions.
 It also takes much of time to retrieve particular information . Manage and
maintain large amount of data by a single person is not possible. So many
problems raised, like storage space, maintenance etc. Correction or modification
of data makes a way for malfunction.

 Disadvantages Of Existing System


 Time consumption
 Paper work
 Storage requirements
 Difficulty in keeping new records

2.2 Proposed System

 This project is aimed at developing a web based dairy farm shop management
system tool . It basically maintains the daily milk record and maintain reports.

 All the problems which were denoted in the existing systems were overcome. The
data will be secured with authentication by providing passwords.

 The retrieval of data is much faster than the manual process. The user can create
their reports within a time. There is no data redundancy, malfunction, data
mismatching.

 Timely execution and concurrent updating are the advantages of using this project.

 Advantages Of Proposed System

 To increase efficiency with reduced cost.

Department of CS&E, MITT 2022-23 Page 3


Project Title DBMS Laboratory with Mini – Project

 To reduce the burden of paper work.

 To save time management for recording details of each and every member and
employee.

 To generate required reports easily.

2.3 Hardware Requirements

Processor Intel(R) Pentium(R) CPU N3700 @ 1.60 GHz


RAM 4 GB
System type 64-bit Operating System, x64 based processor
Output device Monitor (1366*768 Resolution)
Input device Keyboard, Mouse

2.4 Software Requirements

Language Used PHP


Database My SQL
User Interface Design HTML, AJAX, JQUERY, JAVASCRIPT
Web Browser Mozilla, Google Chrome, IE8, OPERA
Software XAMPP Server

2.5 Analysis

Department of CS&E, MITT 2022-23 Page 4


Project Title DBMS Laboratory with Mini – Project

2.5.1 Use case diagram

2.5.2 Data flow Diagram

admin add
manage
belongs
category
order
product
manage
Search Add product
product

cash
Remove product
cart card

manage
payment
manage

invoice
manage

Department of CS&E, MITT 2022-23 Page 5


Project Title DBMS Laboratory with Mini – Project

CHAPTER – 3
SYSTEM DESIGN
3.1 Entity Relation Diagram

3.2 MYSQL Server


SQL (Structured Query Language) is a domain-specific language used in programming
and designed for managing data held in a relational database management system
(RDBMS), or for stream processing in a relational data stream management system
(RDSMS). In comparison to older read/write APIs like ISAM or VSAM, SQL offers two
main advantages: first, it introduced the concept of accessing many records with one
single command; and second, it eliminates the need to specify how to reach a record, e.g.
with or without an index.
Department of CS&E, MITT 2022-23 Page 6
Project Title DBMS Laboratory with Mini – Project
Originally based upon relational algebra and tuple relational calculus, SQL consists of a
data definition language, data manipulation language, and data control language. The
scope of SQL includes data insert, query, update and delete, schema creation and
modification, and data access control. Although SQL is often described as, and to a great
extent is, a declarative language (4GL), it also includes procedural elements. SQL was
initially developed at IBM by Donald D. Chamberlin and Raymond F. Boyce in the early
1970s. This version, initially called SEQUEL (Structured English Query Language), was
designed to manipulate and retrieve data stored in IBM's original quasirelational database
management system, System R, which a group at IBM San Jose Research Laboratory had
developed during the 1970s.

The SQL language is subdivided into several language elements, including:

• Clauses, which are constituent components of statements and queries. (In some cases,
these are optional.)
• Expressions, which can produce either scalar values, or tables consisting of columns and
rows of data
• Predicates, which specify conditions that can be evaluated to SQL three-valued logic
(3VL)(true/false/unknown) or Boolean truth values and are used to limit the effects of
statements and queries, or to change program flow.
• Queries, which retrieve the data based on specific criteria. This is an important element
of SQL.
• Statements, which ma diagnostics. y have a persistent effect on schemata and data, or
may control transactions, program flow, connections, sessions.

3.3 Normalization

Normalization is the process of efficiently organizing data in a database. There are two
goals of the normalization process: eliminating redundant data (for example, storing the
same data in more than one table) and ensuring data dependencies make sense (only
storing related data in a table). Both of these are worthy goals as they reduce the amount
of space a database consumes and ensure that data is logically stored. There are several
benefits for using Normalization in Database.

Benefits:

Department of CS&E, MITT 2022-23 Page 7


Project Title DBMS Laboratory with Mini – Project

• Eliminate data redundancy


• Improve performance
• Query optimization
• Faster update due to less number of columns in one table Index improvement

There are different types of normalizations form available in the database.

1.First Normal Form (1NF):


First normal form (1NF) sets the very basic rules for an organized database:
• Eliminate duplicative columns from the same table.
• Create separate tables for each group of related data and identify each row with
unique column or set of columns (the primary key).

• Remove repetitive groups


• Create Primary Key
Before we proceed let's understand a few things -- A KEY is a value used to identify a
record in a table uniquely. A KEY could be a single column or combination of multiple
columns Note: Columns in a table that are NOT used to identify a record uniquely are
called non-key columns.
Primary Key

2.Second Normal Form(2NF):


Second normal form(2NF) further address the concept of rmoving duplicative data:
• Meet all the requirements of the first Normal form.
• Remove the subset of data that apply to multiple rows of a table and place them in
separate tables.

3.Third Normal Form (3NF):


Third normal form (3NF) goes one large step further:
Department of CS&E, MITT 2022-23 Page 8
Project Title DBMS Laboratory with Mini – Project
• Meet all the requirements of the second normal form.
• Remove columns that is not dependent upon the primary key.

4. Fourth Normal Form (4NF):


Finally, fourth normal form (4NF) has one additional requirement:
• Meet all the requirements of the third normal form.
• A relation is in 4NF if it has no multi-valued dependencies.

If PK is composed of multiple columns then all non-key attributes should be derived from
FULL PK only. If some non-key attribute can be derived from partial PK then remove it.
The 4NF also known as BCNF NF.

Department of CS&E, MITT 2022-23 Page 9


Project Title DBMS Laboratory with Mini – Project

CHAPTER – 4
IMPLEMENTATION AND RESULTS

4.1 Algorithms

Index:

1. Display for admin login.


2. Link corresponding pages to them.

Admin login:

1. Connect to database.
2. Read admin name and password using post method.
3. If the entered values are correct then,
4. Redirect to admin operation.
5. Else show error message.

Admin operations:

1. Show admin operations such as,


2.View and manage product,category,invoice.

View product list:

1. Connect to database.
2. Manage the corresponding products by adding ,deleting or modifying
corresponding table.
3. Display the details in the product table.

View category list:

1. Connect to database.

Department of CS&E, MITT 2022-23 Page 10


Project Title DBMS Laboratory with Mini – Project
2. Manage the catageory from the corresponding table.
3. Display the details in the category table.

View Company list:

1. Connect to database.
2. Manage the company name from the corresponding table.
3. Display the details in the Company table.

View Invoice list:

1. Connect to database.
2. Retrieve the purchase details from the corresponding table.
3. Display the details in the Invoice table.

View Report list:

1. Connect to database.
2. Retrieve the sales details between the dates from the corresponding table.
3. Display the details in the form of table.

Department of CS&E, MITT 2022-23 Page 11


Project Title DBMS Laboratory with Mini – Project

4.2 Snapshots

Fig.4.2.1 Home page

Fig.4.2.2 Dashboard

Department of CS&E, MITT 2022-23 Page 12


Project Title DBMS Laboratory with Mini – Project

Fig.4.2.3 Admin Profile Page

Fig.4.2.4 Change Password Page

Department of CS&E, MITT 2022-23 Page 13


Project Title DBMS Laboratory with Mini – Project

Fig.4.2.5 Add category page

Fig.4.2.6 Manage category page

Department of CS&E, MITT 2022-23 Page 14


Project Title DBMS Laboratory with Mini – Project

Fig.4.2.7 Update category page

Fig.4.2.8 Add company page

Department of CS&E, MITT 2022-23 Page 15


Project Title DBMS Laboratory with Mini – Project

Fig.4.2.9 Manage company page

Fig.4.2.10 Update company page

Department of CS&E, MITT 2022-23 Page 16


Project Title DBMS Laboratory with Mini – Project

Fig.4.2.11 Add product page

Fig.4.2.12 Manage product page

Department of CS&E, MITT 2022-23 Page 17


Project Title DBMS Laboratory with Mini – Project

Fig.4.2.13 Update product page

Fig.4.2.14 Search product page

Department of CS&E, MITT 2022-23 Page 18


Project Title DBMS Laboratory with Mini – Project

Fig.4.2.15 Search product with product page

Fig.4.2.16 Product add to cart page

Department of CS&E, MITT 2022-23 Page 19


Project Title DBMS Laboratory with Mini – Project

Fig.4.2.17 View invoice page

Fig.4.2.18 Report between page

Department of CS&E, MITT 2022-23 Page 20


Project Title DBMS Laboratory with Mini – Project

Fig.4.2.19 Detail of between date report page

Fig.4.2.20 Sales report page

Department of CS&E, MITT 2022-23 Page 21


Project Title DBMS Laboratory with Mini – Project

Fig.4.2.21 Detail of sales report page

Department of CS&E, MITT 2022-23 Page 22


Project Title DBMS Laboratory with Mini – Project

CHAPTER – 5
CONCLUSION AND FUTURE WORK
5.1 Conclusion

It has been a great pleasure for me to work on this exciting and challenging project. This
project proved good for me as it provided practical knowledge of not only programming
in PHP and MySQL web based application. It also provides knowledge about the latest
technology used in developing web enabled application and client server technology that
will be great demand in future. This will provide better opportunities and guidance in
future in developing projects independently.
BENEFITS:
The project is identified by the merits of the system offered to the user. The merits
of this project are as follows: -
• This project offers user to enter the data through simple and interactive forms. This is
very helpful for the client to enter the desired information through so much simplicity.
• User is provided the option of monitoring the records he entered earlier. He can see the
desired records with the variety of options provided by him.
• Allocating of sample results becomes much faster because at a time the user can see the
records of last years.
• Easier and faster data transfer through latest technology associated with the computer
and communication.
5.2 Future Work
This web application involves almost all the basic features of the online dairy farm shop
management system. The future implementation will be online help for the customers and
chatting with website administrator.

Department of CS&E, MITT 2022-23 Page 23


REFERENCES
For PHP
➢ https://www.w3schools.com/php/default.asp
➢ https://www.sitepoint.com/php/
➢ https://www.php.net/

For MySQL
➢https://www.mysql.com/
➢http://www.mysqltutorial.org

For XAMPP
https://www.apachefriends.org/download.html
APPENDIX A: SOURCE CODE

APPENDIX – A
SOURCE CODE

A-1

You might also like