Banke Bageshwori College: Tribhuvan University Institute of Science and Technology

You might also like

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

BANKE BAGESHWORI COLLEGE

Tribhuvan University

Institute of Science and Technology

A PROJECT REPORT
ON

LOCATION BASED ONLINE AGRICULTURE MARKET


SYSTEM

Submitted to:
Department of Computer Science and Information Technology
Banke Bageshwori College

Nepalgunj, Banke, Nepal


In partial fulfillment of the requirements for the Bachelor’s Degree in Science and Computer
Science and Information Technology

Under the supervision of


Mr. Khistiz Bhatt

Submitted by:

Balmiki Bhandari(11958/073)
Lautan Tharu (11966/073)
Shib Raj Nakal (11974/073)
Sushmita Shrestha  (11981/073)
15 April, 2021
Banke Bageshwori College

Tribhuvan University

Date: 17 April, 2021

Supervisor’s Recommendation

I hereby recommend that this project report be prepared under my supervision by Ms.
Balmiki Bhandari, Mr. Lautan Tharu, Mr.Shiv Raj Nakal And Ms. Sushmita Shrestha
Entitled “Location Based Online Agriculture Market System” is satisfactory in the partial
fulfillment of the requirement for the degree of Bachelor of Science in Computer Science
and Information Technology and be processed for the evaluation.

ii
……………………
Mr.Khistiz Bhatt

Project Supervisor

Banke Bageshwori College

Nepalgunj,Bank

Banke Bageshwori College


Tribhuvan University

Letter of Approval
This is to certify that the project was prepared by ………………………………………
Ms. Balmiki Bhandari, Mr. Lautan Tharu, Mr.Birendra Singh Saud
Mr.Shiv Raj Nakal And Ms. Sushmita Shrestha
Campus Chief
Entitled “Location Based Online Agriculture
Banke Bageshwori College
iii
Nepalgunj,Banke
Market System” in partial fulfillment of requirements for the degree of B.Sc. in Computer
Science and Information technology has been well studied. In our opinion it is satisfactory in
the scope and quality as a project for the required degree.

………………………………….

Mr.Khistiz Bhatt

Project Supervisior

Banke Bageshwori College

Nepalgunj ,Banke

…………………………………… …………………………………..

External Examiner Internal Examiner

Mr.Narayan Dhamala Mr.Ashok Chand

Mechi Multiple Campus Banke Bageshwori College

Bhadrapur, Jhapa Nepalgunj ,Banke

Acknowledgement
It is a great pleasure to have the opportunity to extend our heartfelt gratitude to everyone who
helped us throughout the course of the project. We are profoundly grateful to our supervisor
Mr. Kshitiz Bhatt, for his expert guidance, continuous encouragement and ever willingness
to spare time from his otherwise busy schedule for the project’s progress reviews. His
continuous inspiration has made us complete this project and achieve its target.

We would also like to express our deepest appreciation to Mr. Birendra Singh Saud, Chief
of Banke Bageshwori College, Department of Computer Science and Information
Technology, for his constant motivation, support and for providing us with a suitable working
environment.

iv
At last our special thanks go to all staff members of B.Sc. CSIT department who directly and
indirectly extended their hands in making this project a success. 

Abstract
The main objective of agriculture marketing system is to support marketing decision making
of the target users, especially farmers. Agriculture marketing system provides a transparent
open and trustworthy space for small holder farmers and buyers to negotiate fair prices deals
in the nearby location .Agriculture marketing system involve the planning, organizing,
directing and handling of agricultural produce in such a way as to satisfy farmers,
intermediaries and consumers. It helps the farmer to provide the customers most demand
products with the help of this project, it shows the customer the most repeated or demanded
products so that this project helps in recommendation for which products they must grow. 

Keywords:Africulture
                                 

v
Table of contents
  Chapter1:Introduction…………………………………………………....…………………..1
1.1Introduction……..………………………………………………………………………….1
1.2Problem Definition……………..………………………………………………………..1
1.2.1Solution………………………………………………………………………………….1
1.3 Objective………………………………………………………………………………..2
1.4Scope and Limitations…………….…………………………………………………....2
1.4.1 Scope…………………………………………………………………………………….2
1.4.2
Limitations……………………………………………………………………………….3

