Final Project Report
Final Project Report
PROJECT REPORT
(Lab on Project)
Submitted in partial fulfillment of the requirements for the award of the degree of
BACHELOR OF COMPUTER TECHNOLOGY
At the Bharathiar University
By
DHARSHINI.S (201CT105) JANANI SRI.M (201CT114)
TAMILSELVAN.R (201CT143)
NOVEMBER -2022
1
DECLARATION
(TAMIL SELVAN.R)
Reg. No.: 201CT143
Place: Coimbatore
Date:
2
CERTIFICATE
This is to certify that the project, entitled “AGRI-FRAM MANAGEMENT SYSTEM PHP”
submitted in partial fulfillment of the requirement for the award of the degree of Bachelor of
Computer Technology at the Bharathiar University is a record of original project work done by
DHARSHINI.S (201CT105) JANANI SRI.M (201CT114) MADHU VARSHINI.S (201CT124)
SANCHITA.M (201CT134) TAMILSELVAN.R (201CT143) during the period (2020-2023) of his/
her/ their study in Department of Commerce - Finance, Dr.N.G.P. Arts and Science College,
Coimbatore-48 under my supervision and guidance, and the project has not formed the basis for the
award of any Degree/ Diploma/ Associateship/ Fellowship or other similar titles to any candidate of
any university.
Place: Coimbatore
Date:
3
ACKNOWLEDGEMENT
This project was the most significant accomplishment in my/ our life and it would not have
been possible without the blessing of God almighty and those who supported and believed in my/ our
caliber.
We record our sincere thanks to Prof. Dr. V. RAJENDRAN, M.Sc., M.Phil., M. Tech., Ph.D.,
D.Sc., Dr. N.G.P. Arts and Science College, Coimbatore, for every help he rendered before and
during the project.
We express our sincere thanks to Dr. D. Maheshwari M. Sc., M. Phil., Ph. D SET Associate
Professor and Head, Department of Computer Technology, Dr. N.G.P. Arts and Science College,
Coimbatore for showing sustained interest and providing help throughout the period of our work.
We would like to extend sincere thanks to my guide Dr. B. Leelavathi MCA., M. Phil., Ph.D.
Assistant Professor, Department of Computer Technology, Dr. N.G.P. Arts and Science College,
Coimbatore. We sincerely thank for her exemplary guidance and encouragement.
We take this opportunity to acknowledge my sincere thanks to all the staff members of the
Department of Commerce - Finance for their constant inspiration, assistance, and resourceful
guidance for the completion of this project successfully.
We express our sincere thanks to our family and friends for their encouragement, love, prayer,
moral support, advice and sacrifice without which we would not have been able to pursue the course
of our studies.
4
TAMILSELVAN.R (201CT143)
ABSTRACT
Farm Management System in PHP is developed using PHP, CSS, Bootstrap, and JavaScript. The
project contains an admin side where we can manage all the agricultural and farming records. The
admin plays an essential role in the management of this system. In this project, the admin has full
access to the system. Agro-Culture is the farmer system where they can plan, monitor, and analyze the
activity of the farmer's production system. It manages farmer operations with one system and
organizes data in one place. It helps smart farmers become even smarter. This creates partnerships
with growers and buyers. It inspires farmers to produce and buyers to consume fresh goods.
The Agro-Culture System will make a better connection between Farmers and Buyers to ensure
quality food. Standardize and increase the efficiency of the agro culture process.
5
TABLE OF CONTENTS
Chapter
Contents Page No
Number
Abstract
1 INTRODUCTION 7
2 SYSTEM SPECIFICATION 8
2.1 Software Specification 8
2.2 Hardware Specification 8
3 SYSTEM ANALYSIS 9
3.1 Existing System 9
3.2 Proposed System 9
4 PROBLEM SPECIFICATION 10
4.1 Problem Definition 10
4.2 Module Description 11
5 INPUT DESIGN 12
5.1 Input Design 13
5.2 Output Design 14
6 CONCLUSION 15
7 BIBLIOGRAPHY 16
APPENDICES 17
A. Sample Coding
B. Sample Input
C. Sample Output
6
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, seeds, 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
behavior. In making his decisions, a farm manager thus integrates data 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 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 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 wholesalers and retailers in buying produce from a larger
number of farmers. Thereby, enabling 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 a virtual calendar, weather forecasting, etc.,
and enables them to hire laborers, which in turn, will help the farm laborers to find small jobs by
having a work profile on the website. As a whole, the ‘Agri farm management system’ provides a
concept of virtual agricultural trade to its users.
7
2. SYSTEM SPECIFICATION
8
3. SYSTEM ANALYSIS
9
PROBLEM SPECIFICATION
In this phase, a logical system is built which fulfills the given requirements. The design phase
of software development deals with transforming the customer’s requirements into a logically
working system. Normally, design is performed in the following two steps:
Primary Design Phase: In this phase, the system is designed at the block level. The blocks are
created on the basis of analysis done in the problem identification phase. Different blocks are
created for different functions; emphasis is put on minimizing the information flow between
blocks. Thus, all activities which require more interaction are kept in one block.
Secondary Design Phase: In the second phase the detailed design of every block is performed.
The general tasks involved in the design process
It is related to accessing the detailed information of a user and a candidate. So, I have initiated this
project with simple requirements regarding the user and candidate information. Some of the problems
for designing and developing this project are discussed below:
Feasibility Analysis
A feasibility analysis is conducted once the problem is clearly understood. The purpose of the study is
to determine whether the problem is worth solving. It is an analysis and evaluation of a proposed
project to determine if it is technically feasible, feasible with the estimated cost, and profitable.
10
Economic Analysis
The economic feasibility of a system is used to evaluate the benefits achieved and the costs incurred
for the project or system. This is done by a process called cost-benefit analysis. It provides tangible
and intangible benefits like a reduction in cost, more flexibility, faster activities, proper database
management, etc.The application is a medium-scale application and is economically feasible for us to
accomplish it. This involves cost-benefit analysis. Thus, there is no problem with high cost and cost
benefits analysis.
Software Analysis
i) Consumes a long-time for the development of web applications.
ii)Research and analysis cost to determine the actual need in the real world.
iii)Implementation of application in the server and cost associated with the space in the server.
Data Conversion
Another cost associated while implementing this web application is a data conversion. The previously
used software database must be stored and backed up such that there will be no loss in implementing a
new web application which consumes time as well as money.
Operational Feasibility
The system is operationally feasible as the system can be operated by normal users with basic
computer skills without any additional training. We have developed this system with the willingness
and ability to create, manage and operate the system. It is easy for the end users to operate it.
11
IMPLEMENTATION
FRONT END
PHP, which stands for “PHP: Hypertext Preprocessor” 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 lean. The main goal of the language is to allow web
developers to write dynamically generated web pages quickly, but you can do much more with PHP.
5.2 Technology used for Implementation (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 the 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.
BACKEND
SQL: Structured Query Language (SQL) is the language used to manipulate relational databases.
SQL is tied very closely to the relational model. • In the relational model, data is stored in structures
called relations or tables. SQL statements are issued for: • Data definition: Defining tables and
structures in the database (DDL used to create, alter and drop schema objects such as tables and
12
indexes). • Data manipulation: Used to manipulate the data within those schema objects (DML
Inserting, Updating, Deleting the data, and Querying the Database).
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 is usually textual and non-executable after the coding phase the computer programs are
available that can be executed for testing purposes. This implies that testing not only has to uncover
errors introduced during the previous phase. The goal of testing is to uncover requirements, design,
and 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:
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 used to check for the behavior that signified the working of the system in a
different environment as an independent functional unit.
Integration Testing: From the individual parts to the cohesion of each part to make the system, there
is a 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 involves finding errors resulting from
unanticipated interactions between the subsystem and system components. It is also concerned with
validating that the system meets its functional and non-functional requirements.
System Testing: The requirement specification document for the entire system is to be tested to see
whether it meets the requirement.
13
6. 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 our best. It is focused on studying the existing system of
agriculture and making sure that the people are getting quality fresh goods. Advanced techniques
like sensor technology can be used in the future for measuring the quality of the product.
14
7. BIBLIOGRAPHY
Books Used:
i) Javascript By McGrawhill Publication
ii) Web design with HTML and CSS By Jon Ducket
iii) Learning web design By Jennifer Niederest Robbins
Website References:
● W3school https://w3schools.com/
● StackOverflow https://stackoverflow.com/
● GeekforGeek https://www.geeksforgeeks.org/
15
APPENDICES
A) uses cases diagram:
Diagram: -1
B) sequence diagram
Diagram: -2
16
SQL CODE:(sample code)
-- phpMyAdmin SQL Dump
-- version 4.6.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
--
-- Database: `agroculture`
--
-- --------------------------------------------------------
17
--
--
--
--
-- --------------------------------------------------------
--
18
-- Table structure for table `blogfeedback`
--
--
--
-- --------------------------------------------------------
--
--
19
`bid` int(100) NOT NULL,
-- --------------------------------------------------------
--
--
20
`factive` int(255) NOT NULL DEFAULT '0',
--
--
-- --------------------------------------------------------
--
--
21
`pcat` varchar(255) NOT NULL,
--
--
-- --------------------------------------------------------
--
--
22
CREATE TABLE `likedata` (
--
--
(19, 3);
-- --------------------------------------------------------
--
--
--
--
23
INSERT INTO `mycart` (`bid`, `pid`) VALUES
(3, 27),
(3, 30);
-- --------------------------------------------------------
--
--
-- --------------------------------------------------------
--
--
24
`bid` int(10) NOT NULL,
--
--
--
--
--
--
25
ADD PRIMARY KEY (`blogId`);
--
--
--
--
--
--
--
--
26
ADD KEY `blogId` (`blogId`),
--
--
--
--
--
--
--
--
--
27
--
--
--
--
--
--
--
--
--
--
28
--
29
SAMPLE INPUT
Backend
SAMPLE OUTPUT
FRONT END
30
Member login page (fig:-2)
31
32