Bus Root and Timing Display System
Bus Root and Timing Display System
ABSTRACT
This project is entitled as “bus root and timing display system” which has developed in PHP as
front end mysql server as backend. This project specially developed for all passengers. When the
passenger want to travel city to village or village to particular area in city did not know the bus
available details. It’s big problem for all passengers.
In this project contain the details about all area names, available buses, fare and land mark. Once
the passenger or user register in this website. Anywhere and anytime the user is able to access
the bus route details.
When the user gives the starting and reaching place (area name) the project will display the area
name, available buses, bus fare amount, and number of stops, near land mark details.
MODULES DESIGN
Admin login:
This module contains the details about the admin login details such as admin name and
password.
This module contains the details about the bus root information such as bus number, from place,
to place, number of stops, stops names, timing details and ticket fair amount.
This module contains the details about the driver and conductor information such as driver name,
conductor name, shifts timing, bus number, from place and to place.
Customer registration:
This module contains the details about the customer registration such as customer name, id,
password, address, phone number and mail id.
Customer login:
This module contains the details about the customer login such as customer name and password.
Existing system:
Existing system contain the many drawbacks. The person does not know the all available bus
details. When the passenger want to travel city to village or village to particular area in city did
not know the bus available details. It’s big problem for all passengers.
Drawback:
Proposed system:
This project specially developed for all passengers. When the passenger want to travel city to
village or village to particular area in city did not know the bus available details. It’s big problem
for all passengers.
When the user enter the from place to reaching place(area name) after the project will display the
area name, available buses, bus fair amount, number of stops, near land mark details.
Advantages:
3. SYSTEM SPECIFICATION
Platform : Windows 7
Ram : 512MB
Hypertext refers to the way in which Web pages (HTML documents) are linked together.
When you click a link in a Web page, you are using hypertext. It is this system of linking
documents that has made the World Wide Web the global phenomenon it has become. Markup
Language describes how HTML works. With a markup language, you simply “mark up” a text
document with tags that tell a Web browser how to structure it. HTML originally was developed
with the intent of defining the structure of documents (headings, paragraphs, lists, and so forth)
to facilitate the sharing of scientific information between researchers.
The first step toward understanding and working with HTML is learning the basic terms
that describe most of the functions of this language. You will come across these terms repeatedly
as you use HTML and if you understand them, you will have progressed a long way toward
comprehending HTML, not to mention XHTML.
ELEMENTS
All HTML pages are made up of elements. Think of an element as a container in which a
portion of a page is placed. Whatever is contained inside the element will take on the
characteristics of that element. For example, to identify a heading on a page, you would enclose
it in a heading element <h1> </h1>. If you want to create a table, you put the table information
inside the table element <table> </table>. To construct a form, you need the form element
<form> </form>.
TAGS
Often, you’ll find the terms element and tag used interchangeably. It’s fairly common,
but not strictly accurate. An element is made up of two tags: an opening tag and a closing tag.
Although it might seem somewhat picky to make this distinction, when you begin to work with
XHTML (Extensible Hypertext Markup Language), it will be a very important difference to
remember.
All tags are constructed the same way. The tag begins with a “less than” sign (<), then the
element name, followed by a “greater than” sign (>). For example, an opening tag for
the paragraph element would look like this: <p>. The only difference in a closing tag is that the
closing tag includes a slash (/) before the element name: </p>. Your content goes between the
tags. A simple paragraph might look like this :<p>this is an HTML paragraph. </p>
Some elements do not use closing tags because they do not enclose content. These are
called empty elements. For example, the line break element <br> does not require a closing tag.
In the case of empty elements, add a closing slash after the element name, like this: <br />. When
a browser sees the slash, it will recognize the element as one that does not need a separate,
closing tag.
PHP
PHP code is interpreted by a web server with a PHP processor module, which generates
the resulting web page: PHP commands can be embedded directly into an HTML source
document rather than calling an external file to process data. It has also evolved to include
a command-line interface capability and can be used in standalone graphical applications.PHP
is free software released under the PHP License. PHP can be deployed on most web servers and
also as a standalone shell on almost every operating and platform, free of charge.
MYSQL
MySQL is the world's most popular open source database software, with over 100 million
copies of its software downloaded or distributed throughout its history. With its superior speed,
reliability, and ease of use, MySQL has become the preferred choice for Web, Web 2.0, SaaS,
ISV, Telecom companies and forward-thinking corporate IT Managers because it eliminates the
major problems associated with downtime, maintenance and administration for modern, online
applications.
Many of the world's largest and fastest-growing organizations use MySQL to save time and
money powering their high-volume Web sites, critical business systems, and packaged software
including industry leaders such as Yahoo!, Alcatel-Lucent, Google, Nokia, YouTube, Wikipedia,
and Booking.com.
4. SYSTEM DESIGN
Input design process is to design the various inputs needed into a machine-oriented
format. The main objective is to create an input layout that is easy to follow and to avoid
operator errors. The design phase includes designing of various input files used to develop the
system. Separate master data and entries has been developed and designed in this phase. Master
file contains relatively permanent details while the transaction files contain temporary details that
are updated in regular interval of time. The entry forms used are Customer details entry, Area
details entry, Parking entry and billing entry.
Computer output is the most important and direct source of information to the user.
Efficient intelligible output design should improve the system's relationship with the user and
health in decision-making.
Output design generally refers to the results generated by the system. For many end users
on the basis of the output the evaluate the usefulness of the application. Efficient software must
be able to produce and efficient effective reports.
Data flow diagram
Level-0
Bus_tb
Update details
Bus details
ER diagram:
Name
Id pwd
Id Pwd
User Register
Register
B_no start
Root details
Search
Bus details
Root Id
from
Time 1
Root Id timing details
Time 2
Root details
Time 3
Screen shot:
SYSTEM TESTING AND IMPLEMENTATION
SYSTEM TESTING
It is the process of exercising software with the intent of finding and ultimately
correcting errors. This fundamental philosophy does not change for web applications,
because web based system and applications reside on network and inter-operate with
many different operating systems, browsers, hardware platforms and communication
protocols. Thus searching for errors is significant challenge for web applications.
Testing issues:
TESTING METHODLOGIES
System testing is the state of implementation, which is aimed at ensuring that the
system works accurately and efficiently as expect before live operation, commences. It
certifies that the whole set of programs hang together System testing requires a test plan,
that consists of several key activities and steps for run program, string, system and user
acceptance testing. The implementation of newly design package is important in adopting
a successful new system
Testing is important stage in software development. System test is
implementation should be a confirmation that all is correct and an opportunity to show
the users that the system works as they expected It accounts the largest percentage of
technical effort in software development process.
Testing phase is the development phase that validates the code against the
functional specifications. Testing is a vital to the achievement of the system goals. The
objective of testing is to discover errors. To fulfill this objective a series of test step such
as the unit test, integration test, validation and system test where planned and executed.
Unit testing
Unit testing is testing changes made in a existing or new program this test is
carried out during the programming and each module is found to be working
satisfactorily. For example in the registration form after entering all the fields we click
the submit button. When submit button is clicked, all the data in form are validated. Only
after validation entries will be added to the database.
Functional test involve exercising the code with nominal input values for
which the expected results are known as well as boundary values and special values.
Example: the unit testing performed in the registration module. All the data
are correctly passed to the form then stored in the database.
VALIDATION TESTING
Software validation is achieved through a serious of testes that demonstrate
conformity with requirements. Thus the proposed system under consideration has been
tested by validation & found to be working satisfactory.
Example: the age allowed the valid data (age value) only.
OUTPUT TESTING
Asking the user about the format required by them tests the output generated
by the system under consideration .It can be done in two ways, One on screen and other
on printer format. The output format on the screen is found to be correct as the format
designed n system test.
Example: this testing performed on the registration page. The input data are
stored in the correct database. Expected output is displayed on the screen. Register
successfully message displayed on the screen.
SYSTEM TESTING
2. Acceptance testing
Integrated testing
Objective is to take unit tested modules and build a program structure that
has been dictated by design
Acceptance testing
The acceptance testing is the final stage of the user the various possibilities
of the data are entered and the results are tested.
Validation testing
Software validation is achieved through a series of test that demonstrates the
conformity and requirements. Thus the proposed system under consideration has to be
tested by validation and found to be working satisfactorily. For example in customer
enters phone number field should contain number otherwise it produces an error message
similarly in all the forms the fields are validated
Testing results
All the tests should be traceable to customer requirements the focus of testing will
shift progressively from programs Exhaustive testing is not possible To be more effective
testing should be which has probability of finding errors
QUALITY ASSURANCE
It’s included in the industry standard (IEEE 1993) On the development process quality
assurance process is integrated into a linear development cycle through validation and
verification performed at crucial system development steps .The goals of the management
is to institute and monitor a quality assurance program with in the development process
Correctness: The extent to which the program meets the system specifications and user
objectives
Reliability: The degree to which the system performs its intended functions overtime
Maintainability: To use with which program errors are located and corrected
GENERIC RISKS:
Risk identification is the systematic attempt to specify threats to the project plan
(estimates the schedule resource overloading etc.). By identifying know and predictable
risk the first step is to avoiding them. When possible and controlling them when
necessary there are two types of risks
Generic Risk
Product specific risk
Generic risks are potential threats to every software project. Only those with a
clear understanding of technology can identify product specific risk. The people and the
environment that is specific to the project at a hand and to identify the product specific
risk and the project the plan and the software statement of scope are examined and
answer to the following question is developed.
What special characteristics of this product may threaten the project plan one
method for identifying risk is to create a risk item and checklists. The checklist can be
used for risk identification and focus on some subset to know and predictable risk in the
following sub categories.
Product risk
Risk associated with overall size of software to built or modified
Business imparts
Risk associated with constraints imposed with management
Customer characteristics
Risk associated with sophisticated of the customer and developers ability to communicate
with the customer in a timely manner.
Project Risks
It identify a potential budgetary, schedule, personnel like staffing, organizing,
resource, customer requirement, problems and their impact on a software project
Technical risks
Technical risks identify potential design implementation interface, verification,
and maintenance problems.
Any system developed should be secured & protected against possible hazards.
Security measures are provided to prevent unauthorized access to database at various
levels. Password protection & simple procedures to change the unauthorized access are
provided to the users.
The user will have to enter the user name and password and if it is validated he
can participate in auction. Otherwise if he/she is a new user he should get registered and
then he can place an order
When he/she registered they should provide authentication through jpg files (like
ration card Xerox, voter identity card Xerox). A multi layer security architecture
comprising firewalls filtering routers encryption & digital certification must be assured in
this project in real time that order details are protected from unauthorized access.
SYSTEM IMPLEMENTATION
Implementation is the stage in the project where the theoretical design is turned
into a working system. The most crucial stage is achieving a successful new system and
giving a user confidence in that the new system will work efficiently and effectively in
the implementation stage. The stage consist of
IMPLEMENTATION PROCEDURES
The implementation phase is less creative than system design. A system design
may be dropped at any time prior to implementation, although it becomes more difficult
when it goes to the design phase. The final report of the implementation phase includes
procedural flowcharts, record layouts, and a workable plan for implementing the
candidate system design into a operational design.
USER TRAINING
It is designed to prepare the users for testing & converting the system. There is
several ways to trail the users they are:
1) User manual
2) Help screens
3) Training demonstrations.
1) User manual:
The summary of important functions about the system & software can be
provided as a document to the user. User training is designed to prepare the user for
testing and convening a system
The summary of important functions about the system and the software can be provided
as a document to the user
3) Training demonstration:
SYSTEM MAINTENANCE
1. Perfective maintenance
2. Preventive maintenance
BIBLIOGRAPHY
Books
http://www.homeandlearn.co.uk/NET/nets12p1.html
www.w3schools.com/ASP.Net
www.w3schools.com/VB.Net
www.w3schools.com/CSS
5. CONCLUSION
The “BUS ROOT AND TIMING DISPLAY SYSTEM “has been developed to satisfy all
proposed requirements. The process used to send the social complaint to the government officer
and this project more simple and easy. The system is highly scalable and user friendly. Almost
all the system objectives have been met. The system has been tested under all criteria. The
system minimizes the problem arising in the existing manual system and it eliminates the human
errors to zero level. The design of the database is flexible ensuring that the system can be
implemented. It is implemented and gone through all validation.
All phases of development were conceived using methodologies. User with little training
can get the required report. The software executes successfully by fulfilling the objectives of the
project. Further extensions to this system can be made required with minor modifications.
We designed the project in asp.net and publish the project in the online for future.
Source code:
Imports System.Data.SqlClient
Imports System.IO
Public Class complaint
Dim con As New SqlConnection("Data Source=TMINDZ-17\SQLEXPRESS;Initial
Catalog=clean;User ID=sa; pwd=sql;")
Dim com As New SqlCommand
Dim adp As New SqlDataAdapter
Dim ds As DataSet
Dim qry, str As String
Dim i As Integer
Dim j As Integer
Dim fn As String
Dim p As String
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
On Error GoTo fix
'Display Picture File
OpenFileDialog1.ShowDialog()
PictureBox1.Image = Image.FromFile(OpenFileDialog1.FileName)
fix:
Exit Sub
End Sub
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
ComboBox1.Text = "[email protected]"
TextBox7.Text = ""
TextBox8.Text = ""
PictureBox1.Image = Nothing
End Sub
Private Sub DrawToScale(ByVal img As Image)
PictureBox1.Image = New Bitmap(img)
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button3.Click
Me.Hide()
End Sub
PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage
Try
Dim p As String
str = "select cmpid from complaint"
com = New SqlCommand(Str, con)
adp = New SqlDataAdapter(com)
ds = New DataSet
adp.Fill(ds, "complaint")
i = ds.Tables("complaint").Rows.Count
p = ds.Tables("complaint").Rows(i - 1)(0)
p = Mid(p, 4)
p = Val(p) + 1
If Len(p) = 1 Then
p = "000" + p
ElseIf Len(p) = 2 Then
p = "00" + p
ElseIf Len(p) = 3 Then
p = "0" + p
End If
TextBox1.Text = "cmp" + p
Catch ex As Exception
TextBox1.Text = "cmp0001"
End Try
ComboBox1.Text = "[email protected]"
Try
End Try
End Sub
Dim sql As String = "SELECT photo FROM complaint WHERE cmpid='" & fn & "'"
con.Open()
con.Close()
Catch ex As Exception
Try
qry = "select subject,date,uid,uname,cto,addr,area from complaint where cmpid='" + fn +
"'"
com = New SqlCommand(qry, con)
adp = New SqlDataAdapter(com)
ds = New DataSet
adp.Fill(ds, "complaint")
TextBox1.Text = fn
TextBox2.Text = ds.Tables("complaint").Rows(0)(0)
TextBox3.Text = ds.Tables("complaint").Rows(0)(1)
TextBox4.Text = ds.Tables("complaint").Rows(0)(2)
TextBox5.Text = ds.Tables("complaint").Rows(0)(3)
ComboBox1.Text = ds.Tables("complaint").Rows(0)(4)
TextBox7.Text = ds.Tables("complaint").Rows(0)(5)
TextBox8.Text = ds.Tables("complaint").Rows(0)(6)
Catch ex As Exception
End Try
End Sub
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
ComboBox1.Text = "[email protected]"
TextBox7.Text = ""
TextBox8.Text = ""
PictureBox1.Image = Nothing
End Sub
End Sub
End Class
Imports System.Data.SqlClient
Imports System.IO
Public Class media
Dim con As New SqlConnection("Data Source=TMINDZ-17\SQLEXPRESS;Initial
Catalog=clean;User ID=sa; pwd=sql;")
Dim cmd As New SqlCommand
Dim str As String
Dim adp As New SqlDataAdapter
Dim ds As New DataSet
Dim i As Integer
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
If TextBox1.Text = "" Or TextBox2.Text = "" Or TextBox3.Text = "" Or TextBox4.Text =
"" Then
MsgBox("enter all data")
Else
con.Open()
str = "insert into media values( '" & TextBox1.Text & "','" & TextBox2.Text & "','" &
TextBox3.Text & "','" & TextBox4.Text & "','" & TextBox5.Text & "')"
cmd = New SqlCommand(str, con)
cmd.ExecuteNonQuery()
MsgBox("successfully saved")
End If
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
End Sub
Catch ex As Exception
TextBox1.Text = "med0001"
End Try
End Sub
End Sub
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub