Professional Documents
Culture Documents
Agriculture Management System - MRR
Agriculture Management System - MRR
Agriculture Management System - MRR
A MINI-PROJECT REPORT
Submitted by
MADHANRAJA R 822220104013
of
BACHELOR OF ENGINEERING
IN
JANUARY 2023
BONAFIDE CERTIFICATE
SIGNATURE SIGNATURE
Thirukkuvalai-610204 . Thirukkuvalai-610204 .
II
ACKNOWLEDGEMENT
We are always thankful to Dr.G.ELANGOVAN, M.E, Ph.D., DEAN,
University College of Engineering, who endorsed us throughout this project.
Last but not least, I wish to thanks my friends with great enthusing for
their love and motivation which helped to go a long way towards the successful
completion of the project work. We thank the almighty whose showers of
blessings made this project a reality.
MADHANRAJA R
822220104013
III
ABSTRACT
The main purpose of doing this project to overcome a real time problem.
The farming products that are produced by the farmer never gets a demanded price or
profit to Farmer. So, we came here with a new idea to overcome these type of
problems. Our website will help the former to get the required fair price for theirs
farming products. The website consists of both Farmer and Buyer account pages the
farmers sell their products and the Buyer can buy the products by logging in to the
website. Both farmer and buyer gets benefits by using our website.
Less effort and less labor intensive, as the primary cost and focus primary
on creating, managing, and running a secure quality food supply. It is focused on
studying the existing system of agro culture in and to make sure that the peoples are
getting quality fresh goods. It manages farmer operation with one system and
organizes data in one place. It helps smart farmers become even smarter. This
createsin partnership with growers and buyers. It inspire farmer to produce and
buyers to consume fresh goods.
Agro Culture System will make better connection among Farmers and
Buyers ensure quality food. Standardize and increase efficiency of agro culture
process.
IV
TABLE OF CONTENTS
V
5.4 CLASS DIAGRAM 12
5.5 SEQUENCE DIAGRAM 13
5.6 ACTIVITY DIAGRAM 14
5.7 GANTT CHART 15
6 SYSTEM TESTING 16
6.1 UNIT TESTING 16
6.2 INTEGRATION TESTING 16
6.3 SYSTEM TESTING 16
6.4 WHITE BOX TESTING 17
6.5 BLACK BOX TESTING 17
6.6 TEST REPORTS 18
7 RESULT AND APPENDICES 21
7.1 RESULTS 21
7.2 APPENDICES 28
8 CONCLUSION 41
9 REFERENCES 42
VI
LIST OF FIGURES
VII
LIST OF ABBREVATIONS
ACRONYM ABBREVATIONS
UI USER INTERFACE
AI ARTIFICIAL INTELLIGENCE
OS OPERATING SYSTEM
DB DATA BASE
VIII
SubCode & Name: CS8582 & OOAD LAB
CHAPTER 1
INTRODUCTION
1.2 OBJECTIVE
produce from larger number of farmers. Thereby, enables the wholesalers and
retailers in expanding their business. It features online shopping for fertilizers,
pesticides, machinery & tools, etc. It helps the farmers to keep track of their
agricultural production with features such as virtual calendar, weather
forecasting, etc. and enables them to hire labourers, which in turn, will help the
farm labourers to find small jobs by having a work profile in the website. As a
whole, ‘agri farm management system’ provides a concept of virtual agricultural
trade to its users.
The name ‘agri farm’ indicates Intelligent Agriculture. ‘agri farm’ is a model
farmer management website application. This site helps the farmers to sell their
agricultural produce online and suggests best -in-practice farming processes.
Hence, providing a wider market and helping them to not restrict themselves to
the local market. It helps the wholesalers and retailers in buying produce from
larger number of farmers.
Thereby, enables the wholesalers and retailers in expanding their business. It
features online shopping for fertilizers, pesticides, machinery & tools, etc. It
helps the farmersto keep track of their agricultural production with features such
as virtual calendar, weather forecasting, etc. and enables them to hire labourers,
which in turn, will help the farm labourers to find small jobs by having a work
profile in the website. As a whole, ‘agri farm management system’ provides a
concept of virtual agricultural trade to its users.
developers to write dynamically generated web pages quickly, but you can do
much more with PHP.
1.3.2BACK END
DATABASE
A Database Management System (DBMS) is computer software designed
for the purpose of managing databases, a large set of structured data, and run
operations on the data requested by numerous users. Typical examples of
SQL:
Structured Query Language (SQL) is the language used to manipulate relational
databases. SQL is tied very closely with the relational model.
In the relational model, data is stored in structures called relations or tables.
SQL statements are issued for the purpose of:
• Data definition: Defining tables and structures in the database (DDL used
to create, alter and drop schema objects such as tables and indexes).
• Data manipulation: Used to manipulate the data within those schema
objects (DML Inserting, Updating, Deleting the data, and Querying the
Database). A schema is a collection of database objects that can include:
tables, views, indexes and sequences.
The EOB efficiently supports the range of queries and preserving high level
ofsecurity compared to existing methods.
CHAPTER 2
SYSTEM ANALYSIS
CHAPTER 3
MODULE IMPLEMENTATION
3.1 MODULE LIST
In this chapter, modules of the website are described. It includes software
interfaces, hardware interfaces, software requirements, hardware requirements etc.
This project is made under an online project which is works as a website. This
system consists of two modules. They are,
• Farmer Module
• Buyer Module
Farmers can sell their productions through online after the registration. After the
registration the farmers can login to the system by entering login id and password.
CHAPTER 4
SYSTEM SPECIFICATION
Database : MY SQL.
RAM : 4GB.
CHAPTER 5
SYSTEM DESIGN
System Analysis:
The system analysis approach emphasises a closed look on all parts of the system.
The analyst must consider all the system elements, their inputs, outputs, control,
feedback and the environment when the system is being constructed.
System Design:
The goal of system design phase is to produce a model or representation of the
system, which can be used to build the system. Here the emphasis is on translating
the requirements of the system into design specification.
1. Applicable Documents:
The document used in system design is Software Requirement Specification
Document.
2. Functional Decomposition:
The system can be decomposed into functional components as follows.
The Components :-
• Registration component for customers, farmers and workers.
Data Flow diagrams can be used to provide the end users with the physical idea of
where the data they input ultimately has an effect upon the structure of whole system
from order to dispatch to restock how any system is developed can be determined
through data flow diagram. The appropriate register saved in database and maintained
by appropriate authorities.
5.2 ER-DIAGRAM
The Entity-Relationship(ER) model was originally proposed by Peter in 1076
[Chen76] as a way to unify the network and relational database views. Simply stated
the ER model is a conceptual data model that views the real world as entities and
relationships. A basic component of the model is the Entity-Relationship diagram
which is used to visually represent data objects. Since Che wrote his paper the model
has been extended and today it is commonly used for database design for the database
designer, the utility of the ER model.
4.2 ER-Diagram
ER Notation
Each modelling methodology uses its own notations. The original notation used
by Chen is widely used in academic’s texts and journals but rarely seen in either
CASE tools or publications by nonacademics. Today, where are a number of notation
used, among the more common are Bachman, crow’s foot, and ide fix.
Above diagram describes the flow of control of a system. The flow can be sequential,
concurrent or branched showing the overall functions of the system.
A Gantt chart illustrates how the project will run. It communicates with
the client and shows them the expected date of project completion. It helps you assess
how long a project should take, determine the resources needed, and plan the order in
which you'll complete task.
CHAPTER 6
SYSTEM TESTING
Testing is the major quality control measure used during software development.
It is a basic function to detect errors in the software. During the requirement analysis
and design the output of the document that is usually textual and non-executable after
the coding phase the computer programs are available that can be executed for testing
purpose. This implies that testing not only has to uncover errors introduce during the
previous phase. The goal of testing is to uncover requirement, design, coding errors
in the program.
Testing determines whether the system appears to be working according to the
specifications. It is the phase where we try to break the system and we test the system
with real case scenarios at a point.
LEVELS OF TESTING
6.1 UNIT TESTING:
The unit testing of the source code has to be done for every individual unit
of module that was developing part of the system and some errors were found for
every turn and rectified. This form of testing was using to check for the behaviour
signified the working of the system in different environment as an independent
functional unit.
1) Interface errors
2) Performance in data structure
3) Performance errors
4) Initializing and termination errors
selected to select a
country
4 If the state is not State Alert the user SUCCESSFUL
selected to select a
state
5 If PIN Code contains Pin code Alert the user SUCCESSFUL
If contact number
contains other than Alert the user
to enter a valid
E-mail ID and
return to the
same page.
9 If password length is Passwor Alert the user SUCCESSFUL
CHAPTER 7
RESULTS AND APPENDICES
7.1 RESULTS
Thus the website is mainly developed to replace the existing system where the
farmer has to suffer between the manufacturers and the traders. This website will
SNAPSHOTS
HOME PAGE
SIGNUP PAGE
The signup page is used to register for a new user whether farmer or buyerthe
informations about the new user should be enter and they can register their new user
profile in the website.
The digital market page contains the farm product details that uploaded by the
farmer, it contains three categories in the index of the digital market page. The buyer
can find the products according to their needs or simply they can browse to all the
products that available on the website.
PRODUCT PAGE
This product page contains the list of products that available on the website.
The product price and stock details every details available on thispage.
This product upload page consist of the columns and tables to get the informations
about the produc to be uploaded. The category of the productand product name
other descriptions should be entered. The price and image of the product also should
be included with those details when the product is uploaded.
BLOG PAGE
This is the blog page where the buyer reviews are recorded here, the buyercan
write a new blog about their experience or they can just read the reviews of other
buyers. This page is very important tom know about the service and quality of the
products.
The logged out page shows the greetings…like “Thanks for visiting!!!” after a
user logged out from the website the page looks like this.
7.2 APPENDICES
SOURCE CODE
index.php
<?php session_start(); ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>AgroCulture</title>
<meta http-equiv="content-type"
content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link href="bootstrap\css\bootstrap.min.css"
rel="stylesheet"> <script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"><
/script>
<script src="bootstrap\js\bootstrap.min.js"></script>
<!--[if lte IE 8]><script
src="css/ie/html5shiv.js"></script><![endif]--> <link
rel="stylesheet" href="login.css"/> <script
src="js/jquery.min.js"></script> <script
src="js/skel.min.js"></script> <script
src="js/skel-layers.min.js"></script> <script
src="js/init.js"></script> <noscript>
<link rel="stylesheet" href="css/skel.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/style-xlarge.css" />
</noscript>
<link rel="stylesheet" href="indexfooter.css" />
<!--[if lte IE 8]><link rel="stylesheet"
href="css/ie/v8.css" /><![endif]-->
</head>
<?php
require 'menu.php';
?>
</section>
<div class="footer-center">
<div>
<i class="fa fa-map-marker"></i>
<div class="footer-right">
<p class="footer-company-about" style="color:white">
<span style="font-size:20px"><b>About
AgroCulture</b></span>
AgroCulture is e-commerce trading platform
for grains & grocerries...
</p>
<div class="footer-icons">
<a href="#"><i style="margin-left: 0;margin-
top:5px;"class="fa fa-facebook"></i></a>
<a href="#"><i style="margin-left:
0;margin-top:5px" class="fa fa-instagram"></i></a>
<a href="#"><i style="margin-left:
0;margin-top:5px" class="fa fa-youtube"></i></a>
</div>
</div>
</footer>
<div class="container">
<h3>Login</h3>
<form method="post"
action="Login/login.php">
<div class="row uniform 50%">
<div class="7u$">
<input type="text"
name="uname" id="uname" value="" placeholder="UserName" style="width:80%"
required/>
</div>
<div class="7u$">
<div class="container">
<section>
<h3>SignUp</h3>
<form method="post"
action="Login/signUp.php">
<div class="3u
12u$(xsmall)">
<input type="email" name="email"
id="email" value="" placeholder="Email" required/>
</div>
</div>
<div class="row uniform">
<div class="3u 12u$(xsmall)">
<input type="password" name="password"
id="password" value="" placeholder="Password" required/>
</div>
<div class="3u 12u$(xsmall)">
<input type="password"
name="pass" id="pass" value="" placeholder="Retype Password"
required/> </div>
</div>
<div class="row uniform">
<div class="6u
12u$(xsmall)">
</div>
</div>
</form>
</div>
<script>
// Get the modal
var modal = document.getElementById('id01');
</script>
</body>
</html>
menu.php
<?php
if(isset($_SESSION['logged_in']) AND $_SESSION['logged_in'] == 1)
{
$loginProfile = "My Profile: ".
$_SESSION['Username']; $logo = "glyphicon glyphicon-
user"; if($_SESSION['Category']!= 1) {
$link = "Login/profile.php";
}
else {
$link = "profileView.php";
}
}
else
{
$loginProfile = "Login";
$link = "index.php";
$logo = "glyphicon glyphicon-log-in";
}
?>
<!DOCTYPE html>
<header id="header">
<h1><a href="index.php">AgroCulture</a></h1>
<nav id="nav">
<ul>
<li><a href="index.php"><span
class="glyphicon glyphicon-home"></span> Home</a></li>
<li><a href="myCart.php"><span
class="glyphicon glyphicon-shopping-cart"> MyCart</a></li>
<li><a href="<?= $link; ?
>"><span class="<?php echo $logo; ?>"></span><?php echo" ".
$loginProfile; ?></a></li>
<li><a href="market.php"><span
class="glyphicon glyphicon-grain"> Digital-Market</a></li>
<!-- <li><a href="blogView.php"><span
class="glyphicon glyphicon-comment"> BLOG</a></li> --
> </ul>
</nav>
</header>
</body>
</html>
market.php
<?php
session_start();
if(!isset($_SESSION['logged_in']) OR $_SESSION['logged_in'] == 0)
{
$_SESSION['message'] = "You need to first login to access this
page !!!";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>AgroCulture</title>
<meta http-equiv="content-type"
content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link href="bootstrap\css\bootstrap.min.css"
rel="stylesheet"> <script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"><
/script>
<script src="bootstrap\js\bootstrap.min.js"></script>
<!--[if lte IE 8]><script
src="css/ie/html5shiv.js"></script><![endif]--> <link
rel="stylesheet" href="login.css"/>
<link rel="stylesheet" type="text/css" href="indexFooter.css">
<script src="js/jquery.min.js"></script>
<script src="js/skel.min.js"></script>
<script src="js/skel-layers.min.js"></script>
<script src="js/init.js"></script> <noscript>
<link rel="stylesheet" href="css/skel.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/style-xlarge.css" />
</noscript>
<!--[if lte IE 8]><link rel="stylesheet"
href="css/ie/v8.css" /><![endif]-->
</head>
<?php require 'menu.php'; ?>
<body>
<ul class="alt">
<li><a href="#">Lorem ipsum
dolor sit amet.</a></li>
<li><a href="#">Quod adipisci
perferendis et itaque.</a></li>
<li><a href="#">Itaque
eveniet ullam, veritatis reiciendis?</a></li>
<li><a href="#">Accusantium
repellat accusamus a, soluta.</a></li>
</ul>
</section>
<section class="4u 6u$(medium)
12u$(small)">
<h3>Nostrum, repellat!</h3>
<p>Tenetur voluptate
exercitationem eius tempora! Obcaecati suscipit, soluta earum
blanditiis.</p>
<ul class="alt">
<li><a href="#">Lorem ipsum
dolor sit amet.</a></li>
<li><a href="#">Id inventore,
qui necessitatibus sunt.</a></li>
<li><a href="#">Deleniti eum
odit nostrum eveniet.</a></li>
<li><a href="#">Illum
consectetur quibusdam eos corporis.</a></li> </ul>
</section>
<section class="4u$ 12u$(medium)
12u$(small)">
<h3>Contact Us</h3>
<ul class="icons">
<li><a href="#" class="icon rounded fa-
twitter"><span class="label">Twitter</span></a></li>
li><a href="#" class="icon rounded fa-facebook"><span
class="label">Facebook</span></a></li>
<li><a href="#" class="icon rounded fa-pinterest"><span
class="label">Pinterest</span></a></li>
<li><a href="#" class="icon rounded fa-google-plus"><span
</body>
</html>
productMenu.php
<?php
session_start();
require 'db.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>AgroCulture</title>
<meta http-equiv="content-type"
content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link href="bootstrap\css\bootstrap.min.css"
rel="stylesheet"> <script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"><
/script>
<script src="bootstrap\js\bootstrap.min.js"></script>
<!--[if lte IE 8]><script
src="css/ie/html5shiv.js"></script><![endif]--> <link
rel="stylesheet" href="login.css"/> <script
src="js/jquery.min.js"></script> <script
src="js/skel.min.js"></script> <script
src="js/skel-layers.min.js"></script>
<?php
require 'menu.php';
function dataFilter($data)
{
$data = trim($data);
$data = stripslashes($data);
$data = htmlspecialchars($data);
return $data;
}
?>
<?php
if(isset($_GET['n']) AND $_GET['n'] == 1):
?>
<h3>Select Filter</h3>
<form method="GET" action="productMenu.php?">
<input type="text" value="1" name="n"
style="display: none;"/>
<center>
<div class="row">
<div class="col-sm-4"></div>
<div class="col-sm-2">
<div class="select-wrapper"
style="width: auto" >
<select name="type"
id="type" required style="background-color:white;color: black;">
<option
value="all" style="color: black;">List All</option>
<option
value="fruit" style="color: black;">Fruit</option>
<option
value="vegetable" style="color: black;">Vegetable</option>
<option
value="grain" style="color: black;">Grains</option>
</select>
</div>
</div>
<div class="col-sm-2">
<input class="button special"
type="submit" value="Go!" />
</div>
<div class="col-sm-4"></div>
?>
<div class="row">
<?php
while($row = $result->fetch_array()):
$picDestination =
"images/productImages/".
$row['
pimage
']; ?>
<div class="col-md-4">
<section>
<strong><h2 class="title"
style="color:black; "><?php echo $row['product'].'';?></h2></strong>
</section>
</div>
</div>
</section>
</section>
</body>
</html>
CHAPTER 8
CONCLUSION
• Farmers will earn money as per the work they have done and will not
suffer by losses.
• This website is mainly developed to replace the existing system where the
farmer has to suffer between the manufactures and the traders.
• The user only needs basic products like a computer and an internet
connection.
• The agricultural sector is of vital importance for the region to be
developed. It is undergoing a process of transition to a market economy.
• These changes have been accompanied by a decline in agricultural
production for most countries, and have affected the national seed supply.
• So our website will overcome all these kind of problems .
• The main motive for the project was to provide dynamic online e- farming
system to help farmers in every possible way and provide them a stable
platform where they can perform every transaction with ease.
CHAPTER 9
REFERENCES
• Anang, B.T., Sipiläinen, T., Bäckman, S., and Kola, J., 2015. Factors
influencing
• smallholder farmers ’ access to agricultural microcredit in Northern Ghana.
Arrican Journal of Agricultural Research, 10 (24), 2460–2469.
• Harris, F., 2002. MANAGEMENT OF MANURE IN FARMING
SYSTEMS IN SEMI-ARID WEST
• AFRICA. Experimental Agriculture, 38 (2), 131–148.
• ASCH, 2015. Crop pests and diseases: A manual on the most important
pests and diseases of the major food crops grown by smallholder farmers in
Africa. Nairobi, Kenya: Africa Soil Health Consortium.
• Barry, B., Kortatsi, B., Forkuor, G., Gumma, M.K., Namara, R., Rebelo,
L.M., van den Berg, J., and Taube, W., 2010. Shallow Groundwater in the
Atankwidi Catchment of the White Volta Basin: Current Status and Future
Sustainability. Research Report.
• International Water Management Institute, (139), 1–22.
• Bationo, A., Kihara, J., Vanlauwe, B., Waswa, B., and Kimetu, J., 2007. Soil
organic carbon dynamics , functions and management in West African agro-
ecosystems. Agricultural Systems, 94 (308), 13–25.