vi
1.5 Report Organization……………………………………………………………………...4
Chapter2: Requirement Analysis and Feasibility Analysis……………………………....5
2.1 Requirement Identification……………………………………………………………....5
2.1.1 Literature Review……………………………………………………………………..…5
2.2 Requirement Analysis………………………………………………………...…………5
2.2.1 Functional Requirements……………………………………………………………..5-6
2.2.2 Non-Functional Requirements…………………………………………………………..6
2.2.3 Use-case Diagram……………………………………………………….…...……7-8
2.3. Feasibility Analysis……………………………………………….…..……...…………9
2.3.1 Technical Feasibility………………………………………..……………..………….9
2.3.2. Operational Feasibility………………………………………………………………….9
2.3.3. Economic Feasibility……………………………………………………………………9
Chapter 3: System Design……………………………………………………………………10
3.1. Module…………………………………………………………..………………………10
3.1.1. Login Module………………………………………….………………………………10
3.1.2. Home Panel Module…………………………………………………………………..11
3.2. Database Design………………………………………………………..………………..11
3.2.1 ER Diagram……………………………………………………………..…………11-13
3.2.2 Database Schema…………………………………………...…………………..13-15
3.3 User Interface Design……………………………………….………………………15
3.3.1 User Interface Representation……………………………...……………………15-16
3.4. Process Modeling……………………………………………………………………….16
3.4.1. Flowchart of the System………………………………………………………….16-19
3.4.2. DFD……………………………………………………………………………..20-21
Chapter 4: Implementation and Testing……………………………………………………22
4.1 Implementation …………………………………………………………………..22-24
4.2 Tools Used ……………………………………………………………………...24
4.2.1 XAMPP Version: …………………………………………………………………..24
4.2.2 Browser ………………………...………………………………………………..……25

vii
4.3 Technology…………….……………………………………………………………..…25
4.3.1 PHP…………………...………………………………………………………….……25
4.3.2 MYSQL Database ………………………………………………………………..25
4.3.3 JavaScript……………..………………………………………………………………25
4.3.4 CSS…………………….……………………………………………………………...25
4.3.5 AJAX…………………..……………………………………………………………..26
4.4 Algorithm Used……………...………………………………………………………….26
4.4.2 Using Bubble Sort …………………………………………..……………………..26
4.5 Testing……………………………………………………….………………………26-27
4.5.1 Unit Testing……………………………..…………………………………………27-31
4.5.2 Integration Testing……...……………..……………………………………………….31
Chapter 5: Conclusion and Recommendation……………………………………………….32
5.1. Conclusion…………...………………………………………………………………….32
5.2 Recommendation or Future Scope…………………………………………………….…32
References…………………………………………………...……………………………33
Appendix I………………………………………………………………………………..34-39

List of Figures

Fig 2. 1 Use case Diagram

Fig 2. 2 Gantt chart for the development of Online Agriculture Marketing System

Fig 3. 1 System design of Online Agriculture Marketing  System

viii
Fig 3. 2 ER-Diagram

Fig 3. 3 Database Schema of Tables

Fig 3. 4 Flow Chart for Online Agriculture Marketing  System

Fig 3. 5 Level 0 DFD (Context Diagram)

Fig 3. 6 Level 1 DFD 19

Fig 4. 1 Phases of waterfall model

ix
List of Tables

Table 4. 1 Test Case for  Admin panel

Table 4. 2 Test Case for User Registration

Table 4. 3 Test Case for Admin login

Table 4. 4 Test Case for Seller login

Table 4. 5 Test case for Buyer info entry

x
List of Abbreviations
 AJAX Asynchronous JavaScript & XML

 DFD Data Flow Diagram

 DSS Decision Support System

 ER Entity Relationship

 PHP Hypertext Preprocessor

 SQL Structured Query Language

 TC Test Case

 TSP Travelling Salesman Problem

 UI User Interface

 XAMPP Cross-Platform, Apache, MySQL, PHP and Perl


 

xi
xii
Chapter 1: Introduction
1.1 Introduction

