DMS Report
DMS Report
DMS Report
1. Introduction
This chapter gives a brief theoretical preview upon the database information systems and goes
through the essence of the problem that should be resolved using this system.
1.1 Background
Most of the contemporary Information systems are based on the Database technology as a
collection of logically related data, and DBMS as a software system allowing the users to
define, create, maintain and control access to the database. The process of constructing such
kind of systems is not so simple. It involves a mutual development of application program and
database. The application program is actually the bridge between the users and the database,
where the data is stored. Thus, the well-developed application program and database are very
important for the reliability, flexibility and functionality of the system. The so defined systems
differentiate to each other and their development comprises a great variety of tasks to be
resolved and implemented.
Our system mainly involves two interfaces one for the admin that is one who handles the system
and a user interface for the customers, each of them are provided with their own set of
permissions.
Admin has a prime role and is allowed to access and modify all kinds of data where as user is
allowed only to view the data. This was made possible by connecting both Admin and User
interfaces to same database.
This dairy management system is a powerful software that helps farmers and dairy operators
to manage their dairy farm operations. It can be used to track and manage various aspects of
the dairy, such as categories of milk involved, companies listed, products available and
financial sales management. The system is great for financial management, mainly for record-
keeping, invoicing, and budgeting.
Another problem is establishing the connections with the database, every time, when a query
is needed to be performed upon it. Exception-handling should also be taken into an account
during the system’s development due to eventual exceptions that may occur.
2. Problem’s Solution
This chapter involves some subsections that concern the basic scheme of resolving the given
task and comprise both the methods and tools of its development as well
2.1 Method
At the very commencement, I proceeded to a decision to carry out the development of my
task into the following steps:
1. Exploring the available development environments and techniques.
2. Database Analyzing.
3. Database design and Implementation.
4. Program’s Structure Analyzing.
5. GUI (Graphical User Interface) constructing.
6. Bringing all the stuff together (controls data binding and functions implementation).
7. Tests each one of these steps could be explained in some brief details as follows:
1. Exploring the available development environments and techniques
There is a lot of programming environments available to be used for such kind of elaborations.
The point is to choose such an environment that we will be able to operate with in a convenient
and easy way. This is more or less optional and individual process, that depends on the
developer’s experience as well.
2. Database Analyzing
It concerns all of the demands, put upon the database content and its functionality. The database
should be designed and implemented in a way that the user would expect it to be.
3. Database design and Implementation
This step is tightly related with the previous one as it is completely determined by the
requirements, analyzed and discussed in step2.
4. Program’s Structure Analyzing
The application program as an interface between the users and the database should be an
accurate “reflection” of the database on the screen; hence a well analyzed and defined structure
is needed.
5. GUI Constructing
After analyzing the program’s structure and defining what it should consist of, a graphical
representation of this stuff is needed in order to enable the user to interact with the data.
6. Bringing all the stuff together
The next step that should be taken is connecting the program with the database and
performing the necessary functionality upon all of the controls.
7. Tests
To ensure that everything works properly and as it has been expected, test performance has to
be done upon the system’s functionality.
• Proposed System
➢ User Friendly: The proposed system is user friendly because the retrieval and storing
of data is fast and data is maintained efficiently. Moreover, the graphical user interface
is provided in the proposed system, which provides user to deal with the system very
easily.
➢ Reports are easily generated: reports can be easily generated in the proposed system
so user can generate the report as per the requirement (monthly) or in the middle of the
session. User can give the notice to the students so he/she become regular.
➢ Very less paper work: The proposed system requires very less paper work. All the
data is feted into the computer immediately and reports can be generated through
computers. Moreover, work become very easy because there is no need to keep data on
papers.
➢ More secure: This is more secure because the Employee has their Login Id and
password.
The other advantages are:
• Availability of the information immediately after data captures.
• An integrated normalized relational database will be maintained for the process.
• Pre-defined queries for generation of any specific enquiry purposes.
Chapter 3
3. SYSTEM REQUIREMENTS
▪ SOFTWARE REQUIREMENTS:
2. Scalability: The application is a high performance, energy efficient, reliable and secure
infrastructure.
3. Maintainability: Very low maintenance for this application as is built only for a particular
store. It works very faster with huge storage.
Chapter 4
4.System overview
The Dairy Management System (DMS) provides a complete information system
for your milk. It can be used as a “stand alone” customer tracking system or it can be integrated
with other P&NP software such as Payroll. Unlike “off the shelf human resource software that
requires extensive setup time for nursing home use, DMS was specifically designed for milk
requirements. The Dairy Management System is a modular system. Its core is the Customer
Demographic Module. Once entered, all demographic and historical data are available to the
cow and buffalo fat rate, Staff Scheduling, In service Tracking, Time Clock System, and
Payroll modules. You may either buy just the modules you need or the entire package.
Default selection screens list only active customer with the option to also view those who have
been takes. Direct update from P&NP Payroll. We currently have an interface with Paychex,
Inc. to import employee demo-graphics into EMS and export time card data to their system for
processing. Other third-party payroll interfaces are available at extra cost.
Chapter 5
Schema diagram:
ER-DIAGRAM:
Database dms
ADMI 2022-12-23
1 admin 1234567899 [email protected] f925916e2754e5e03f75dd58a5733251
N 00:00:00
2022-12-23
2 Suraj Suraj 8975624331 [email protected] f925916e2754e5e03f75dd58a5733251
00:00:00
2022-12-23
3 Sushil Sushil 9481544777 [email protected] 41edd4833f5892a500f53f7ae6761aed
00:00:00
2022-12-23
4 Sachin Sachin 9845673421 [email protected] f925916e2754e5e03f75dd58a5733251
00:00:00
2022-12-23
5 Mani Mani 8543534324 [email protected] f925916e2754e5e03f75dd58a5733251
00:00:00
1 Gokul Milk 45
2 Nandini Milk 45
3 Govind Milk 42
4 KMF 40
11 AMUL 50
5.2 NORMALIZATION:
Normalization is a database technique that is used to organize tables in a manner that reduces redundancy
and dependency of data. Normalization is a scientific process of decomposing complex tables into smaller
and easily manageable tables. It is used to access data accurately from the database. Without
normalization, the database can be redundant, slow, inaccurate and inefficient. They might not produce
the expected data.
In the work, there exist such situation in table where the table accesses the cust_id from tables. This
situation leads to redundancy. This redundant data reduces the efficiency of the system and unnecessarily
wastes system memory to save the same data multiple times
Chapter 6
Apache HTTP Server, colloquially called Apache, is free and open-source cross-
platform web server software, released under the terms of Apache License 2.0. .......Originally
based on the NCSA HTTP server, development of Apache began in early 1995 after work on
the NCSA code stalled.
The Apache HTTP Server is cross-platform; as of 1 June 2017 92% of Apache HTTPS
Server copies run on Linux distributions. Version 2.0 improved support for non-Unix operating
systems such as Windows and OS/2.Old versions of Apache were ported to run on OpenVMS
and NetWare.
Originally based on the NCSA HTTP server, development of Apache began in early
1995 after work on the NCSA code stalled. Apache played a key role in the initial growth of
the World Wide Web, quickly overtaking NCSA HTTP as the dominant HTTP server, and has
remained most popular since April 1996. In 2009, it became the first web server software to
serve more than 100 million websites. As of July 2016, was estimated to serve 46% of all active
websites and 43% of the top million websites.
For delivery of static pages, Apache 2.2 series was considered significantly slower than
nginx and varnish. To address this issue, the Apache developers created the Event MPM, which
mixes the use of several processes and several threads per process in an asynchronous event-based
loop. This architecture, and the way it was implemented in the Apache 2.4 series, provides for
performance equivalent or slightly better than event-based web servers, as is cited by Jim Jagielski
and other independent sources. However, some independent, but significantly outdated,
benchmarks show that it still is half as fast as nginx.
MySQL:
MySQL is a central component of the LAMP open-source web application software stack.
LAMP is an acronym for "Linux, Apache, MySQL, Perl/PHP/Python". Applications that use
the MySQL database include: TYPO3, MoD, Joomla, WordPress, phpBB, MyBB, and Drupal.
MySQL is also used in many high-profile, large-scale websites,
MySQL is written in C and C++. Its SQL parser is written in yacc, but it uses a home
brewed lexical analyzer. MySQL works on many system platforms, including AIX, BSDi,
FreeBSD, HP-UX, eComStation, i5/OS, IRIX, Linux, macOS, Microsoft, Windows, NetBSD,
Novell Netware, OpenBSD, Open Solaris, OS/2 Wrap, QNX, Oracle Solaris, Symbian, Sun
OS, SCO OpenServer, SCO UnixWare, Sanos, Tru64. A port of MySQL to OpenVMS
also exists.
MySQL has received positive reviews, and reviewers noticed it "performs extremely
well in the average case" and that the "developer interfaces are there, and the documentation is
very, very good". It has also been tested to be a "fast, stable and true multi-user, multi- threaded
sql database server"
MySQL can be built and installed manually from source code, but it is more commonly
installed from a binary package unless special customizations are required. On most Linux
distributions, the package management system can download and install MySQL with minimal
effort, though further configuration is often required to adjust security and optimization
settings.
PHP:
PHP originally stood for Personal Home Page, but it now stands for the recursive
acronym PHP: Hypertext Preprocessor.
PHP code may be embedded into HTML or HTML5 markup, or it can be used in
combination with various web template systems, web content management systems and web
frameworks. PHP code is usually processed by a PHP interpreter implemented as a module in
the web server or as a Common Gateway Interface (CGI) executable. The web server
software combines the results of the interpreted and executed PHP code, which may be any
type of data, including images, with the generated web page. PHP code may also be executed
with a command-line interface (CLI) and can be used to implement standalone
graphical applications.
The standard PHP interpreter, powered by the Zend Engine, is free software released
under the PHP License. PHP has been widely ported and can be deployed on most web servers
on almost every operating system and platform, free of charge
The PHP interpreter only executes PHP code within its delimiters. Anything outside its
delimiters is not processed by PHP, although non-PHP text is still subject to control structures
described in PHP code. The most common delimiters are <?php to open and ?> to close PHP
sections. The shortened form <? also exists. This short delimiter makes script files less portable,
since support for them can be disabled in the local PHP configuration and it is therefore
discouraged.
The first form of delimiters, <?php and ?>, in XHTML and other XML documents,
creates correctly formed XML processing instructions. This means that the resulting mixture
of PHP code and other markup in the server-side file is itself well-formed XML.
Variables are prefixed with a dollar symbol, and a type does not need to be specified in advance.
PHP 5 introduced type hinting that allows functions to force their parameters to be
objects of a specific class, arrays, interfaces or callback functions. However, before PHP 7.0,
type hints could not be used with scalar types such as integer or string.[53]
Unlike function and class names, variable names are case sensitive. Both double-quoted ("")
and heredoc strings provide the ability to interpolate a variable's value into the string.[96]PHP
treats newlines as whitespace in the manner of a free-form language, and statements are
terminated by a semicolon. PHP has three types of comment syntax: /* */ marks block and
inline comments; // as well as # are used for one-line comments. The echo statement is one of
several facilities PHP provides to output text, e.g., to a web browser.
In terms of keywords and language syntax, PHP is similar to the C style syntax.
if conditions, for and while loops, and function returns are similar in syntax to languages such
as C, C++, C#, Java and Perl.
Receive HTML documents from a web server or from local storage and render
Hypertext Markup Language (HTML) is the standard markup language for creating web pages
and web applications. With Cascading Style Sheets (CSS) and JavaScript it forms a triad of
cornerstone technologies for the World Wide Web. Web browsers them into multimedia web
pages. HTML describes the structure of a web page semantically and originally included cues
for the appearance of the document.
HTML elements are the building blocks of HTML pages. With HTML constructs,
images and other objects, such as forms, may be embedded into the rendered page. It provides
a means to create structured documents by denoting structural semantics for text such as
headings, paragraphs, lists, links, quotes and other items. HTML elements are delineated by
tags, written using angle brackets. Tags such as <img>and<input >introduce content into the
page directly. Others such as<p> ... </p>surround and provide information about document text
and may include other tags as sub-elements. Browsers do not display the HTML tags, but use
them to interpret the content of the page.
HTML can embed programs written in a scripting language such as JavaScript which affect the
behavior and content of web pages. Inclusion of CSS defines the look and layout of content.
The World Wide Web Consortium (W3C),
maintainer of both the HTML and the CSS standards, has encouraged the use of CSS
over explicit presentational HTML.
The following is an example of the classic "Hello, World!" program, a common test
employed for comparing programming languages, scripting languages and markup languages.
Cascading Style Sheets (CSS) is a style sheet language used for describing the
presentation of a document written in a markup language. Although most often used to set the
visual style of web pages and user interfaces written in HTML and XHTML, the language can
be applied to any XML document, including plain XML, SVG and XUL, and is applicable to
rendering in speech, or on other media. Along with HTML and JavaScript, CSS is a cornerstone
technology used by most websites to create visually engaging webpages, user interfaces for
web applications, and user interfaces for many mobile applications.
Separation of formatting and content makes it possible to present the same markup
Separation of formatting and content makes it possible to present the same markup page
in different styles for different rendering methods, such as on-screen, in print, by voice, and on
Braille-based tactile devices. It can also display the web page differently depending on the
screen size or viewing device. Readers can also specify a different style sheet, such as a CSS
file stored on their own computer, to override the one the author specified.
Changes to the graphic design of a document (or hundreds of documents) can be applied
quickly and easily, by editing a few lines in the CSS file they use, rather than by changing
markup in the documents.
The CSS specification describes a priority scheme to determine which style rules apply
if more than one rule matches against a particular element. In this so-called cascade, priorities
are calculated and assigned to rules, so that the results are predictable.
The following example shows the style element that gives red colour to fonts:
JAVASCRIPT:
JavaScript often abbreviated as JS, is a high-level, dynamic, weakly typed, prototype- based,
multi-paradigm, and interpreted programming language. Alongside HTML and CSS, JavaScript
is one of the three core technologies of World Wide Webcontent production. It is used to
make webpages interactive and provide online programs, including video games. The majority
of websites employ it, and all modern web browsers support it without the need for plug-ins
by means of a built-in JavaScript engine. Each of the many JavaScript engines represent a
different implementation of JavaScript, all based on
the ECMAScript specification, with some engines not supporting the spec fully, and with
many engines supporting additional features beyond ECMA.
Initially only implemented client-side in web browsers, JavaScript engines are now
embedded in many other types of host software, including server-side in web servers and
databases, and in non-web programs such as word processors and PDF software, and in runtime
environments that make JavaScript available for writing mobile and desktop applications,
including desktop widgets.
Although there are strong outward similarities between JavaScript and Java, including
language name, syntax, and respective standard libraries, the two languages are distinct and
differ greatly in design; JavaScript was influenced by programming languages such as Self and
Scheme.
Pseudo Code
Pseudocode is an informal high-level description of the operating principle of a
computer program or other algorithm. It uses the structural conventions of a
normal programming language, but is intended for human reading rather than
machine reading.
Algorithm for
Admin login Step
1: BEGIN
Step 2: Enter username and password
Step 3: Verify the credentials
Step 4: If Data match, then proceed to the Admin List page Else show login
failed
Step 5: End if Step 6: END
Sign-up
Steps 1: BEGIN
Step 4: End if
Step 5: END
Step 1: BEGIN
Step 2: Enter username and password
Step 3: Verify the credentials from User Table
Step 4: If Credentials match, then proceed to the Customer
List page Else show login failed
Step 5: End if Step 6: END
Step 1: BEGIN
Step 2: Get all the necessary values required for insertion into variable defined in the method.
Step 3: Prepare the SQL statement using PDO. This is done to prevent SQL Injection attacks into
our system.
Step 4: Define the query for insertion as stated above.
Step 5: Execute the Query using the exucute() method provided by the
PDO object.
Step 6: END
Step 6: END
Step 5: END
Conclusion:
The Dairy organization information system has been developed for aim of dairy enterprise
people or to manage their Dairy basis or and business activities that is taking place in their
dairy routine, the system comprises of the programming languages VB. Net and SQL server
2005 in process of store data in tables which has been create in SQL server. In term of the
previous old system do use papers on writing information in that paper, but per now we have
get new technology that has come to assist us and make thing easily for dairy organization to
make their record on database procedure as save data on it and therefore, they should use
for memory use in future as for in monthly or as daily report to make think easy.
Chapter 7
RESULTS:
WEB PAGE:
ADMIN DASHBOARD:
ADDING CATEGORIES:
MANAGING CATEGORIES:
ADDING COMPANY:
MANAGING COMPANIES:
ADDING PRODUCTS:
MANAGING PRODUCTS:
VIEWING INVOICES:
USER LOGIN:
USER DASHBOARD:
SHOPPING:
SHOPPING CART:
BUYING/GENERATION OF INVOICE:
UPDATING PROFILE:
CHANGING PASSWORD:
REFERENCES:
• Book referred Programming the world wide web- Robert W.sebesta, 4th Edition,
Pearson Education, 2008
• PHP – Writing PHP script and using variable R. Berdan.
WEB LINK :
1. http://php-guide-line.blogspot.in/
2. http://www.programmingfacts.com/
3. http://www.php.happycoding.com/
4. http://www.dreamincode.net