Farmers' Digital Aid
Farmers' Digital Aid
1. INTRODUCTION
This is a web based project which is useful for farmers. This is an open discussion portal
providing solutions to small farmers. It also provides soil analysis for all regions and
suggestions on which fertilizers to use where and how much? And which crop, herb or
vegetable to be grown where and in which season? It also helps to make decisions on market
and best prices. Information about major crop markets and their current price for the crop will
be published daily. NGO’s are trying to spread messages to make agriculture more eco-
friendly through this site. This also includes training scheduled by agricultural officers.
Training is requested by students, general public. Training provides information about crops,
fertilizers, and market details that are requested. Online query handlings for all users. Queries
can be posted by general public through mails. Queries can be directed to a particular officer.
Information pages should be dynamic so that agricultural officers and administrator can
change it.
1.1 OBJECTIVE
It is an open discussion portal used for agricultural students and farmers. Any general
public can use this system for knowing the information about various crops, and the usage of
fertilizers to those crops and in which soil these crops give more yield and the climatic
conditions for those crops.
Training is requested by the students, general public. These trainings are scheduled by
agricultural officer. Information about major crop markets and their current price for the crop
will be published daily.
Current prices of the markets are updated daily by the NGO. It gives information
regarding all the states in India.
2. EXISTING SYSTEM
Complexity in managing the data related to the agriculture products, soils, fertilizers, market
details. Farmers face the problems when they wanted to know the details about season to
farm which crop in which soil. How much and which fertilizers to use they don’t know.
DISADVANTAGES:
Lack of security.
This system does not provide category wise classifications of products.
Inefficiency in querying details.
Periodic Report generation takes lot of time.
3. PROPOSED SYSTEM
The development of this new system contains the following activities, which try to automate
the entire process keeping in the view of database integration approach.
Reduce complexity in managing the data related to the agriculture products, soils,
fertilizers, market details.
Current system provides different access levels for security.
Rich user interface is provided in order to interact with application.
Reports are generated dynamically on a periodic basis.
Equipment are available for farmers to buy.
Efficiency in querying details.
User Queries and Answers are maintained.
Whether details will be sent to registered mobile number.
5.1 PHP
When Lerdorf was contracted to work for the University of Toronto to build adial-up system
for students to access the Internet, he had no means of connecting Web sites to databases. To
solve this problem, the enterprising Lerdorf replaced his Perl code with a C wrapper that
added the capability to connect his Web pages to a MySQL database. As his small project
grew, he gave away his changes on the Internet as an Open Source project and cordially
received improvements from other programmers with an interest in PHP. The language was
later renamed to the current recursive acronym PHP: Hypertext Pre-processor by Zeev
Suraski and Andi Gutmans after they rewrote the parser in 1997. The software continued to
develop and now forms the comprehensive PHP platform we know today.
PHP provides a solid and well-defined programming language that includes support for
object orientated programming, conditions, file handling, arithmetic, and more. The language
that PHP forms is similar in semantics to that of a shell scripting language combined with the
easier bits of the C language. PHP subscribes to the batteries-included philosophy of
programming languages and includes extensive support for a huge range of needs, such as
cookies, forms, sessions, include files, network sockets, e-mail and more. Database support
covers not only MySQL but many others, including but not limited to Posture SQL, Oracle,
MS SQL, dBase, Sybase, and DB2. This flexible database support is useful if you ever need
to port your application to a different database. In addition to PHP’s capability as a Web
scripting language, PHP also can be used as a shell scripting language.
XAMPP provides a complete PHP, Apache, and MySQL Web development environment that
can be installed by downloading, unzipping, and running the software. XAMPP makes the
installation dramatically easier, and the software also includes a raft of additions and extras
that are genuinely useful, including PHP extensions, a Web front end for MySQL (which is
used throughout the book), and more. XAMPP is freely available for Windows, Linux, Mac
OS X, and Solaris.
Vision provides cost-effective and customizable PHP Web Programming Services in order to
render a range of PHP Web Development Services for both new and existing websites
running on PHP / Apache/ MySQL combination which is becoming the choice of IT and non-
IT industry leaders for dynamic websites
Oceanic Vision leads the world market as a quality PHP Outsourcing Company in India
through the development of PHP based websites and fast driven applications. Oceanic Vision
provides timely, efficient and affordable PHP Programming Services. We have gained
experience through a variety of PHP Projects done for customers based in India
History
The first version of PHP, PHP/FI, was developed by Rasmus Lerdorf as a means of
monitoring page views for his online resume’s and slowly started making a mark in mid-
1995. This version of PHP had support for some basic functions, primarily the capability to
handle form data and support for the mSQL database. PHP/FI 1.0 was followed by PHP/FI
2.0 and, in turn, quickly supplanted in 1997 by PHP 3.0.
PHP 3.0, developed by Andi Gutmans and Zeev Suraski, was where things started to get
interesting. PHP 3.0 was a complete rewrite of the original PHP/FI implementation and it
included support for a wider range of databases, including MySQL and Oracle. PHP 3.0’s
extensible architecture encouraged independent developers to begin creating their own
language extensions, which served to increase the language’s popularity in the developer
community. Before long, PHP3.0 was installed on hundreds of thousands of web servers, and
more and more people were using it to build database-backed web applications.
PHP 4.0, which was released in 2003, used a new engine to deliver better performance,
greater reliability and scalability, support for web servers other than Apache, and a host of
new language features, including built-in session management and better OOP support. And,
as if that wasn’t enough, the current tversion of PHP, PHP 5.0, offers a completely revamped
object model that uses object handles for more consistent behaviour when passing objects
around, as well as abstract classes, destructors, multiple interfaces, and class type hints.
PHP5.0 also includes better exception handling, a more consistent XML toolkit, improved
MySQL support, and a better memory manager. So far, all these changes have conspired to
make PHP 5.0 the best PHP release in the language’s ten-year history . . . a fact amply
illustrated by the April 2004 Netcraft survey, which shows PHP in use on over fifteen million
web sites.
Features
As a programming language for the Web, PHP is hard to ignore. Clean syntax, object-
oriented fundamentals, an extensible architecture that encourages innovation, support for both
current and upcoming technologies and protocols, and excellent database integration are just
some of the reasons for the popularity it currently enjoys in the developer community.
• Simplicity
Because PHP uses a consistent and logical syntax, and because it comes witha clearly written
manual, even novices find it easy to learn. In fact, the quickest way to learn PHP is to step
through the manual’s introductory tutorial, and then start looking at code samples off the
Web. Within a few hours, you’ll have learned the basics and will be confident enough to
begin writing your own scripts. This adherence to the KISS (Keep It Simple, Stupid)
principle has made PHP popular as a prototyping and rapid application development tool for
web applications. PHP can even access C
libraries and take advantage of program code written for this language, and the language is
renowned for the tremendous flexibility it allows programmers in accomplishing specific
tasks.
• Portability
With programming languages, portability—the ease with which a program can be made to
work on different platforms—is an important factor. PHP users have little to fear here,
because crossplatform development has been an important design goal of PHP since PHP 3.0.
Today, PHP is available for a wide variety of platforms, including UNIX, Microsoft
Windows, Mac OS, and OS/2. Additionally, because PHP code is interpreted and not
compiled, PHP scripts written on one platform usually work as is on any other platform for
which an interpreter exists. This means that developers can code on Windows and deploy on
UNIX without any major difficulties.
• Speed
Out of the box, PHP scripts run faster than most other scripting languages, with numerous
independent benchmarks putting the language ahead of competing alternatives like JSP,
ASP.NET, and Perl. When PHP 4.0 was first released, it raised the performance bar with its
completely new parsing engine. PHP 5.0 improves performance even further through the use
of an optimized memory manager, and the use of object handles that reduce memory
consumption and help applications run faster.
• Open Source
Possibly the best thing about PHP is that it’s free—its source code is freely available on the
Web, and developers can install and use it without paying licensing fees or investing in
expensive hardware or software. Using PHP can thus significantly reduce the development
costs of a software application, without compromising on either reliability or performance.
The open-source approach also ensures faster bug fixes and quicker integration of new
technologies into the core language, simply due to the much larger base of involved
developers.
• Extensible
Keeping future growth in mind, PHP’s creators built an extensible architecture that enables
developers to easily add support for new technologies to the language through modular
extensions. This extensibility keeps PHP fresh and always at the cutting edge of new
technology. To illustrate this, consider what PHP lets youdo through its add-on modules:
dynamically create image, PDF, and SWF files; connect to IMAP and POP3 servers;
interface with MySQL, Oracle, Postgre SQL, and SQLite databases; handle electronic
payments; parse XML documents; and execute Perl, Java, and COM code through a PHP
script. And as if all that wasn’t enough, there’s also an online repository of free PHP classes
called PEAR, the PHP Extension and Application Repository, which provides a source of
reusable, bug-free PHP components.
5.2 MySQL
If you are planning on starting, for example, a bank or a savings and loan, MySQL probably
isn’t for you. But for the majority of people using the majority of applications, MySQL is a
great choice. It is particularly well suited for Web applications.
MySQL is a powerful and comprehensive relational database server, which was originally
developed by David Axmark, Allan Larsson, and Michael “Monty” Widenius. The
commercial company they founded, MySQL AB, develops and markets MySQL and
associated products. Although the MySQL software originated as an Open Source project, its
creators were confident that they could run a business using the product as a base. This
business enables the developers to work full time on the software, which in turn benefits both
the Open Source community and commercial users of MySQL. Both the open and
commercial MySQL variants are functionally the same; the only difference in the software is
how it is licensed.
MySQL also has support for a number of programming languages to access and query the
database. This includes languages such as PHP, Python, Perl, C, C++, and Java, among
others. Although you may wish to initially use only PHP to query the database,
Multilanguage support is useful if you need to write modules and applications in different
languages in the future.
History
The MySQL story hasn’t always been about rocketing growth rates and high user satisfaction
ratings, however. MySQL has an interesting history, with roots going back to 1979, when
Michael “Monty” Widenius created a database system named UNIREG for the Swedish
company TcX. UNIREG didn’t work for TcX on account of performance issues, and so TcX
began a search for alternatives. They tried mySQL, a competing DBMS created by David
Hughes, but when that attempt also failed, a new approach was called for. Thus, Widenius
decided to create a new database server customized to his specific requirements, but based on
the mySQL API (to simplify porting applications between the two). That system, completed
and released to a small group in May 1996, became MySQL 1.0.
A few months later, MySQL 3.11 saw its first public release as a binary distribution for
Solaris. Linux source and binaries followed shortly; an enthusiastic developer community and
a friendly, GPL-based licensing policy took care of the rest. As MySQL grew in popularity,
TcX became MySQL AB, a private company that today is the sole owner of the MySQL
server source code and trademark. MySQL AB is responsible for maintenance, marketing,
and further development of the MySQL database server and related products. Today, MySQL
is available for a wide variety of platforms, including Linux, MacOS, and Windows.
Features
MySQL’s development history has always been characterized by a clear-eyed focus on the
most important attributes of a good RDBMS: speed and stability. This has resulted in a
system that outperforms most of its competitors without sacrificing reliability or ease of use,
thereby gaining it a loyal base of developers, administrators, and users worldwide. The
• Speed
In an RDBMS, speed—the time taken to execute a query and return the results to the caller—
is everything. MySQL scores high on this parameter, with better performance than almost all
its
competitors, including commercial systems like Microsoft SQL Server and IBM DB2. This
blazing performance is more the result of intelligent software design than luck: MySQL uses
a fully multithreaded architecture; special optimizers for complex tasks like joins and
indexing; a query cache, which improves performance without any special programming
needed by the user; and the capability to use different storage engines on a per-table basis, so
that users can mix and match different feature sets to squeeze the maximum performance out
of the system.
• Reliability
When it comes to reliability, MySQL’s creds are impeccable. The MySQL RDBMS has been
tested and certified for use in high-volume, mission-critical applications by some of the
world’s largest organizations, including NASA, HP, and Yahoo! Because MySQL has deep
roots in the open-source community, every new release is typically “battle-tested” by users all
over the world, on different operating systems and in different operating conditions, to ensure
that itis completely bug-free before being certified for use. Further, every new release of
MySQL first has to pass MySQL’s in-house test suite, affectionately known as crash-me
because its primary goal is to attempt to crash the system.
• Security
Security is an important concern when dealing with multiuser databases, and MySQL’s
developers have taken a great deal of care to ensure that MySQL is as secure as possible.
MySQL comes with a sophisticated access control and privilege system to prevent
unauthorized users from accessing the system. This system, implemented as a five-tiered
privilege hierarchy, enables MySQL administrators to protect access to sensitive data using a
combination of user- and host-based authentication schemes. Users can be restricted to
performing operations only on specified databases or fields, and MySQL even makes it
possible to control which types of queries a user can run, at database, table, or field level.
MySQL can handle extremely large and complex databases without too much of a drop in
performance. Tables of several gigabytes containing hundreds of thousands of records are not
uncommon, and the MySQL web site itself claims to use databases containing 50 million
records.
And once you’ve got your tables filled with data ,you can move them from one platform to
another without any difficulty—MySQL is available for both UNIX and non-UNIX operating
systems, including Linux, Solaris, FreeBSD, OS/2, MacOS, and Windows 95, 98, Me, 2000,
XP, and NT. It runs on a range of architectures, including Intel x86, Alpha, SPARC,
PowerPC, and IA64, and supports many different hardware configurations, from low-end
386s to high-end Pentium machines.
• Ease of Use
Most commercial RDBMSs are intimidating, with cryptic command-line interfaces and
hundreds of tunable parameters. Not this one, though—well aware that a complex interface
adds to the total cost of ownership of an RDBMS, the MySQL development team has taken
pains to make MySQL easy to use, administer, and optimize. A simple SQL command-line
interface (SQL commands are covered in Chapters 9 to 11) is the primary user interface to the
server; users with a more visual bent can, instead, use MySQL Control Center or MySQL
Administrator, two GUI clients developed by MySQL AB for MySQL usage and
administration. A number of other browser-based tools are also available, and the application
is well supported by a detailed manual, a knowledgeable developer community, and some
excellent books and tutorials.
MySQL 4.0 supports most of the important features of the ANSI SQL-99 standard, with
support for missing features slated to be added in future versions. MySQL also extends the
ANSI standard with its own custom functions and data types designed to improve portability
and provide users with enhanced functionality. On the internationalization front, MySQL 4.0
supports a number of important character sets (including Latin, Big5, and European character
sets), with full Unicode support scheduled for future versions.
MySQL exposes APIs to many different programming languages, thereby making it possible
to write database-driven applications in the language of your choice. This book focuses
specifically on using PHP with MySQL, but readers working with other programming
languages will be pleased to hear that MySQL AB also provides native ODBC and JDBC
drivers for the Microsoft Windows and Java platforms. Additionally, hooks to MySQL are
available in C, C++, Perl, Python, and Tcl, to offer developers maximum freedom in
designing MySQL-backed applications.
The MySQL RDBMS is licensed under the GPL, and users are free to download and modify
the source code of the application to their needs, and to use it to power their applications free
of cost. This licensing policy has only fuelled MySQL’s popularity, creating an active and
enthusiastic global community of MySQL developers and users. This community plays an
active role in keeping MySQL anahead of its competition, both by crash-testing the software
for reliability on millions of installations worldwide and by extending the core engine to stay
abreast of the latest technologies and newest developments.
One not only needs to understand and manage the dynamics of the functionalities the
composite architecture is implementing but also help formulate the deployment strategy and
keep an eye out for technological risks that could jeopardize the growth and/or operations of
the organization.
• Application modelling
• Technology
• Technology standards
Demonstrates a thorough understanding of the key technologies which form the infrastructure
necessary to effectively support existing and future business requirements, ensures that all
hardware and software comply with baseline requirements and standards before being
integrated into the business environment, understands and is able to develop technical
standards and procedures to facilitate the use of new technologies, develops useful guidelines
for using and applying new technologies.
6. FEASIBILITY STUDY
It is both necessary and prudent to evaluate the feasibility of a project at the earliest possible time. Months or
years of effort, thousands and millions of dollars, and untold professional embarrassment can be averted if an ill-
conceived system is recognized early in the definition phase. Feasibility and risk analysis are related in many
ways. If project risk is great, the feasibility of producing quality software is reduced. During product
engineering, however, we concentrate our attention on four primary areas of interest.
The company already possesses the required hardware and software. There is no investment
in hardware and software. The benefits of installing the application lie in the speedy
processing of data, faster retrieval of information and increasing volume of data, and all these
with greater accuracy and consistency. To sum up, the benefits are great and cost is minimal.
Therefore, the project is economically feasible.
The current system has Personal Computers. All the works are done on Word Processor and
spread sheets. The company already possesses the required software. In the current working
system , it requires time to produce the reports. We have to find out whether the necessary
technology, the proposed equipment have the capacity to hold the data, which is used in the
project, should be checked to carry out this technical feasibility. The response time is high for
processing queries. This will lead to high demands on the available technical resources and
demands being placed on the clients.
The system is expected to work smoothly when developed and installed. There has been
participation of management and the computer operators in planning and development of the
system. There will be a slight change in the format of the reports to which management
agreed. There is no disturbance in organizational structure of the company. The new
application for the system will have Graphical User Interfaces (GUI). The applications with
GUI are very easy to handle and operate. The company has to train their staff members which
can easily done in one or two days. They need to be instructed regarding using of the
application software.
• The proposed system produces best results and gives needful information.
7. DESIGN OBJECTIVE
Processing the
Request for crop 0.0 request and
7.1.2 LEVEL 1:
CROP DB
RESPOND
2.0
VIEWING ALL
THE CROP
DEATILS
3.0
PROCESSING
UPDATE
THE CROP
FARMERS DB
DETAILS
7.1.3 ER DIAGRAM:
FARMER
ID
NAME
ADMIN
MOBILE NAME ID
NO
1 1
FARMER CROP ADMIN
1
1
MOBILE
STATE NO
PINCODE
USES
NAME
N N
COST CROP
FERTILIZERS DETAILS
MARKET DETAILS
TYPE
CROP
DESC
PRICE FERTILIZER
DETAILS
8. DATA TABLE
8.3 FERTILIZER
8.4 MAILS
8.7 BLOG
8.8 CROPS:
9. MODULE DESCRIPTION
9.1 Admin
Admin is the one who can add the details about market, crop, season. Admin has the
rights to see the details of framers and the id , password.
9.2 FARMER
First, to enter this system the users has to login to this system. Farmers has restricted
access. i.e., Normal users have access to some of the modules only.
9.3 FERTILIZERS
This module is used to maintain the various Fertilizers Details. This module will be
enabled only to the admin type of users.
In this module we can maintain the market details. This module will be enabled only to
the admin type of users.
He can add the information about new markets into the system.
He can add the market report into the system regarding a particular market and
commodities prices details in that market in a day.
In this Home Page we can see the details about the page which is placed on the website. In
the home page we can see the login on the right side of the home page in that username ,
password and choose the user type and click on login.
Admin and farmer can login as, User Name: admin, Password: admin and then click on Login
button. Even user can login here after he register himself in registration form is submitted.
Then he can login as User Name: ABC, Password: xxx and choose the login type and click on
Login button.
There is a Registration page in this website where the user can register and can fill their
like,CompanyName,Contactperson,Address,City,EmailID,MobileNumber,UserName,Passwo
rd And Click on Submit User will be registered.
In this page you will see the profile to add the product or to buy the product
In this you will see the various product from various farmers with the price, you can buy them by
selecting a product.
Here farmer or the admin can write a blog about the product.
12. CONCLUSION
It is not possible to develop a system that makes all the requirements of the user. User
requirements keep changing as the system is being used. Some of the future enhancements
that can be done to this system are as the technology emerges it is possible to upgrade the
system and can be adaptable to desired environment. Because it is based on object-oriented
design, any further changes can be easily adaptable. Based on the future security issues,
security can be improved using emerging technologies. Case Registration module can be
added. By this project, we provide various information regarding soil, crops, fertilizes for
farmers. It also solves various queries posted by the users. It makes agriculture more eco-
friendly.
It is not possible to develop a system that makes all the requirements of the user. User
requirements keep changing as the system is being used. Some of the future enhancements
that can be done to this system are:
As the technology emerges, it is possible to upgrade the system and can be adaptable
to desired environment.
Because it is based on object-oriented design, any further changes can be easily
adaptable.
Based on the future security issues, security can be improved using emerging
technologies.
Case Registration module can be added
BIBLIOGRAPHY:
2. Head First PHP & MySQL – by Lynn Beighley & Michael Morrison
3. www.agricultureindia.com