The term agricultural marketing is composed of two words- agriculture and marketing.
Agriculture generally means growing and/or raising crops and livestock while marketing
encompasses a series of activities involved in moving the goods from the point of production
to the point of consumption. Many scholars have defined agricultural marketing and
incorporated essential elements of time, place, form and passion utility. The objective  of 
this  study  was  to  explore  the  agricultural market information services. The main objective
is to develop an agricultural Marketing Information System for Kingdoms that will serve the
information needs for all the stakeholders of the agricultural sector.

The agricultural produce that we consume daily reach to us after a long journey down the
market system from its origin. The efficiency of this system has a direct impact on our
everyday lives. The agricultural market system refers to the system through which
agricultural products reach our tables, from their origins spread all over parts of the country.
Agricultural marketing is a mechanism through which these goods reach different places
depending on marketplaces. Agricultural marketing is a process that involves assembling,
storage, processing, transportation, packaging, grading and distribution of different
agricultural commodities across the country.

1.2 Problem Definition

Nepal is an agricultural country having 66 percent people directly engaged in farming and
still here is importing agricultural products and livestock around 16 percent of total imports
even though vegetables and fruits are decayed that produced by Nepal Farmer due to lack of
agriculture market.

There is no computerized system for the farmers to sell their products in Nepal. Nowadays,
the farmer goes to the nearest market and sells their product to a particular agent. The agent

1
asks the farmer to visit the market after a while to collect the cash earned out of the sold
product. Agent sells the product to another agent or a dealer at the high cost of that market.
All Agent tries to cut his commission out of that. There is no other way to deal and the exact
amount at which their product was sold There is no transparency and no facility is present for
the farmers to know the product rates at different markets where they can sell their products
for achieving high profits. In spite of all the opportunities knocking the doors the farmers are
not able to benefit out of those.

 Some of problems are below:

 Lack of an agricultural market.

 Customers are not buying agric products directly from the farmers and they are
paying high
costs.                                                                                                                  

 Farmers have not a conventional way what products they must produce or grows
according to demand

 Lack of technical knowledge.

 Lack of buy & sale through an online system.

1.2.1 Solution  

Our Online Agriculture Marketing System can overcome the problems mentioned above as:

 Online Marketing System can provide the easily and quickly agri product in our
country all the marketplaces.

 The farmer easily sells their product with the help of this project.

2
 After knowing the location, customers will be able to know about the availability
of the required product. 

 Customers are easily able to find out the low or high cost product and they order
the products which they want quickly and easily.

1.3 Objective
The objectives  of  these projects are as follows:. 
⦁ To buy and sell Agriculture products at a better price locally or where sellers get maximum
price.
⦁ To give feedback farmers produce mostly demanded products by the customers.

1.4 Scope and Limitations


1.4.1 Scope
The research is going to focus on a farmer’s point of view, rather than on an agricultural
market point of view. Indeed, there is a lack of research in this area, and the researcher does
not want to speak about big alimentary distributors, but about the first level of the agricultural
market. Often, consumers see the big food brands they are consuming, and do not think about
farmers. But these big brands are strong and use marketing in every step of their promotional
process. The researcher wants to know how farmers, who are producers of raw products, are
dealing with marketing. Because agriculture is a wide area, and there is a lot of different
farmer and producer, the researcher is going to speak about several different types of
production, but with a focus on milk, meat and vegetable producers. The researcher is going
to use a lot of academic resources about marketing improvement in business and its
possibilities. Professionals of agriculture will be contacted, and consumers will be asked to
provide their opinion. 

3
1.4.2 Limitations

Each system has some limitations. This system has following types of limitations that this
system could not cover:

 Requires internet connection.

 Requires technical knowledge to use this site.

 This site does not guarantee to buy if Seller does not respond.

1.5 Report Organization

This report is organized into 5 chapters.

 In the 1 chapter, the project is introduced in detail along with the problem statement, its
st

objectives and scope.

 The 2 chapter contains the functional and non-functional requirements of the project.
nd

Analysis and evaluation of the Project is done by feasibility analysis. Also, data modeling and
process modeling of the project are done to analyze the data and working mechanism of the
system in detail. 

The 3rd chapter looks into detail about the system design of the project that includes interface
design and process design among others. 

The methods and tools used to implement the project and all testing for this system are
clearly explained in the 4 chapter. th

