Professional Documents
Culture Documents
Agri Farm Management System
Agri Farm Management System
Chapter 1
INTRODUCTION
AGRI FARM MANAGEMENT SYSTEM, making and implementing of the
decision involved in organizing and operating a farm for maximum production and profit. Farm
management draws on agricultural economics for information on prices, markets, agricultural
policy, and economic institutions such as leasing and credit. It also draws on plant and animal
sciences for information on soils, seed, and fertilizer, on control of weeds, insects, and disease,
and on rations and breeding; on agricultural engineering for information on farm buildings,
machinery, irrigation, crop drying, drainage, and erosion control systems; and on psychology
and sociology for information on human behaviour. In making his decisions, a farm manager
thus integrates information from the biological, physical, and social sciences.
Because farms differ widely, the significant concern in farm management is the specific
individual farm; the plan most satisfactory for one farm may be most unsatisfactory for another.
Farm management problems range from those of the small, near-subsistence and family-
operated farms to those of large-scale commercial farms where trained managers use the latest
technological advances, and from farms administered by single proprietors to farms managed
by the state.
1.1 Objective
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 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.
Chapter 2
EXISTING AND PROPOSED SYSTEM
2.1 EXISTING SYSTEM
In existing system farmer can sales product in agricultural produce market
committee(APMC).and farmer can take detail about agri products in APMCs. And buyer will
buy the products in different markets.
Chapter 3
SOFTWARE AND HARDWARE SPECIFICATION
Requirement analysis for web application encompasses three major tasks:
formulation, requirements gathering and analysis modelling. During formulation, the basic
motivation and goals for the web application are identified, and the categories of users are
defined. In the requirements gathering phase, the content and functional requirements are listed,
and interaction scenarios written from end-user’s point-of-view are developed. This intent is to
establish a basic understanding of why the web application is built, who will use it, and what
problems it will solve for its users.
Database : MY SQL.
RAM : 4GB.
Chapter 4
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.
Login component for customers, farmers, workers and administrators.
Produce selling component for farmers.
Agri farm Product selling component for administrator.
Produce purchase request component for customers.
Agri farm Product purchase component for farmers.
Produce purchase approval component for farmers.
Produce purchase report component for customer and administrator.
Category, variety and item typesetting components for administrator.
Shaping
management
customer Farmer
management management
Agri farm
management
system
Category worker
management management
Login
management
Notations in DFD:
Symbol Description
4.3 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.
Fig4.3: ER-diagram
2.purchase ER-diagram:
A
receives
purchase_request_id
request_date
purchase_request
customer_id
quantity
requires
purchase_order_id
purchase_order_time
purchase_order
purchase_order_date
generates
purchase_order_bill-id
purchase_order_bill purchase_order_id
paid_amt
Fig4.3: ER-diagram(A)
3.customer ER-diagram:
Fig4.3: ER-diagram(B)
4.workers ER-diagram:
Fig4.3:ER-diagram(C)
ER Notation
There is no standard for representing data objects in ER diagrams. 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 non-
academics. Today, where are a number of notation used, among the more common are
Bachman, crow’s foot, and ide fix.
All notational styles represent entities as rectangular boxes and relationships as lines
connecting boxes. Each style uses a special set of symbols to represent the cardinality of a
connection. The notation used in the document is from Martin. The symbols used for the basic
ER constructs are: Entities are represented by some labelled rectangles. The label is the name
of the entity. Entity names should be singular nouns.
Chapter 5
IMPLEMENTATION
5.1 FRONT END
PHP, which stands for “PHP: Hypertext Pre-processor” is a widely-used Open Source
general purpose scripting language that is especially suited for Web development and can be
embedded into HTML. Its syntax draws upon C, Java, and Perl, and is very to lean. The main
goal of language is to allow web developers to write dynamically generated web pages quickly,
but you can do much more with PHP.
PHP:
PHP is a powerful language and the interpreter, whether included in a web server as a
module or executed as a separate CGI binary, is able to access files, execute commands and
open network connections on the server. These properties make anything run on a web server
insecure by default. PHP is designed specifically to be a more secure language for writing CGI
programs than Perl or C, and with correct selection of compile-time and runtime configuration
options, and proper coding practices, it can give you exactly the combination of freedom and
security you need. As there are many different ways of utilizing PHP, there are many
configuration options controlling its behaviour. A large selection of options guarantees you can
use PHP for a lot of purpose, but it also means there are combinations of these options and
server configurations that result in an insecure setup. The configuration flexibility of PHP is
equally rivalled by the code flexibility. PHP can be used to build complete server applications,
with all the power of a shell user, or it can be used for simple server/side includes with little
risk in a tightly controlled environment. How you build that environment, and how secure it
is, is largely up to the PHP developer.
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 DBMSs include Oracle, DB2, Microsoft
Access, Microsoft SQL Server, Firebird, PostgreSQL, MySQL, SQLite, FileMaker and Sybase
Adaptive Server Enterprise. DBMSs are typically used by Database administrators in the
creation of Database systems. Typical examples of DBMS use include accounting, human
resources and customer support systems. Originally found only in large companies with the
computer hardware needed to support large data sets, DBMSs have more recently emerged as
a fairly standard part of any company back office.
A DBMS is a complex set of software programs that controls the organization, storage,
management, and retrieval of data in a database.
SQL:
Structured Query Language (SQL) is the language used to manipulate relational databases.
SQL is tied very closely with the relational model.
• 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.
Chapter 6
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.
Levels of 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.
From the individual parts to the cohesion of each part to make the system, there is need
to test the working between the assembled modules of the system. The modules are integrated
to make up the entire system. The testing process is concerned with finding errors that result
from unanticipated interaction between the sub-system and system component. It is also
concerned with validating the system meets its functional and non-functional requirement.
4.
If state is not Alert the user to select
state SUCCESSFUL
selected. a state.
If PIN Code
5. contains other Alert the user to enter
Pin code SUCCESSFUL
than numeric only numeric values.
values.
If contact number
6. contains other Alert the user to enter
cntctnum SUCCESSFUL
than numeric only numeric values.
values.
If mobile number
7. contains other Alert the user to enter
mblnum SUCCESSFUL
than numeric only numeric values.
values.
Email id
8. Alert the user to enter a
If E-mail ID is
valid E-mail ID and SUCCESSFUL
invalid.
return to the same page.
Customer login:
Serial Condition
Test Data Expected Output Remarks
No. To be Tested
Alert the user to enter all
If any field in the Value of
1. the fields and then SUCCESSFUL
form is empty. form fields.
proceed.
Alert user that E-mail ID
2. If the E-mail ID
Email id, and password are not
and Password SUCCESSFUL
password matching and stay in
does not match.
the same page.
4.
If state is not Alert the user to select
state SUCCESSFUL
selected. a state.
than numeric
values.
6. Login id Alert the user to enter a
If E-mail ID is
valid E-mail ID and SUCCESSFUL
invalid.
return to the same page.
If password Alert the user to enter
length is not Password a password of length
7. SUCCESSFUL
between 8 to 16 between 8 to 16
characters. characters.
If confirm
cpassword, Alert the user to enter
8. password and
password matching password and SUCCESSFUL
password does
confirm password.
not matc h.
If the expected
Alert the user to select a
salary contains
9. expected salary expected salary and SUCCESSFUL
other than
return to the same page.
numeric values.
Worker Login:
Serial Condition
Test Data Expected Output Remarks
No. To be Tested
Alert the user to enter all
If any field in the Value of
1. the fields and then SUCCESSFUL
form is empty. form fields.
proceed.
Alert user that E-mail ID
2. If the E-mail ID
Email id, and password are not
and Password SUCCESSFUL
password matching and stay in the
does not match.
same page.
4.
If state is not Alert the user to select
State SUCCESSFUL
selected. a state.
Email id
Alert the user to enter a
9. If E-mail ID is
valid E-mail ID and SUCCESSFUL
invalid.
return to the same page.
If bank name
Alert the user to enter
contains values
10. Bank name only characters for SUCCESSFUL
other than
Bank name.
characters.
If bank branch
Alert the user to enter
name contains
11. branch only characters for bank SUCCESSFUL
values other than
branch name.
characters.
If bank account
Alert the user to enter
number contains Bank ac
12. only numeric values for SUCCESSFUL
values other than number
bank account number.
numbers.
Seller Login:
Serial Condition
Test Data Expected Output Remarks
No. To be Tested
Alert the user to enter all
If any field in the Value of
1. the fields and then SUCCESSFUL
form is empty. form fields.
proceed.
Alert user that E-mail ID
2. If the E-mail ID
Email id, and password are not
and Password SUCCESSFUL
password matching and stay in the
does not match.
same page.
If field in the form Value of form Alert the user to enter the
1. SUCCESSFUL
is empty. fields. fields and then proceed.
Alert the user to select a
If category is not
2. category category. SUCCESSFUL
selected.
Chapter 7
SNAPSHOTS
This section describes the screenshot of the “AGRO FARM MANAGEMENT SYSTEM”.
HOME PAGE
This page displays information about “agri farm management system”.
It contains different login and signup options.
BLOGS PAGE
This page displays blogs based on agriculture.
NEWS
This Page displays latest news on agriculture.
FARMERS KIT
This page displays online shop for farming fertilizers, tools and equipment’s.
FARMERS MARKET
This page displays online shop for farm produces uploaded by farmers.
It also contains location search to display farm produce of farmers of the given location.
HIRE PAGE
This page displays farm labourers who have registered on the website in search of jobs.
It also contains location search to display farm labourers of the given location.
CONTACT US PAGE
This page displays contact information of ‘agri farm’.
It contains ‘Send Us A Message’ form for sending feedbacks and contacting the
administrator.
CONCLUSION
The project “agri farm management system” is a man-made project and, therefore,
there may be mistakes and limitations. The ideas put up may be different. The terms and names
may be different. However, our sincere effort was to give the best. The advanced techniques
like sensor technology can be used in the future for measuring the quality of the product.
REFERENCES
www.w3schools.com
www.tutorialspoint.com
www.stackoverflow.com
www.highcharts.com
Web Database Applications with PHP and MySQL By Hugh E. Williams, David Lane
An integrated approach to Software Engineering by Pankaj Jalote