Final Water Billing
Final Water Billing
Final Water Billing
1. INTRODUCTION:
2. SYSTEM STUDY:
2.1 Scope:
Our project aims at Business process automation, i.e. we have tried to
computerize various processes of Water Billing System. In the sector
of Water board we have computerizes their department and stock
maintenance.
Scope of any software depends upon the following things:
1. It satisfy the user requirement
2. Be easy to understand by the user and operator
3. Be easy to operate
4. Have a good user interface
5. Be expandable
6. Delivered on schedule within the budget.
We have tried to make such type of software, which satisfy the
above given requirement.
Water Billing System
3. SYSTEM ANALYSIS:
3.1 Identification Of Problem:
Feasibility study is the phase in which the analyst checks that the
candidate system is feasible for the organization or not. This entails
identification, description & evaluation of the system. Feasibility study
is done to select the best system that meets the performance
requirement.
Water Billing System
5. Keyboard.
6. Mouse.
7. One Printer for printing the Water bill.
5. INTRODUCTION TO TOOLS:
PHP is an intuitive, server side scripting language. Like any other scripting
language it allows developers to build logic into the creation of web page
content and handle data returned from a web browser. PHP also contains a
number of extensions that make it easy to interact with databases, extracting
data to be displayed on a web page and storing information entered by a
web site visitor back into the database.
commands the computer then executes to achieve the results defined in the
script by the web developer.
Typically the web server doesn't pay any attention to the content of the file
it has just transmitted to the web browser. As far as the web server is
concerned the web browser understands the content of the web page file and
knows how to interpret and render it so that it appears as the web designer
intended.
Now let's consider what kind of web page content a web browser
understands. These days a web page is likely to consist of HTML, XHTML
and JavaScript. The web browser contains code that tells it what to do with
these types of content. For example, it understands the structure HTML in
terms of rendering the page and it has a JavaScript interpreter built in that
knows how to execute the instructions in a JavaScript script. A web
browser, however, knows absolutely nothing about any PHP script that may
be embedded in an HTML document. If a browser was served a web page
containing PHP it would not know how to interpret that code.
Given that a web browser knows nothing about PHP in a web page, then
clearly something has to be done with any PHP script in the page before it
reaches the browser. This is where the PHP pre-processing module comes
Water Billing System
in. The PHP module is, as mentioned previously, integrated into the web
server. The module tells the web server that when a page is to be served
which contains PHP script (identified by special markers) that it is to pass
that script to the PHP pre-processing module and wait for the PHP module
to send it some content to replace that script fragment. The PHP processing
module understands PHP, executes the PHP script written by the web
developer and, based on the script instructions, creates output that the
browser will understand. The web server substitutes the content provided by
the PHP pre-processor module in place of the PHP script in the web page
and sends it to the browser where it is rendered for the user to view.
To help understand this concept let's take a quick look at a before and after
scenario. The following HTML contains some PHP script that is designed
to output an HTML paragraph tag:
<html>
<head>
<title>A PHP Example</title>
</head>
<body>
<?php
echo '<p>This line of HTML was generated by a PHP script embedded
into an HTML document</p>';
?>
</body>
</html>
The above example looks very much like standard HTML until you reach
the part surrounded by <?php and ?>. These are markers that designate
where the embedded PHP script begins and ends. When the web server
Water Billing System
finds this it sends it to the PHP module. The PHP module interprets it,
converts it to HTML and sends it back to the web server. The web server, in
turn, sends the following to the browser:
<html>
<head>
<title>A PHP Example</title>
</head>
<body>
</body>
</html>
Once loaded into the browser, it is rendered just like any other web page.
The fact that the web page originally contained PHP is completely
transparent to the web browser.
specific content will then appear in the HTML page in place of the PHP
script when the page is loaded into the browser.
Perhaps one of the most significant advantages of PHP to some is the ease
with which it interacts with the MySQL database to retrieve and store data.
Summary
In summary, PHP has many advantages, and those listed here are just some
of the reasons for the success of PHP. Many people will offer their own
reasons for using PHP - and this fact alone is testament to the power and
flexibility of PHP.
MySQL is a fast, easy-to-use RDBMS being used for many small and big
businesses. MySQL is developed, marketed and supported by MySQL AB,
which is a Swedish company. MySQL is becoming so popular because of
many good reasons −
MySQL works very quickly and works well even with large data sets.
MySQL is very friendly to PHP, the most appreciated language for web
development.
Water Billing System
Code
Design Design Code Test
Water Billing System
City Text 20
City Code Number Auto
State Text 20
Code
Design Design Code Test
Water Billing System
These are the tables, which are used in the project development for
storing different record. Every table has a primary key for storing
unique record . we have also used foreign key for making relationship
between the tables.
6.2 Input Stream:
Input stream shows the way by which information are passed in to the
table as record. We have used mainly two forms in the project
inputting the record in the table first is commercial bill record form
and second is domestic bill record form. By these form we input the
records of the table name, address, service centre, customer_id etc
6.3 Output Stream:
Input stream shows the way by which information viewed by the user
which are stored in the database.
Water Billing System
7. ARCHITECTURAL DESIGN:
Management time
Time spent by system analysis team
Cost of doing the full system study
Estimated cost of hardware
Estimated cost of software
Operational Feasibility:
Operational feasibility is dependent upon determining human
resources for the project. It refers to projecting whether the system
will operate and be used once it is installed.
Once installed the software is often used for many years. However
both the organization and user change. The environment may also
change over a period of time; therefore The software has to be
maintained.
7.2 DFD(Data Flow Diagram):
They are the versatile diagramming tools used for structured
system analysis. They are specifically used for process modeling
which involves graphically representing the function or process,
which captures, manipulate, store, and distribute data between a
system and its environment and between components within a
system.
7.3 CONTEXT DIAGRAM:
This is the start point of data flow diagramming process. It is denoted
as the highest-level diagram. It gives an overview of an organizational
system that shows the system boundaries, external entities that
interact with the system and the major information flows between
the entities and the system
8.1 MODULE:
There are mainly four module in our project. These are as follows:
Water Billing System
LOGIN FORM
Water Billing System
Water Billing System
9. CODING:
9.1 Coding of Login Form:
Private Sub cmdCancle_Click()
End
End Sub
Dim u, u1 As Long
Dim X, Y, s, d1, d2, d, f As String
Private Sub cmdcclear_Click()
txtcfix.Text = ""
txtced.Text = ""
txtctotal.Text = ""
txtced.Text = ""
txtcsc.Text = ""
txtcec.Text = ""
txtcunit.Text = ""
txtcunit.SetFocus
End Sub
End If
End Sub
adobill.Recordset.MoveNext
cmd1First.Enabled = True
cmd4Last.Enabled = True
If (adocom.Recordset.AbsolutePosition) = adPosEOF And
adobill.Recordset.AbsolutePosition = adPosEOF Then
MsgBox ("no other record")
adocom.Refresh
adobill.Refresh
End If
End Sub
End Sub
End Sub
End Sub
txtfix.Text = ""
txted.Text = ""
txttotal.Text = ""
txted.Text = ""
txtsc.Text = ""
txtec.Text = ""
txtunit.Text = ""
tbtxt.Text = ""
txtunit.SetFocus
End Sub
End Sub
Else
tbtxt.Text = "Rs" & (X + Y + z + p + d + f) - Val(txtbp.Text)
End If
End Sub
cmd4Last.Enabled = True
If adocust.Recordset.AbsolutePosition = adPosBOF Then
MsgBox ("no other record")
adocust.Refresh
End If
End Sub
adodesc.Recordset.Delete
MsgBox "Record is Deleted"
adocust.Refresh
adodesc.Refresh
Else
adocust.Refresh
adodesc.Refresh
End If
End Sub
End Sub
End Sub
When the box testing tests all the independent part within a module a
logical decisions on their true and the false side are exercised , all
loops and bounds within their operational bounds were exercised and
internal data structure to ensure their validity were exercised once.
Integration Testing:
Integration testing aims at constructing the program structure while
at the same constructing tests to uncover errors associated with
interfacing the modules. modules are integrated by using the top
down approach.
Validation Testing:
Validation testing was performed to ensure that all the functional and
performance requirements are met.
System Testing:
It is executing programs to check logical changes made in it with
intention of finding errors. a system is tested for online response,
volume of transaction, recovery from failure etc. System testing is
done to ensure that the system satisfies all the user requirements.
Water Billing System
11. CONCLUSION
We have tried to develop a system that can be a great help for the
owner of the referred Water department to receiving bill from the
customer. Despite all our efforts there are some bugs in the system,
which are still to be removed. This is possible by the testing being
done in the system.
We have left all the options open so that if there is any other future
requirement in the system by the user for the enhancement of the
system then it is possible to implement them.
In the last we would like to thanks all the persons involved in the
development of the system directly or indirectly. We are also thankful
to the Rajendra Nagar South Division Water Department for so much
taken by them in helping to develop the system.
We hope that the project will serve its purpose for which it is develop
there by underlining success of process.
Water Billing System