Finally, the 5 chapter contains Conclusion based on the project.


th

4
5
Chapter 2: Requirement Analysis and Feasibility Analysis

2.1 Requirement Identification


 There are various techniques available for requirement collection. These are studying
existing systems, observation techniques, interviews and surveys. The technique for
requirement collection used in this project is studying and analyzing the existing
system. Most of the requirements that are needed to be developed and this project is
collected through the studying and existing and its related document.

2.1.1 Literature Review


Through this chapter the researcher is going to discuss academic, secondary information
enabling him to obtain comprehension of the research problem and context. The literature
review will provide the basis of the research. It will provide an explanation and
understanding of the key points, essential to the
research.                                                            

Dr. Subhi Mohammed  Ismail  et. al.  in their  book mentioned details about the concept and
importance of agricultural marketing, types of agriculture markets, working of agriculture
markets, pricing mechanisms, grading methods, storage,marketing margins etc. of Saudi
Arabia [5].

Syed Khizer (May 2017) has presented a framework and model for  the development  of
AMS.The suggested  model is  used here in the development of the AMS for the kingdom
[7].

2.2 Requirement Analysis


Requirement analysis is the process of precisely identifying, defining, and documenting the
various requirements that are related to a particular business objective. Requirements
gathering help in clearly understanding the needs of the customer, defining the scope of the

6
project, and assessing the timescales and resources required to complete it. There are two
types of requirement which are as follows:

2.2.1 Functional Requirements


This requirement determines what the system should do. In order to make the application
functional, we require the following:

a) Online Access:-
 Since our system is soundly web-based application, there should be access to the internet.

b) Admin/User Registration:-
After having access to our system with the access of the internet, the admin and users can be
able to register themselves. The admin has major authority for the full access of the system.
And users should be approved by the admin to be registered. And later the user is provided
with the username and password.

c) Home Activity:-  Given that the user is logged in to this application, then the first page
that is shown should be the home activity. The admin gets authority to all activities like
adding information about products  can depict the notices like about the nearest location of
product etc. And also the users get references to other activities like search products, search
nearest locations and view the notices etc.

d) Edit and View product and product category details:- The admin should be able to edit
about the product  and product categories  and users should be able to view.

e) User Profile:-The user should be able to view their own profile, modify their details and
change their password.

2.2.2 Non-Functional Requirements

This requirement determines what the system should do. The non-functional requirements of
this system are as follows:

 Performance

7
The performance requirement provides detailed specification of the user interaction with our
system and measurements placed on the application performance. The performance will be
viable to the users.

Response time will not be longer if the user has a proper internet connection and for the fault
tolerance, if the system loses internet connection or the systems get some input or failure
errors, the user will be informed.

 Maintainability

The system will be easy to extend. The code should be written in a way that it favors
implementation of new functions. New features or modules can be added or deleted if
needed. In addition to this, a test environment will be built for the application to allow testing
of the different functions.

 Look and Feel

The user interface will be light and easy to use so that any Luddite users can also make use of
it. The attractive color will be used and bright color will be discarded. If a user does
something wrong, systems will show the relevant messages through the dialogue box.

 Security

Secure connection between user and system will be implemented. Only authenticated users
are allowed to view notices and photo galleries. No two or more users with the same email
and same username will be created.

2.2.3 Use-case Diagram


The use-case diagram for the Online Agriculture Marketing System depicting the interactions
among the elements of the system is shown below:

8
Fig 2. 1 Use case Diagram

9
2.3. Feasibility Analysis

A feasibility study is an assessment of the practicality of a proposed project or system. It is a


test of a system according to its work ability, impact on the organization, ability to meet user
needs, and effective use of resources. The feasibility study of this application had been
carried out which are as follows:

2.3.1 Technical Feasibility 

This proposed system is technically feasible. The software and hardware requirements for the
development of this application are not many more and already available as free as open
source. All technical aspects that are to be used in this system are easily available. The
software like XAMPP server, PHP and JavaScript high level programming language are to be
used to complete this system.

2.3.2. Operational Feasibility

Operational feasibility is the measure of how well a system solves the problems, and takes
advantage of the opportunities identified during scope definition and how it satisfies the
requirements identified in the requirements analysis phases of system development. Our
system intends to solve the problem faced by the users that are mentioned as problem
statements. These activities are included in operational feasibility of the system.

