0% found this document useful (0 votes)
428 views

Diry Management System

This document provides an overview of a Dairy Management System project. The goal is to develop software to manage daily transactions at a milk distributor office, such as registering suppliers and staff, recording purchases and sales. The system is intended to replace an existing manual process and make operations more efficient. It describes the objectives, scope, and features of the PHP-based software, including connecting to a MySQL database.

Uploaded by

Rohan Kharvi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
428 views

Diry Management System

This document provides an overview of a Dairy Management System project. The goal is to develop software to manage daily transactions at a milk distributor office, such as registering suppliers and staff, recording purchases and sales. The system is intended to replace an existing manual process and make operations more efficient. It describes the objectives, scope, and features of the PHP-based software, including connecting to a MySQL database.

Uploaded by

Rohan Kharvi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 21

ABSTRACT

Our main goal to develop this application is to encourage a dairy industry. DAIRY MANAGEMENT
SYSTEM is a software application to maintain day to day transactions in a Milk Distributor Office. This
software helps to register all the suppliers, Staff details, purchase, etc., The “Dairy Management System”
has been developed to override the problems prevailing in the practicing manual system. This software is
supported to eliminate and in some cases reduce the hardship faced by this existing system. Moreover this
system is designed for the particular need of the dairy to operations in a smooth and effective manner.

Page i of iv
ACKNOWLEDGEMENT

This project involved the collection and analysis of information from a wide
variety of sources and the efforts of many people beyond us.

We sincerely thank the College Management for all infrastructure and facilities
provided during our study in the institution.

We take this opportunity to acknowledge our profound gratitude to our Principal


Dr. Kataiah MIT, Kundapura for his support and guidance provided during study in the
institution.

We sincerely thank Mr. Melwin D’Souza, Assistant Professor (Sr.) and Head,
Department Of Computer Science and Engineering MIT, Kundapura for his suggestions
and support for completion of the project work.

We would like to place on record our deep sense of gratitude to our project guide
Mr. Rajesh Nayak, Assistant Professor, Department of Computer Science and
Engineering, MIT, Kundapura for his valuable guidance, help and useful suggestions in
this project.

We express our sincere gratitude to the teaching and non-teaching staff of


Computer Science and Engineering Department.

We thank all our friends and classmates who helped us directly or indirectly for
the successful completion of the work.

Finally we would like to thank our parents for supporting us in hundred little ways
that meant a lot.

Shravan Bhat (4MK16CS027)

Vasanth Nayak (4MK16CS034)

Page ii of iv
CONTENTS

CHAPTER NO. TITLE PAGE NO.

ABSTRACT i

ACKNOWLEDGEMENT ii

1 INTRODUCTION 01

2 OVERVIEW OF PHP 02-06

3 SYSTEM REQUIREMENTS 07

4 DESIGN 08-09

5 RESULTS 10-14

6 CONCLUSION 15

REFERENCES 16

Page iii of iv
FIG. NO LIST OF FIGURES PAGE NO.

2.1 CODE FOR CONNECTING 4


THE DATABASE

4.1 RELATIONAL SCEMA 8

4.2 ER DIAGRAM 9

5.1 HOME PAGE 10

5.2 LOGIN PAGE 10

5.3 ADMIN PAGE 11

5.4 SELLER INSERTION PAGE 11

5.5 SELLER DELETION PAGE 12

5.6 SELLER LIST PAGE 12

5.7 STAFF UPDATE PAGE 13

5.8 MILK STAT PAGE 14

Page iv of iv
Dairy Management System 2018-19
CHAPTER 1
INTRODUCTION
The mission of the Milk Production House Project is to create to communication between
rural area people and dairy management. Our main goal to develop this application to
encourage a dairy industry.DAIRY MILK MANAGEMENT SYSTEM is a software
application to maintain day to day transactions in a Milk Distributor Office. This software
help to register all the suppliers, Buyer details, purchase, Sales details etc., The project
entitled DAIRY MILK MANAGEMENT SYSTEM is a pilot project for new Milk
Distributor to be start soon in the city. The management planned this Milk Distribution
center to operate on the next month. They have a big plan to collect the Milks from many
different sources and distribute the same for the Milk buyers. To manage all these they
require a fullfledged software which will take care all these.

