Project Report
Project Report
Project Report
Signature
Sahana R.Kati
Veena K.Ranatur
ACKNOWLEDGEMENT
The sense of containment and elation that accompanies the
successful compilation of this project would be incomplete without
mentioning the names of the people, who helped us in completing this
project. People whose constant guidance, support and encouragement
results in its realization.
The satisfaction and happiness we feel at the successful
compilation of our project entitled “TONTADARY
TELECOMMUNICATION” would be incomplete if we did not
remember the people who made it possible and crowned our efforts
with success.
We take the privilege of thanking our Principal of Jagadguru
Tontadarya College Gadag, Prof.C.Lingareddy for his timely help and
inspiration during the tenure of this course.
We take the privilege of thanking our BCA co-ordinator of Jagadguru
Tontadarya College Gadag, Sudeep Kundagol and project guide
P.D.Renavkar for the dynamic guidance and encouragement.We are
deeply grateful to our all lecturer for guidance throughout the study.
. We raise our mind and heart in gratitude to the Almighty God for
showering His blessings on us. Thanks to our family who have
rendered constant support, concern and understanding.
. Project Associates:
Sahana R.Kati 15U11438
ABSTRACT
CHAPTER 1: INTRODUCTION
CHAPTER 6: CODING
CHAPTER 8:CONCLUSION
CHAPTER 10:BIBLIOGRAPHY
CHAPTER 1
INTRODUCTION
At Tontadary Communication center, experienced mobile engineers can
perform prompt service on all makes and models of the Mobiles. The
qualified technical staff diagnoses challenging problems for all models.
customers can send their mobiles Repair Request , to get Mobile Repair
Estimate.
Simply after filling the Mobile repair estimate form service center will
send the customers estimate. If the customer accepts the estimate service
center will start repairing the Mobile. mobile repairing engineers are
experienced in troubleshooting and fixing the most challenging
problems. Moreover, if a customer has faulty or broken mobile sitting
around not being used, Service center will buy it from the customer at a
fair price. Users have to click Sell your Mobile and provide service
center with some information about the mobile. Mobile Service Center
will respond shortly with an offer.
I am confident that this software package can be readily used by
non-programming personal avoiding human handled chance of error.
And provides a facility to maintain the stock details of accessories. This
project is used by two types of users
i. Service Engineer.
ii. Administrator (management of the shop).
1.1 OBJECTIVES OF THE PROJECT:
v. Report Generation:
• Add information about the accessories and spare parts available in
the company.
• To get rates of new Accessories.
• To sale you Accessories.
• To get rates of service.
CHAPTER 2
LITERATURE SURVEY
Database design is the first step of design activities that is modeled after
analysis of data collected at requirements analysis reveals the actual data
to be stored and the diresction of flow of data.
The general objective of database design is to make the information
access easy,quick,inexpensive and flexible.In the network environment
several users use the system at different levels of authorization;hence the
authorization level.
Database:Admin Register
This table gives information about the admin.This table contains
fields like loginid and password.
Database:Service Engineer
Database:Service Order
Database:Accessories
Database:Jobworks
Database:Sale Receipt
Database:Sale Details
Database:Service Receipt
4.3 USE CASE DIAGRAM
HOME PAGE
ADMIN LOGIN
ADMIN PAGE
SERVICE ENGINEER PAGE
CHAPTER 5
TECHOLOGIES USED IN PROJECT
FEATURES Of HTML:
PHP started out as a small open source project that evolved as more and
more people found out how useful it was. Rasmus Lerdorf unleashed the
first version of PHP way back in 1994.
PHP performs system functions, i.e. from files on a system it can create,
open, read, write, and close them. The other uses of PHP are:
PHP can handle forms, i.e. gather data from files, save data to a
file, through email you can send data, return data to the user.
Using PHP, you can restrict users to access some pages of your
website.
Characteristics of PHP:
Five important characteristics make PHP's practical nature possible:
Simplicity
Efficiency
Security
Flexibility
Familiarity
"Hello World" Script in PHP
To get a feel for PHP, first start with simple PHP scripts. Since "Hello,
World!" is an essential example, first we will create a friendly little
"Hello, World!" script.
As mentioned earlier, PHP is embedded in HTML. That means that in
amongst your normal HTML (or XHTML if you're cutting-edge) you'll
have PHP statements like this:
<html>
<head>
<title>Hello World</title>
<body>
<?php echo "Hello, World!";?>
</body>
</html>
Hello, World!
If you examine the HTML output of the above example, you'll notice
that the PHP code is not present in the file sent from the server to your
Web browser. All of the PHP present in the Web page is processed and
stripped from the page; the only thing returned to the client from the
Web server is pure HTML output.
All PHP code must be included inside one of the three special markup
tags are recognized by the PHP Parser.
It is, however, limited. You can not write stand alone application in it,
and it has little capability for reading or writing files. Moreover,
JavaScript can run only in the presence of an interpreter, either in a web
server or a web browser.
Java script is a fairly simple language which is only suitable for simple
task. The language is best suited to task which run for short timed and is
most commonly used to manipulate the pieces of the documentation
object model.
The idea behind finding java script is to find a Language which could be
used to provide client –side in-browser application but which was not as
complicated as java.
XAMPP stands for Cross-Platform (X), Apache (A), MySQL (M), PHP
(P) and Perl (P). It is a simple, lightweight Apache distribution that
makes it extremely easy for developers to create a local web server for
testing purposes. Everything you need to set up a web server – server
application (Apache), database (MySQL), and scripting language
(PHP) – is included in a simple extractable file. XAMPP is also cross-
platform, which means it works equally well on Linux, Mac and
Windows. Since most actual web server deployments use the same
components as XAMPP, it makes transitioning from a local test server
to a live server is extremely easy as well.
The following list shows the most important properties of MySQL. This
section is directed to the reader who already has some knowledge of
relational databases. We will use some terminology from the relational
database world without defining our terms exactly. On the other hand,
the explanations should make it possible for database novices to
understand to some extent what we are talking about.
Stored procedures: Here we are dealing with SQL code that is stored in
the database system.
Stored procedures (SPs for short) are generally used to simplify certain
steps, such as inserting or deleting a data record. For client programmers
this has the advantage that they do not have to process the tables
directly, but can rely on SPs. Like views, SPs help in the administration
of large database projects. SPs can also increase efficiency. MySQL has
supported SPs since version 5.0.
Triggers: Triggers are SQL commands that are automatically executed
by the server in certain database operations (INSERT, UPDATE, and
DELETE). MySQL has supported triggers in a limited form from
version 5.0, and additional functionality is promised for version 5.1.
2. High Performance:
A unique storage-engine architecture allows database professionals to
configure the MySQL database server specifically for particular
applications, with the end result being amazing performance results.
Whether the intended application is a high-speed transactional
processing system or a high-volume web site that services a billion
queries a day, MySQL can meet the most demanding performance
expectations of any system. With high-speed load utilities, distinctive
memory caches, full text indexes, and other performance-enhancing
mechanisms, MySQL offers all the right ammunition for today's critical
business systems.
3. High Availability:
Rock-solid reliability and constant availability are hallmarks of MySQL,
with customers relying on MySQL to guarantee around-the-clock
uptime. MySQL offers a variety of high-availability options from high-
speed master/slave replication configurations, to specialized Cluster
servers offering instant failover, to third party vendors offering unique
high-availability solutions for the MySQL database server.
Other kinds of data stores can be used, such as files on the file system or
large hash tables in memory, but data fetching and writing would not be
so fast and easy with those types of systems.
MySQL Database:
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 is released under an open-source license. So you have
nothing to pay to use it.
MySQL works very quickly and works well even with large data
sets.
PHP Syntax
MySQL works very well in combination of various programming
languages like PERL, C, C++, JAVA and PHP. Out of these languages,
PHP is the most popular one because of its web application development
capabilities.
1. You know how your finished site looks. You can choose the
template that appeals to you. You need not rely on a web
developer to get a good looking web site
.
2.Faster turnaround. You need not spend a lot of time on getting
the colors and layout right. You can go straight to changing text
and proceed with programming.
<html>
<head>
<meta charset="UTF-8">
<title></title>
<?php
include './admin_link.php';
?>
</head>
<body>
<?php
include './admin_header.php';
?>
<form method="POST" action="addaccessories_prc.php">
<table>
<tr>
<td>Accessoryname</td>
<td><inpu type="text" name="txtaccessoryname"
required="true"/></td>
</tr>
<tr>
<td>Priceperunit</td>
<td><input type="text" name="txtpriceperunit"
required="true"/></td>
</tr>
<tr>
<td>Totalitems</td>
<td><input type="text" name="txttotalitems"
required="true"/></td>
</tr>
<tr>
<td><input type="submit" name="btnadd" value="add"</td>
<td><input type="reset" value="cancle"/></td>
</tr>
<?php
if(isset($_REQUEST["error"]))
{
echo $_REQUEST["error"];
}
?>
</table>
</form>
<?php
// put your code here
?>
<?php
include './admin_footer.php';
?>
</body>
</html>
addaccessories_prc.php
<?php
include './admin_link.php';
?>
<?php
include './admin_header.php';
?>
<?php
$error="";
if(!preg_match("/^[A-Z a-z]+$/",$_POST["txtaccessoryname"]))
{
$error.="Please enter accessoryname in characters ";
}
else
{
$accessoryname=$_POST["txtaccessoryname"];
}
if(!preg_match("/^[0-9]+$/",$_POST["txtpriceperunit"]))
{
$error.="please enter price in digits";
}
else
{
$priceperunit=$_POST["txtpriceperunit"];
}
if(!preg_match("/^[0-9]+$/",$_POST["txttotalitems"]))
{
$error.="please enter only digits";
}
else
{
$totalitems=$_POST["txttotalitems"];
}
if(isset($accessoryname)&&isset($priceperunit)&&isset($totalitems))
{
$username='root';
$passwd=null;
try{
$conn=new
PDO("mysql:host=localhost;dbname=service",$username,$passwd);
$stmt=$conn->prepare("insert into
accessories(accessoryname,priceperunit,totalitems)values(?,?,?)");
$stmt->bindParam(1,$accessoryname);
$stmt->bindParam(2,$priceperunit);
$stmt->bindParam(3,$totalitems);
if($stmt->execute())
{
$msg="inserted";
}
else {
$msg="insert failed";
}
}
catch (Exception $exception)
{
$msg=$exception->getMessage();
}
echo $msg;
}
else if(isset ($error))
{
header("location:addaccessories.php?error=$error");
}
?>
<?php
include './admin_footer.php';
?>
CHAPTER 7
SYSTEM LOGINS
There will be 2 logins as mentioned below.
6.1 Admin Login:
Admin will have complete access to the system. He will be
creating the user and updating the details for the user. The details
are listed below.
-Adding accessories.
-Adding Service Engineers.
-Adding Service Orders.
-He can view the details of Accessory,Service Engineers and
Service Orders..
-He will send the mobile for services to the specific Service
Engineer.
-After Service Engineer will repaired the mobile he has to
given to admin and he will genarete the bill for customer.
Next version will also resolve any error or mistake remained unsolved
in this version.
CHAPTER 10
BIBLIOGRAPHY
ONLINE REFERENCE
http:/www.google.com
http:/www.googleimages.com