2.3.3. Economic Feasibility

Economic feasibility is the analysis of a project’s costs and revenues in an effort to determine
whether or not it is logical and possible to complete. This application is economically feasible
because our application is made using software that is available on the Internet and can be
downloaded free of cost. 
 

10
Chapter 3: System Design
System design is the process of defining the architecture, components, modules, interfaces
and data for a system to satisfy specified requirements. Design of the system brings down the
knowledge of requirements and analysis to design the software product. Generally, this topic
deals with the module, database design, user interface design and the program design. For the
designing of the application, various diagrams like use case diagram, schema diagram, ER
diagram, DFD etc. have been used.

11
3.1. Module

A module is a software component or part of a program that contains one or more routines.
One or more independently developed modules make up a program. The application is
divided into four modules:

3.1.1. Login Module

The first module in this system is the login. In the login process, there are two sorts of users
to be selected i.e. Admin and general user(visitor of the website).The general user must input
his username and password if he/she has already got an account, else the user should sign up
which is approved by admin filling form with name, address, contact, email, username,
password and so on. Thus the Admin can be able to give access to the users, display notices
etc. and the user can have access to see the notices on dashboard and have access to view the
whole part of the website. Furthermore, users can reset their password too.

3.1.2. Home Panel Module

The second module in this application is the accessibility of the main features of the
application after login. The features in this module include search bar, view notices, find
location, show list of product categories available etc. 

3.2. Database Design

Database design is the process of producing a detailed data model of a database. This
database model contains all the needed logical and physical design choices and physical
storage parameters needed to generate a design in a data definition language, which can then
be used to create a database. For the database design of the application, ER diagram, schema
diagram, and the format of data on the online database has been shown which are as follows: 

3.2.1 ER Diagram
An Entity Relationship (ER) Diagram is a type of flowchart that illustrates how “entities”
such as people, objects or concepts relate to each other within a system. ER Diagrams are
most often used to design or debug relational databases in the fields of software engineering,
business information systems, education and research. Also known as ERDs or ER Models,
the use of defined sets of symbols such as rectangles, diamonds, ovals and connecting lines to

12
depict the interconnectedness of entities, relationships and their attributes. They mirror
grammatical structure, with entities as nouns and relationships as verbs.

Fig 3. 2 ER-Diagram

13
The above ER diagram shows the relationship between different entities of our system like
buyer, seller, admin and product. Entities have been represented by the rectangle, attributes of
an entity have been represented by the oval and the relationship between the entities has been
represented by the diamond shape. The lines with arrowhead represent that there is only one
instance of an entity involved in the relationship and the arrowless lines represent that there is
one or more instances of an entity. The underline word inside the oval shape represents the
primary key. In the above diagram, the primary keys are email id , admin id, seller id etc.

3.2.2 Database Schema

A database schema is the skeleton structure that represents the logical view of the entire
database and defines how the data is organized and how the relations among them are
associated. It formulates all the constraints that are to be applied on the data and defines its
entities and the relationship among them. It contains a descriptive detail of the database,
which can be depicted by means of schema diagrams. The database schemas of the
application are follows:

14
Fig 3. 3 Database Schema of Tables

15
In the above schema diagram, there are 13 tables. They have their own primary key and
attributes. The connecting line shows the relationship between the tables and foreign keys are
used to link tables together. The organization table is the main database table. When the user
first enters into the system, he or she will have to register themselves to view and get the
service of the system. When the user registers, all the details are saved in the organization
table which has the 20 columns. In this organization can be register two type of users that are
seller and buyer. The admin view the organization’s information. After the complete the
registration the seller login the account then the seller upload and manage the products. The
customer or buyer can see product ,as well as add to cart and then order.

3.3 User Interface Design

User interface design is the process of designing user interfaces for computing devices and
hardware so that they’re easy for people to use. It’s an interdisciplinary field that involves
graphic designers, artists, programmers, psychologists and even anthropologists.

3.3.1 User Interface Representation

In order to make user interfaces in our system, many new groups and child views are used.
The view groups and child views that will be used in this application are as follows:

 Relative Layout