OBJECTIVE OF DIARY MILK MANAGEMENT SYSTEM


The main objective of this application is to automate the complete operations of
the Milk Distributor Office. They need maintain hundreds of thousands of records. Also
searching should be very faster so they can find required details instantly

SCOPE OF DAIRY MILK MANAGEMENT SYSTEM


This application is built such a way that it should suits for all type of Milk
Distributors in future. So every effort is taken to implement this project in this Milk
Distributor Office, on successful implementation in this Milk Distributor Office, we can
target other Milk Distributors in the city. Milk Dairy Management System Project Codes
and Scripts Downloads Free. Pre Business Management System is consists of complete
Customer Relationship Management System. Milk dairy management system project is a
software application useful for dairy forms for managing daily activities like receiving of
milk from various sources.

DEPT OF CSE Page | 1


Dairy Management System 2018-19
CHAPTER 2
OVERVIEW OF PHP

2.1 WHAT IS PHP?

 PHP is an acronym for "PHP: Hypertext Preprocessor"


 PHP is a widely-used, open source scripting language
 PHP scripts are executed on the server
 PHP is free to download and use

 It is powerful enough to be at the core of the biggest blogging system on the web

 It is deep enough to run the largest social network

 It is also easy enough to be a beginner's first server side language!

2.2 WHAT IS A PHP FILE?

 PHP files can contain text, HTML, CSS, JavaScript, and PHP code
 PHP code are executed on the server, and the result is returned to the browser as
plain HTML
 PHP files have extension ".php"
 PHP is a server scripting language, and a powerful tool for making dynamic and
interactive Web pages.
 PHP is a widely-used, free, and efficient alternative to competitors such as
Microsoft's ASP.

2.3 WHAT CAN PHP DO?

 PHP can generate dynamic page content


 PHP can create, open, read, write, delete, and close files on the server
 PHP can collect form data

DEPT OF CSE Page | 2


Dairy Management System 2018-19
 PHP can send and receive cookies
 PHP can add, delete, modify data in your database
 PHP can be used to control user-access
 PHP can encrypt data

With PHP you are not limited to output HTML. You can output images, PDF files, and
even Flash movies. You can also output any text, such as XHTML and XML.

2.4 WHY PHP?

 PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)


 PHP is compatible with almost all servers used today (Apache, IIS, etc.)
 PHP supports a wide range of databases
 PHP is free. Download it from the official PHP resource
 PHP is easy to learn and runs efficiently on the server side

2.5 Connecting the Database

PHP 5 and later can work with a MySQL database using:

 MySQLi extension (the "i" stands for improved)


 PDO (PHP Data Objects)

2.6 SHOULD I USE MYSQLI OR PDO?

 If you need a short answer, it would be "Whatever you like".

 Both MySQLi and PDO have their advantages:

 PDO will work on 12 different database systems, whereas MySQLi will only
work with MySQL databases.

 Both are object-oriented, but MySQLi also offers a procedural API.

 Both support Prepared Statements. Prepared Statements protect from SQL


injection, and are very important for web application security.

DEPT OF CSE Page | 3


Dairy Management System 2018-19
 We have chosen MySQL platform for creating the databases therefore we will use
MySQLi for the connection purpose

 With MySQLi, you will need to rewrite the entire code - queries included.

MYSQLI INSTALLATION

For Linux and Windows: The MySQLi extension is automatically installed in most cases,
when php5 mysql package is installed.

OPEN A CONNECTION TO MYSQL

Before we can access data in the MySQL database, we need to be able to connect to the
server:

Fig 2.1: Code to establish connection with the database

2.7 OVERVIEW OF HTML

What is HTML?

HTML is the standard markup language for creating Web pages.

 HTML stands for Hyper Text Markup Language


 HTML describes the structure of Web pages using markup
 HTML elements are the building blocks of HTML pages
 HTML elements are represented by tags

DEPT OF CSE Page | 4


Dairy Management System 2018-19
 HTML tags label pieces of content such as "heading", "paragraph", "table", and so
