Professional Documents
Culture Documents
Dbms Project On Agriculture Product Management System" For Database Management System Laboratory
Dbms Project On Agriculture Product Management System" For Database Management System Laboratory
Davangere -577004
CERTIFICATE
This is to certify that KEERTHANA S AND LAXMI ANGADI bearing USN 4BD18CS033 AND
4BD18CS037 respectively of Computer Science and Engineering department have satisfactorily submitted the
mini project report entitled “AGRICULTURE PRODUCT MANAGEMENT SYSTEM” for DATABASE
MANAGEMENT SYSTEM LABORATORY (18CSL58). The report of the mini project has been approved
as it satisfies the academic requirements in respect of mini project work prescribed for the year 2020-2021.
(2) ___________________
ACKNOWLEDGEMENT
Salutations to our beloved and highly esteemed institute, “BAPUJI INSTITUTE OF ENGINEERING AND
TECHNOLOGY” for having well qualified staff and lab furnished with necessary equipments.
We express my sincere thanks to our guides Prof. Vaishnavi Inamdar and Prof. Shryavani K for giving us
constant encouragement, support and valuable guidance throughout the course of project without whose guidance
this project would not have been achieved..
We also express our whole hearted gratitude to our principal, Dr . H B Aravind for his moral support and
encouragement.
We would like to extend our gratitude to all staff of Computer Science and Engineering Department for their
help and support. we have benefited a lot from the review, suggestions given by them.
We would like to extend our gratitude to all my family members and friends especially for their advice and moral
support.
KEERTHANA S (4BD18CS033)
MISSION
M1 Adapting best teaching and learning techniques that cultivates Questioning and
Reasoning culture among the students.
M2 Creating collaborative learning environment that ignites the critical thinking in
students and leading to the innovation.
M3 Establishing Industry Institute relationship to bridge the skill gap and make them
industry ready and relevant.
M4 Mentoring students to be socially responsible by inculcating ethical and moral values.
PEO1 To apply skills acquired in the discipline of Computer Science and Engineering for
solving societal and industrial problems with apt technology intervention.
PEO2 To continue their career in industry/academia or to pursue higher studies and research.
PEO3 To become successful entrepreneurs, innovators to design and develop software
products and services that meets the societal, technical and business challenges.
PEO4 To work in the diversified environment by acquiring leadership qualities with effective
communication skills accompanied by professional and ethical values.
PROGRAM SPECIFIC OUTCOMES (PSOs)
PSO1 Analyze and develop solutions for problems that are complex in nature but applying
the knowledge acquired from the core subjects of this program.
PSO2 To develop secure, Scalable, Resilient and distributed applications for industry and
societal requirements.
PSO3 To learn and apply the concepts and construct of emerging technologies like
Artificial Intelligence, Machine learning, Deep learning, Big Data Analytics, IOT,
Cloud Computing, etc for any real time problems.
COURSE OUTCOMES:
COURSE OBJECTIVES:
The admin can manage every action .. Here in order to use the system, you have to log in to the system. You
can either log in as a farmer or a buyer. For now, this project consists of only the farmer side. With the use of
this super system, the farmers can manage their products with more ease. Design of this project is pretty simple
so that the user won’t find any difficulties while working on it. This system in PHP helps the user in managing
inventory and transactions. To run this project you must have installed virtual server i.e XAMPP on your PC
(for Windows).
CONTENTS
ACKNOWLEDGEMENT i
ABSTRACT ii
CONTENTS iii
LIST OF FIGURES iv
LIST OF TABLES v
LIST OF ACRONYMS vi
CHAPTERS
1. INTRODUCTION 1
1.1 Introduction 1
1.2 Problem Statement 2
1.3 Objectives 3
1.4 Methodology 3
2. LITERATURE SURVEY 4
2.1 Existing System 4
2.2 Proposed System 4
BIBILOGRAPHY 32
LIST OF FIGURES
04 4.5.4 My cart 13
05 4.5.5 Review 14
06 4.5.6 Transaction 14
LIST OF ACRONYMS
CERTIFICATE
This is to certify that KEERTHANA S bearing USN 4BD18CS033 respectively of Computer Science
and Engineering department have satisfactorily submitted the mini project report entitled “AGRICULTURE
PRODUCT MANAGEMENT SYSTEM” for DATABASE MANAGEMENT SYSTEM LABORATORY
(18CSL58). The report of the mini project has been approved as it satisfies the academic requirements in respect
of mini project work prescribed for the year 2020-2021.
(2) ___________________
ACKNOWLEDGEMENT
Salutations to our beloved and highly esteemed institute, “BAPUJI INSTITUTE OF ENGINEERING AND
TECHNOLOGY” for having well qualified staff and lab furnished with necessary equipments.
We express my sincere thanks to our guides Prof. Vaishnavi Inamdar and Prof. Shryavani K for giving us
constant encouragement, support and valuable guidance throughout the course of project without whose guidance
this project would not have been achieved..
We also express our whole hearted gratitude to our principal, Dr . H B Aravind for his moral support and
encouragement.
We would like to extend our gratitude to all staff of Computer Science and Engineering Department for their
help and support. we have benefited a lot from the review, suggestions given by them.
We would like to extend our gratitude to all my family members and friends especially for their advice and moral
support.
KEERTHANA S (4BD18CS033)
VISION
MISSION
M1 Adapting best teaching and learning techniques that cultivates Questioning and
Reasoning culture among the students.
M2 Creating collaborative learning environment that ignites the critical thinking in
students and leading to the innovation.
M3 Establishing Industry Institute relationship to bridge the skill gap and make them
industry ready and relevant.
M4 Mentoring students to be socially responsible by inculcating ethical and moral values.
PEO1 To apply skills acquired in the discipline of Computer Science and Engineering for
solving societal and industrial problems with apt technology intervention.
PEO2 To continue their career in industry/academia or to pursue higher studies and research.
PEO3 To become successful entrepreneurs, innovators to design and develop software
products and services that meets the societal, technical and business challenges.
PEO4 To work in the diversified environment by acquiring leadership qualities with effective
communication skills accompanied by professional and ethical values.
PROGRAM SPECIFIC OUTCOMES (PSOs)
PSO1 Analyze and develop solutions for problems that are complex in nature but applying
the knowledge acquired from the core subjects of this program.
PSO2 To develop secure, Scalable, Resilient and distributed applications for industry and
societal requirements.
PSO3 To learn and apply the concepts and construct of emerging technologies like
Artificial Intelligence, Machine learning, Deep learning, Big Data Analytics, IOT,
Cloud Computing, etc for any real time problems.
COURSE OUTCOMES:
COURSE OBJECTIVES:
The admin can manage every action .. Here in order to use the system, you have to log in to the system. You
can either log in as a farmer or a buyer. For now, this project consists of only the farmer side. With the use of
this super system, the farmers can manage their products with more ease. Design of this project is pretty simple
so that the user won’t find any difficulties while working on it. This system in PHP helps the user in managing
inventory and transactions. To run this project you must have installed virtual server i.e XAMPP on your PC
(for Windows).
CONTENTS
ACKNOWLEDGEMENT i
ABSTRACT ii
CONTENTS iii
LIST OF FIGURES iv
LIST OF TABLES v
LIST OF ACRONYMS vi
CHAPTERS
1. INTRODUCTION 1
1.1 Introduction 1
1.2 Problem Statement 2
1.3 Objectives 3
1.4 Methodology 3
2. LITERATURE SURVEY 4
2.1 Existing System 4
2.2 Proposed System 4
BIBILOGRAPHY 32
LIST OF FIGURES
04 4.5.4 My cart 13
05 4.5.5 Review 14
06 4.5.6 Transaction 14
LIST OF ACRONYMS
Chapter 1
INTRODUCTION
1.1 INTRODUCTION
1.1.1 DATABASE MANAGEMENT SYSTEM
A database management system (DBMS) refers to the technology for creating and managing
databases. Basically, DBMS is a software tool to organize (create, retrieve, update and manage)
data in a database. The main aim of a DBMS is to supply a way to store up and retrieve database
information that is both convenient and efficient.
Database systems are meant to handle large collection of information. Management of data
involves both defining structures for storage of information and providing mechanisms that can
do the manipulation of those stored information. Moreover, the database system must ensure
the safety of the information stored, despite system crashes or attempts at unauthorized access.
1.1.2 HISTORY
Following the technology progress in the areas of processors, computer memory, computer
storage, and computer networks, the sizes, capabilities, and performance of databases and their
respective DBMSs have grown in orders of magnitude. The development of database
technology can be divided into three eras based on data model or structure: navigational,
SQL/relational, and post-relational.
The two-main early navigational data models were the hierarchical model, epitomized by
IBM's IMS system and the CODASYL model (network model), implemented in a number of
products such as IDMS.
The relational model, first proposed in 1970 by Edgar F. Codd, departed from this tradition by
insisting that applications should search for data by content, rather than by following links. The
relational model employs set of ledger-style tables, each used for a different type of entity.
Only in the mid-1980s did computing hardware become powerful enough to allow the wide
deployment of relational systems (DBMSs plus applications).
By the early 1990s, however, relational systems dominated in all large-scale data
processing applications, and as of 2015 they remain dominant: IBM DB2, Oracle, MySQL,
and Microsoft SQL Server are the top DBMS. The dominant database language standardized
SQL for the relational model, has influenced database languages for other data models.
Object databases were developed in the 1980s to overcome the inconvenience of object-
relational impedance mismatch, which led to the coining of the term "post-relational" and also
the development of hybrid object-relational databases.
The next generation of post-relational databases in the late 2000s became known as NoSQL
databases, introducing fast key-value stores and document-oriented databases. A competing
"next generation" known as NoSQL databases attempted new implementations that retained
the relational/SQL model while aiming to match the high performance of NoSQL compared to
commercially available relational DBMS.
PHP is the most popular and widely used server side scripting language for web development.
It is used to make the Dynamic pages in websites. Rasmus Lerdorf was the creator of PHP in
1995. PHP codes are embedding in HTML source codes for making the page dynamic. PHP
can deal with most of the requirements in web development like Database, File handling, String
operations, Arrays, Graphics, File Uploads, Data processing etc. PHP can be used in any
operating system with a web server Supports PHP. Apache web server is one of the popular
web server dealing with PHP + MySQL. Moreover PHP is absolutely free to use.
Agriculture products management system is to help farmers by providing all kinds agriculture
related information in the website. Agriculture products management system is farmer
management website application which helps farmers to give best-practice farming processes.
It helps farmers to improve their productivity and profitability. It enables farmers to sell their
productions through online and farmers can purchase tools and seeds directly from seller.
Farmer can view labors profile and they can hire labors.
1.3 OBJECTIVE
The objectives of this study are summarized below:
➢ To automate the new age Agriculture Product Management System.
➢ To monitor and control the online product purchase.
➢ To provide the buyers the information of their list of selected products and the price
list.
➢ To keep the track of buyers help them to buy products directly from farmers through
the Agriculture platform.
1.4 METHODOLOGY
The methodology of management should be developed on the basis of using various methods
of scientific research, as well as taking it to the imperatives of real agricultural production.
The methodology for managing the development of the agriculture product sector should be
implemented through the use of evolutionary, systemic , anti-crisis, reproductive,
intigratation, institutional, and adaptive approaches.
CHAPTER 2
LITERATRE SURVEY
2.1 Existing systems:
1. Contact-based marketing
the farmer has to go to market to sell his product, which eventually increses the cost of the
produce. it is time consuming process, but easy to sell directly to the buyer. this is the most
common way to sell the agriculture products
2. Supermarkets:
cost and unnecessary taxes These are modern approach to sell the products from the farmers.
but it has high which will not benefit the farmers
3. online markets:
This place does not ensure the products are fresh and dies not give true value to the customer.
This may include adultration of products and misusing the farmers
Chapter 3
• Framework: XAMPP
• Operating System: Windows 7 (and other higher version)
• Front End: HTML, CSS
• Programming Language: PHP, HTML, CSS, Bootstrap, jQuery
• Data Base Environment: MySQL(Ver 15.1)
• Server: Apache/2.4.41
Chapter 4
SYTEM DESIGN AND IMPLEMETATION
4.1 ENTITY - RELATIONSHIP DIAGRAM
Entity Attribute
Primary Key
Relationship Type
1 N
Cardinality ratio
4.2 DESCRIPTION :
The ER Model figure shows the proposed system. It defines the conceptual view of the
database. It works around real-world entities and the associations among them .At view level,
the ER model is considered a good option for designing databases .So, let’s see each entity.
Buyer
The entity stores the information about the customers who have been logged in to buy the
products from farmer . Through our database system.
Farmer
This entity show the information about all the farmers. The attributes are f-id , f-name ,
username , password , email , mobile and etc.
Farmer product
This entity shows the details of the products that are there in digital format.
Review
This entity shows the information about the reviews given by the customers.
My Cart
This entity shows the information about the products selected by the customer.
Transaction
This entity shows the transaction information about the transaction done by the farmer/buyer.
Table 4.5.1: This figure describes about the tables present in agriculture management system
Farmer:
Table 4.5.2: This table describes the information of the farmers who have registered to our
database system
Farmer products:
Table 4.5.3: This figure describes about the products uploaded by farmers.
My Cart:
Table 4.5.4: This figure describes about the products added to cart by customers
Review:
Table 4.5.5: This figure describes about the reviews of products given by customers
Transaction:
4.6 CODE
<?php
$serverName = "localhost";
$userName = "root";
$password = "";
$dbName = "agroculture";
if (!$conn)
?>
-- phpMyAdmin SQL
-- version 4.6.4
-- https://www.phpmyadmin.net/
-- Host: 127.0.0.1
/*!40101 SET
@OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
-- Database: `agroculture`
INSERT INTO `fproduct` (`fid`, `pid`, `product`, `pcat`, `pinfo`, `price`, `pimage`,
`picStatus`) VALUES
(3, 27),
(3, 30);
-- ---------------------------------------------------------
--
INSERT INTO `transaction` (`tid`, `bid`, `pid`, `name`, `city`, `mobile`, `email`, `pincode`,
`addr`) VALUES
--
--
--
--
--
--
--
--
--
--
--
--
Chapter 5
Fig 5.1: This figure describes the Home page where user can log in or register.
Fig 5.2 This figure describes Sign-up page where user can give details to get signed -up.
5.4 This figure describes product information page where the farmer can upload their
products.
Fig 5.5 This figure describes Digital market page where the products available are listed.
Fig 5.5.1 This figure describes Digital market page where the products available are listed.
Fig 5.6 This figure describes the sorting of fruits page where the fruits available are listed.
Fig 5.7This figure describes the sorting vegetables page where the vegetables available are
Listed.
Fig 5.8 This figure describes the sort grains page where the grains available are listed.
Fig 5.9 This figure describes the complete view of bajra product.
Fig 5.10 This figure describes the complete view of wheat product.
Fig 5.11 This figure describes the complete view of massor product.
Fig 5.12 This figure describes the complete view of mango product.
Fig 5.13 This figure describes the complete view of apple product.
Fig 5.14 This figure describes the complete view of chikoo product.
Fig 5.15 This figure describes the complete view of ladyfinger product.
Fig 5.16 This figure describes the complete view of brinjal product.
Fig 5.17 This figure describes the complete view of mushroom product.
My cart:
Fig 5.18 This figure describes the products which are in customers cart.
Transaction:
Fig 5.19 This figure describes the transaction page where the user can confirm their order.
CONCLUSION
This project is intended to provide a open platform where the farmers can sell or buy
products. The conventional way is very time consuming and takes a lot of effort. With this
database system we can save more time than manual method of selling/buying directly .It is
useful for farmers to get correct price for their produce. Also eliminates hidden prices of
conventional markets. The customers can get fresh from farm products. The present project
is made to fulfil the modern age requirements of conventional product transactions.
FUTURE WORK
Our project avoids the manual work and the problems concern with it. It is an easy way to know
the preferences of each an every individual. Well I and my team member have worked hard in
order to present an improved application better than the existing one’s regarding the
information about the various activities. Still, we found out that the project can be done in a
better way.
BIBLIOGRAPHY
Books:
Links:
• https://stackoverflow.com
• https://www.w3schools.com