A relative layout refers to a layout that defines web page width using some relative unit of
measurement. In our system, the content in the page will resize according to the size of
browser window users access it on.

 Linear Layout

Linear Layout is a View Group that arranges its collection of UI components or containers in
a horizontal or vertical row. In our application, it is implemented to have the layout_width,
layout height, and orientation attributes and to indicate how control will be aligned on the
screen. 

 List View

16
List view is a view group that displays a list of scrollable items. The list items are manually
inserted in the list and using Bootstrap to get action on clicking on the list items.

 Scroll View

Scroll view is a view that is used in the home content panel, list, in the form which shows
more areas that cannot be covered in a particular area. Scroll view is used in our system to
make easier scrolling. Because our site could benefit from the advantages of long scrolling
but doesn't want to convert entirely from a multi-page structure.  

 Image View

Image view is used to display image resources in the pages of our system.

 Text View

Text view is a user interface element (view) that displays text to the user. Text view is used in
our system to provide user-editable text, see Edit Text etc. 

 Buttons

A user interface element (view) the user can top or click to perform an action. Users can also
make selection among options just like radio buttons and check buttons.

 Popup Menu View

Popup menu view is a menu view that doesn’t appear until you click. It can be dynamically
popped up at a specific position within a component.

 Slider 

17
The Slider component is used because it is responsive and supports mouse drag for desktops
and also supports touch and swipe and to keep up with users pace when they click through
previous and next navigation. 

3.4. Process Modeling

Process modeling is used to describe how things must be done in contrast to the process itself
which is really what happens. A process model is roughly an anticipation of what the process
will look like. The process modeling of the application is done through Flowchart and DFD
diagrams.

3.4.1. Flowchart of the System

The flowchart of the online agriculture marketing system is shown in figure below. The
Flowchart shown below has used simple geometric symbols and arrows to define
relationships. The beginning or end of the program is represented by a rectangle, a decision is
represented by a diamond and the I/O process is represented by a parallelogram. 
 

18
Fig: Admin panel

19
Fig:Flow chart for Seller

20
Fig: flow chart buyer

21
3.4.2. DFD  

The flow of data in our proposed system is shown through graphical representation of various
levels. The various levels include level 0 DFD(context diagram),level 1 DFD they are as
follows:

   

Fig 3. 5 Level 0 DFD (Context Diagram)

22
 

Fig 4: Level1 DFD(context Diagram)

23
 

Chapter 4: Implementation and Testing


4.1 Implementation
Systems implementation is the process of defining how the information system should be
built (i.e., physical system design), ensuring that the information system is operational and
used, ensuring that the system meets quality standards (i.e., quality assurance).

Waterfall model
Based on the waterfall model, the system was being developed as well as tested at the same
time to maintain quality. In our project use of the waterfall model is a breaking down of a
project activities into linear sequential phases, where each phase depends upon deliverables
of the previous one and correspondence to the specialization of the task.

24
 

25
 Requirement Analysis
Requirement analysis is the first phase of our project. In our project, requirement
analysis defines the expectation of users for the application. Those expectations can
be being able to set and view notices, check the product, location of product
categories etc. All these requirements were analyzed.

 System Design
System design defines the architecture, modules, interfaces, data for the system.

 Implementation
The main purpose of implementation is to carry out the activities like coding of
applications with the aim to achieve objective. 

 Testing
In our project, the testing plan is to check whether the actual result matches the
expected result and to ensure that software is defect free.

 Deployment
Deployment of the system includes the action of bringing resources and the developed
system into an effective action and delivering results and outputs.

 Maintenance 
The main work of maintenance is to keep details in proper condition for the durability
of the system.

4.2 Tools Used


The tools used in the development of Online Agriculture Marketing System are as follows:

4.2.1 XAMPP Version: 3.2.2


The full form of XAMPP is X stands for Cross-platform, A stands for Apache server, M
stands for Maria DB or MYSQL, P stands for PHP, and another P stands for Perl. XAMPP is
an open source cross-platform. It is a simple, lightweight apache distribution that makes it

26
extremely easy for developers to create a local web server for testing and deployment
purposes. It is also cross-platform, which means equally well on Linux, Mac, Windows. In
our project it is used as a local host server to access data from databases without use of
internet connection.