on
 Browsers do not display the HTML tags, but use them to render the content of the
page

A sample HTML document

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>My First Heading</h1>


<p>My first paragraph.</p>

</body>
</html>

EXAMPLE EXPLAINED

 The <!DOCTYPE html> declaration defines this document to be HTML5


 The <html> element is the root element of an HTML page
 The <head> element contains meta information about the document
 The <title> element specifies a title for the document
 The <body> element contains the visible page content
 The <h1> element defines a large heading
 The <p> element defines a paragraph

Since the early days of the web, there have been many versions of HTML:

Version Year
HTML 1991
HTML 2.0 1995
HTML 3.2 1997
HTML 4.01 1999
XHTML 2000
HTML5 2014

DEPT OF CSE Page | 5


Dairy Management System 2018-19

DEPT OF CSE Page | 6


Dairy Management System 2018-19

CHAPTER 3

SYSTEM REQUIREMENTS

HARDWARE REQUIREMENTS

Processor: Intel core duo processor

RAM: 4GB

Secondary Memory: 500GB

SOFTWARE REQUIREMENTS

Frontend: PHP

Backend: MySQL

Operating System: Windows or Ubuntu

DEPT OF CSE Page | 7


Dairy Management System 2018-19

CHAPTER 4
DESIGN

Login Table

S-name Password

Staff Table

S-No S-Name Gender Address Work Salary Phone-No R-date

Milk Rate Table

Fat Buffalo Cow U-date

Seller Table

S-code S-name Address Ani-Cattle R-date Sell-Milk sfat S-count

Daily Milk Data Table

S-name Quantity Cattle-Type Fat Submit

Staff Login

S-No Password

Fig 4.1 Relational Schema for Dairy Management System

Amt-
Milk-
Seller- Qty
Id
Submit-
B-Id
DEPT OF CSE Page | 8
Bill Receiv
Salar M
1
Dairy Management System 2018-19

Name

S-No

User-

Qty

Fat
Submit-

Cattle-Type
Fig 4.2 ER diagram for Dairy Management System

CHAPTER 5
RESULTS

DEPT OF CSE Page | 9


Dairy Management System 2018-19

The following screen shows the result of our mini project

Fig 5.1: Home Page

Description: Fig 5.1 shows home page of Dairy Management System

Fig 5.2: Login Page

Description: Fig 5.2 shows login page of Dairy Management System

DEPT OF CSE Page | 10


Dairy Management System 2018-19

Fig 5.3: Admin Manage Page

Description: Fig 5.3 shows admin manage page of Dairy Management System

Fig 5.4: Seller Insertion Page

Description: Fig 5.4 shows seller insertion page of Dairy Management System

DEPT OF CSE Page | 11


Dairy Management System 2018-19

DEPT OF CSE Page | 12


Dairy Management System 2018-19
Fig 5.5: Seller deletion Page

Description: Fig 5.5 shows seller deletion page of Dairy Management System

Fig 5.6: Seller List Page

Description: Fig 5.6 shows seller list page of Dairy Management System

DEPT OF CSE Page | 13


Dairy Management System 2018-19

Fig 5.7:Staff Update Page

Description: Fig 5.7 shows staff update page of Dairy Management System

Fig 5.8: Milk Stat List Page

Description: Fig 5.8 shows milk stat list page of Dairy Management System

DEPT OF CSE Page | 14


Dairy Management System 2018-19
CHAPTER 6
CONCLUSION
The main aim of developing dairy management system is to provide all the informations
and services that are required by the admin, to manage the dairy in the most efficient
manner without complications. Other important requirements of software are data
security, extensibility and maintainability. All the features are included in this application.

The project greatly helped in understanding the various phases in database system
development and exposure to a new developer platforms php and MySQL server.

DEPT OF CSE Page | 15


Dairy Management System 2018-19

REFERENCES

1) Database systems Models, Languages, Design and Application Programming,


Ramez Elmasri and Shamkant B.Navathe, 6th Edition, Pearson.
2) Database Management Systems, Ramakrishnan, and Gerkhe, 3 rd Edition, 2014,
McGraw Hill.

DEPT OF CSE Page | 16

You might also like