4.2.2 Browser 
Browser is a software application for accessing information. We used Google Chrome as a
browser to access data from the database.

4.3 Technology
4.3.1 PHP
PHP stands for Hypertext Preprocessor, is a general purpose programming language designed
for web development. PHP is a server side scripting language that is used to develop static
websites, Dynamic websites or web applications. PHP is a server side interpreter scripting
language, in our system it is used for creating dynamic web pages and web pages that work
with databases. 

4.3.2 MYSQL Database


MYSQL database is a type of database that supports the use of Structure Query Language
(SQL), to access their data. MYSQL is just the brand of one database software, one of many
MYSQL database is very popular among programs that run on websites (probably because it
is free), which is why we often see one or both of them being advertised in the feature lists of
web hosts, as well as being listed as one of the "system requirements" for certain web
software (like blogs and content management systems).

4.3.3 JavaScript
JavaScript is an object-oriented computer programming language, commonly used to create
an interactive effect within a web browser. JavaScript is a client side scripting language
which is used for creating web pages. It is used when a web page is used to make dynamic
and special effects on pages. 

4.3.4 CSS
CSS is a style sheet language used to describe the presentation of a document. Cascading
Style Sheet, referred to as CSS, is a simple design language intended to simplify the process
of making web pages presentable. In our project CSS, is used to control the color of text, the
style of fonts, the spacing between the paragraphs, how columns are sized and laid out, what
background color and images are used. 

27
4.3.5 AJAX
Ajax stands for Asynchronous JavaScript and XML, is a client side programming. In our
project Ajax is used for the selection of addresses. To allow web pages to be updated
asynchronously by exchanging small amounts of data with the server behind the scenes, Ajax
is used. This means that it is possible to update parts of a web page, without reloading the
whole page. 

4.4 Algorithm Used


4.4.1 Using Bubble Sort

Bubble sort is a sorting algorithm that works by repeatedly stepping through lists that need to
be sorted, comparing each pair of adjacent items and swapping them if they are in the wrong
order. This passing procedure is repeated until no swaps are required, indicating that the list
is sorted. Bubble sort gets its name because smaller elements bubble toward the top of the
list.

Bubble sort is also referred to as sinking sort or comparison sort

Pseudocode steps:

Initialize n = Length of Array

BubbleSort(Array, n)

for i = 0 to n-2

28
{

for j = 0 to n-2

if Array[j] > Array[j+1]

swap(Array[j], Array[j+1])

4.5 Testing

Testing is done in each and every project during or after the completion of building the
products.  Software testing is the process of evaluating a software item to detect differences
between given input and expected output. It also assesses the features of a software item.
Testing assesses the quality of the product. Software testing is a process that should be done
during the development process.

4.5.1 Unit Testing

Unit Testing has been done testing the system individual activity. Each activity like
registration, sign in, reset password, homepage, photo gallery, product details, etc. has been
tested individually.

29
Test Case

 For Sign up on Admin Panel

Table 4. 1 Test Case for Admin panel

Test Test Test Steps Input test data Expected Actual Pass/fai
Cas Scenari Results Results l
e ID o

TC- Check  Open  First Name: User As Pass 


1 signup the Lautan should get expecte
activity login “account d
with page successfull
valid and  Last Name:  y created”
data. click on Tharu
the
create Message
 Mobile and
account
number: redirected
button.
9800000  to the login
Address: activity.
 Fill up Bhrikutinagar
the
form
 Email:
with
lautan123@gmail
valid
.com
data.

 Password:
 Click
12345
on the
submit
button.  Confirm
password: 12345

 User type:
Admin

30
 For User  Registration on User Panel
Table 4. 2 Test Case for User Registration

Test Test Test Steps Input test data Expected Actual Pass/fail
31
Case Scenario Results Results
ID

TC- Check the  Ope  First Users should As Pass 


2 registration n login name:  get a “User expected
activity page. registration
with valid successfully”
data.  Last name: message and
 Clic redirect to the
k on login page.
create  Mobile
account. number

 Fill  Email:
up the
registrat
ion form  Password:
with the
Check the valid
registration  Confirm
data. password:
activity
with valid
data.  Clic  Image
k on the
submit
button.   Role

 Province

 District
 Ope
n  Municipali
Admin ty
Panel

 Ward no
 Click
on
Forms
Menu

 Click
on Add
User

32
 Fill
Up the
Donor
registra
tion  Mobile
form number:
with
the
valid  Address:
data.

 Email:
 Click
on
Submit  Password:
Button
Confirm
password:

 For Admin login

Table 4. 3 Test Case for Admin login

Test Test Test Input test data Expected Actual Pass/fail


Scenario Steps Results Results

Case
ID

TC-3 Check the  O  Username : Users should As Pass 


Admin pen lautan@gmail.c get a “Logged expected
login with login om in successfully”
valid data page message and
and  redirect to the
 Password: dashboard.
12345
 Fil
l up
the
form
with
valid

33
data

 Cl
ick on
login
button

 For Seller login 

Table 4. 4 Test Case for Seller login

Test Test Test Input test data Expected Actual Pass/fail


Case Scenario Steps Results Results
ID

TC-4 Check the  O  Username : User should get As Pass 


seller pen ssssss3@gmail.c “Logged in expected
login with login om successfully”
valid data. page message and
and  redirected to
 Password: profile page
12345
 Fi
ll up
the
form
with
valid
data

 Cl
ick on
login
button

34
 Buyer Info Entry
Table 4. 5 Test case for Buyer infoWard:
Select entry

 Contact No. :
9864743652

35
4.5.2 Integration Testing
Integration testing is the phase in software testing in which individual software modules are
combined and tested as a group. Integration testing is conducted to evaluate the compliance
of system or component with specified functional requirements. In our system, integration
testing applied after unit testing where modules like login form, buyer entry form etc are
integrated as a whole.

Chapter 5: Conclusion and Recommendation


5.1. Conclusion
The need of agriculture and agriculture marketing system have been vital aspect in human life
in this ever growing world. The aim of this project was to develop agriculture marketing
system. The development of this system designing consideration was clear fully undertaken
and implemented number of articles and literatures were explored and reviewed before
starting the project. The developed system is developed using different technology like PHP
as main programming language HTML,CSS and java script as defining the layout of the
system.

The Agriculture Marketing System is the most important in now days, it provide the
agriculture product globally market place. The main aim of this project is to help the farmer
and customer to easily connect with each other and . The farmer s are to upload their product
in large amount the needed customer is contact them .

5.2 Recommendation or Future Scope 


The future scope of online agriculture marketing system is to make the easier of the farmer
and customer it means farmer can easily sold their product and they do not face any problem

36
like to waste their product and they can easily supply their product in the market. In the help
of online marketing system they provide all over country or  region and farmer directly
contact their customer .The customers are easily order their product and they can buy. The
scope of agriculture marketing system can be defined through the functions served by it in
pursuit of achieving the sustainable economic growth and development.

37
References
1. Fellows, P. (2004). Processed foods for improved livelihoods. Rome: Food and
Agriculture
2. Organization of the United Nations. Retrieved from
3. http://www.fao.org/docrep/007/y5113e/y5113e00.htm#Contents
4. Fernandes, V. (2013, August). The Potato Farming Success of Gujarats
Banaskantha District.
5. Retrieved from http://www.forbesindia.com/article/on-assignment/the-potato-
farmingsuccess-of-gujarats-banaskantha-district/35747/1
6. Glover, D. J. (1987). Increasing the benefits to smallholders from contract
farming: Problems
7. for farmers organizations and policy makers. World Development, 15(4), 441–
448.
8. Governance Knowledge Centre. Direct Agricultural Marketing?: Rythu Bazar in
Andhra Pradesh
9. Gujarat State Agricultural Marketing Board. (2014). Contract Farming.
Retrieved June 27,
10. 2017, from https://gsamb.gujarat.gov.in/contract-farming.htm
11. Hobbs, T. (2016). Tesco backed to return to growth this year as “Farm” brands
drive sales.

38
                  
          

Appendix A : Screenshots of Online Agriculture Marketing System

Login Form

Registration Form

39
Dashboard

Province List

40
District List

Municipality Entry

41
Ward List

                                                    Product Category

42
Product List

Product  Group

43
                                                                Front End Page

Searched Report

44

You might also like