Professional Documents
Culture Documents
COM
CONTENTS
CHAPTER:1 Introduction
CHAPTER:2 Objectives
CHAPTER:3 Tools/Environment Used
CHAPTER:4 Analysis Document
CHAPTER:5 SRS
E-R diagrams
Data flow diagrams
Data dictionary
CHAPTER:6 Program code
CHAPTER:7 Testing
CHAPTER:8 Input and Output Screens
CHAPTER:9 Implementation of Security for the Software developed
CHAPTER:10 Limitations of the Project
CHAPTER:11 Future Application of the Project
CHAPTER:13 Bibliography
NAME :
E.No :
CAKEWALA.COM
INTRODUCTION
Cake Wala.Com is the software aimed at providing a wide range of
access to the administrator in managing and monitoring the requirment
registered by the users regarding the problems they face in accessing the
connections extended by the Cake Wala.Com.
The administrator can even maintain the record of the users in the
organization in allocating the cake of attending to the cake booking
request raised by the user. This intranet-based application provides the
user of the system a centralized view of the things maintained in the
software depending on the privileges assigned by the administrator
accordingly.
In this, there are admin are there to solve problems which have posted by
the users. Administrator has to assign the new cake details. Whenever
visitor can view the cake details and user can logging in site he can give
the order for the cake.
NAME :
E.No :
CAKEWALA.COM
DATA INTEGRITY
CAKEWALA.COM
5.
NAME :
E.No :
CAKEWALA.COM
It will provide the better customer service and enhance the profit of
the organization.
NAME :
E.No :
CAKEWALA.COM
CHAPTER-3
Tools/Environment
Used
NAME :
E.No :
CAKEWALA.COM
PROJECT CATEGORY
ABOUT PHP:-
language
that
was
originally
designed
for
web
in
continuous
development
since.
The
main
CAKEWALA.COM
NAME :
E.No :
CAKEWALA.COM
ADVANTAGES TO PHP:Open Source, readily available (you can be using it today) and
duallicensed - if you are doing non-profit work or not licensing, there
is no cost.
Very Easy to understand Syntax, some really cool features
(arrays
are something else!)
Interfaces very easily with Apache/MySQL
Server side .
Lots of good source code out there to use and/or learn from, as
well
as many useful libraries for working with PDFs, graphics, etc.
Lots of good books and on-line help (php.net is great)
Platform agnostic, can run on Windows Linux or Mac servers.
Also
NAME :
E.No :
CAKEWALA.COM
very scalable.
Lots of hosting services have it ready to use, no special
configuration (except if you have special security needs)
Pretty easy to access other web-based tools through PHP (i.e.
google
maps, etc
NAME :
E.No :
10
CAKEWALA.COM
semantics
that
are
appropriate
11
for
representing
CAKEWALA.COM
HTML
version
3.2.
HTML
3.2
aims
to
capture
publish
on
the
web.
HTML
documents
are
platform
12
CAKEWALA.COM
they are created properly you can move home page to any server
platform or you can access them with any complaint www
browser.
STRUCTURE OF HTML
HTML elements perform a defined task. HTML uses two types of
elements
. Empty Tags
. Container Tags
These tags differ because of what they represent. Empty tags
represent formatting constricts such as line breaks and horizontal
rules. Container tags define a section of text, formats and dot all
of the selected text. A container tag has both a beginning and an
ending.
HTML LAYOUT:
An HTML document consists of text, which comprises the content
of the document and tags, which, defines the structure, and
appearance of the document. The structure of an HTML document
is simple, consists of outer.
13
CAKEWALA.COM
HTML FORMS:
NAME :
E.No :
14
CAKEWALA.COM
To create a form, You use the <FORM> tag. Inside the opening
and closing FORM tags are each of the individual form elements
plus any other HTML content to create a layout for that form.
METHOD ATTRIBUTE:
NAME :
E.No :
15
CAKEWALA.COM
The other required attribute for the <form> tag sets the methods
by which the browser forms data to the server for processing.
There are two ways: the POST method and GET method. With
POST method, the browser sends the data in two steps: the
browser first contacts the form-processing server specified in the
action attributes, and once contact is made, sends the data.
The GET method in the other hand, contacts the form processing
server and sends the form data in a single transaction step: the
browser appends the data to the forms action URL, separated by
the question mark (?) character.
Introduction to JavaScript
JavaScript:
Some effects
that are now possible with java script were some time ago only
NAME :
E.No :
16
CAKEWALA.COM
Although the names are almost the same Java is not the same as
Java Script.
But
We could say
You might know that java does not run on all Netscape
Navigators 2.0 (or higher versions) versions. But this is not true
NAME :
E.No :
17
CAKEWALA.COM
for java script -although there are some problems with the
different versions.
The Mac version for example seems to have many bugs. In the
near future there are going to be some other browsers, which
support java script. The Microsoft Internet explorer 3.0 is going
to support java script. JavaScript enabled browsers are going to
spread soon - it is worth learning this new technique now. You
might realize that is really easy to write Java Script scripts. We
have to know is some basic techniques and some work-around for
problems you might encounter.
<html>
<head>
My first JavaScript
</head>
<body><br>
NAME :
E.No :
18
CAKEWALA.COM
Functions
Seems
CAKEWALA.COM
<html>
<head>
<script language=JavaScript>
function pushbutton (){
alert (Hello!);
}
</script>
</head>
<body>
<form>
<input
type=button
name=Button1
value=push
me
onclick=pushbutton ()>
</form>
</body>
</html>
If we want to test this one immediately and you are using a Java
Script enabled browser then please go ahead and push the
button.
NAME :
E.No :
20
CAKEWALA.COM
This script will create a button and when you press it a window
will pop up saying hello!. In fact we have a lot of possibilities
just by adding functions to our scripts.
The common browsers transmit the form information by either
method: heres the complete tag including the GET transmission
method attribute for the previous form
Example
</form>
Input elements.
required based upon which type of the form element you specify.
NAME :
E.No :
21
CAKEWALA.COM
Submit button:
Example
< Input type =submit>
<Input type=submit value=submit name=name>
Reset button:
The
reset
button
if
firm
<input>
button
is
nearly
self-
INTRODUCTION TO JDBC
NAME :
E.No :
22
CAKEWALA.COM
only java
client
and
it uses
ODBC
for
the
itself.
Some
tools,
which
provide
higher-level
23
CAKEWALA.COM
Introduction To MySql
Modern relational database management systems can perform a
wide range of tasks. It has got the following advantages Define a database
Query the database
Add, edit and delete data.
Modify the structure of the database
Secure data from public access.
Communicate within networks
Export and import data
MySql is one such RDBMS. It provides a set of functional programs
that we use a tool to build structure and performs tasks, in mysql data
is stored and displayed in tables. A table is a data structure that holds
data in a relational database. A table comprises of rows and columns.
Table can also show relationship between entities. The formal name
of table is relation, hence the name Relational Database Management
System.
Access of data in mysql
SQL is a structured query language that we use to communicate with
mysql. It consists of a set of English words like Select, Create etc. The
standard set of SQL command fall into the following category Queries using select clause
Data definition language (DLL) commands which are for creating
and altering the structure of database.
NAME :
E.No :
24
CAKEWALA.COM
Open Source
Efficient multi-user support and consistency
Powerful security feature
Fault tolerance
Ease of administration
Application development tools
Networking
SQL compatibility
About SQL
SQL is a structured query language that we use to communicate with
oracle. It consists of a set of English words like Select, Create etc. The
standard set of SQL command fall into the following category-
25
CAKEWALA.COM
HARDWARE SPECIFICATION
VIRTUAL MEMEORY
PROCESSOR
: 32 BIT, Pentium IV
RAM
: 1 GB
HARD DISK
: 40 GB
MONITOR
CLOCK SPEED
: 266 MHz
SOFTWARE SPECIFICATION
OPERATING SYSTEM
: Windows 2000/XP.
FRONT END
: PHP
BACK END
: My Sql
NAME :
E.No :
26
CAKEWALA.COM
CHAPTER-4
Analysis Document
SYSTEM ANALYSIS
PRELIMINARY INVESTIGATION
NAME :
E.No :
27
CAKEWALA.COM
Things are expected to get even more critical since the companys
growing numbers of clients and related requirements have been
projected to demand a massive number of employees in the coming
future from the past and the todays date. Such events and
projections have forced a strong need for modification in the current
way of handling activities. it is better to implement the latest of it
rather than to go through the pain of updating the system over and
over again.
developers.
dependent schedules.
FEASIBILITY STUDY
Depending on the results of the initial investigation, the
survey is expanded to a more detailed feasibility study. Feasibility
study is a test of system proposal according to its workability,
impact on the organization, ability to meet user needs, and effective
use of resources. The objective of the feasibility
study is not
of
problem
definition
crystallized
and
determined.
NAME :
E.No :
is
28
CAKEWALA.COM
Consequently,
greater accuracy
and
benefits
are
described
with
Statement of
of
costs
worded
statement
TECHNICAL FEASIBILITY
This
involves
financial
considerations
to
accommodate
ECONOMICAL FEASIBILITY
With the help of banking application it will lead to decrease in
cost of opening and maintaining offices which will be more than the
cost of developing and maintaining the Application.
OPERATIONAL FEASIBILITY
This Application is very easy to operate as it is made user friendly.
Main consideration is users easy access to all the functionality of
the Application.
NAME :
E.No :
29
CAKEWALA.COM
IDENTIFICATION OF NEED
To identify
the
need
for
Requirement Engineering.
software
we
use
the
Principles
of
need,
assessing
specifying
the
feasibility, negotiating
reasonable
Requirement elicitation.
Requirement specification.
System Modeling.
Requirement validation.
Requirement Management.
task
requirement
that
bridges
engineering
and
the
gap
between
software
design.
system
level
Requirement
Requirement analysis
30
CAKEWALA.COM
most
commonly
used
requirement
elicitation
focuses on the customer, the overall goals, and the benefits. For
example, the analyst might ask:
NAME :
E.No :
31
CAKEWALA.COM
NAME :
E.No :
32
CAKEWALA.COM
Preliminary Investigation
The first step in the system development life cycle is the preliminary
investigation to determine the feasibility of the System. The purpose
of the preliminary investigation is to evaluate project requests. It is
neither a design study nor does it includes the collection of details
top describe the business system in all respect. Rather, it is collecting
of information that helps committee members to evaluate the merits
of the project request and make an informed judgment about the
feasibility of the proposed project.
Here for the CAKEWALA.COM, I have worked on the preliminary
investigation that accomplished the following objectives:
Determine
the
technical
and
operational
feasibility
of
alternative approaches.
Report the findings to management with recommendation
outlining the acceptances or rejection of the proposal.
Considering above criteria I also keep in mind that the requirements
are clearly understandable when the clarification of project request is
NAME :
E.No :
33
CAKEWALA.COM
Conducting interviews.
Feasibility Study
Not
everything
imaginable
is
feasible,
not
even
in
software,
Feasibility is the
Technical feasibility.
2.
Operational feasibility.
3.
Economic feasibility.
feasible, and then analyst can go ahead and prepare the project
specification,
which
finalizes
project
requirements.
Generally,
The
Thus,
since the
feasibility
34
CAKEWALA.COM
This
contains
and
identification
description,
an
My
analysis
is
the
most
frequently
used
technique
for
35
CAKEWALA.COM
It is User-Friendly.
2.
3.
Efficient tractability.
4.
Project Planning
The planning, design, and installation of a system termed a project
and is directed by a project leader who uses the available resources
to produce a new or better system for the organisations.
NAME :
E.No :
36
CAKEWALA.COM
Thus, project planning for any company has the following four
main steps:
1. Organising the resources available for the project.
2. Scheduling the events of the project.
3. Evaluating the progress.
4. Establishing standards for the project.
An effective manager is essential for successful project planning.
The techniques of project planning are not a substitute for good
management, but merely a tool to be used by managers to achieve
better results. Only effective management can complete the project
on time, within budget, and with satisfactory results.
Project Scheduling
In project management, a schedule consists of a list of a
project's terminal elements with intended start and finish dates.
Terminal elements are the lowest element in a schedule, which is
not further subdivided. Those items are often estimated in terms of
resource
requirements,
budget
and
duration,
linked
by
37
CAKEWALA.COM
38
CAKEWALA.COM
Add equipment.
Change priorities.
Replace the individual responsible.
Gantt charts are useful tools for planning and scheduling projects.
Gantt charts allow you to assess how long a project should
take.
Gantt charts lay out the order in which tasks need to be
carried out.
Gantt charts help manage the dependencies between tasks.
Gantt charts determine the resources needed.
Gantt charts are useful tools when a project is under way.
NAME :
E.No :
39
CAKEWALA.COM
NAME :
E.No :
40
CAKEWALA.COM
Apr
1st
&2
TASKS
Problem
Analysis
Analysis of
Existing
Systems
like the
proposed
on
Selection
& Learning
the S/W
To be used
Understand
ing
Database
NAME :
E.No :
Apr3
rd &
4th
Week
nd
May
1st
&
2n
d
Wee
k
Jun
3rd
Jul
y
1st
Wee
k
Wee
k
Day
1-12
12
Days
Day
13-22
10
Days
Day
s
2332
10
Day
s
Day
s
3347
15
Day
s
41
Jul
y
2n
d&
Aug
t
3rd
Wee
k
Aug
4rd
&
Sep
t
1st
Wee
k
Sep
t
1st
&
Sep
t
3rd
Wee
k
Sep
t
3rd
&
4th
Wee
k
Sep
t
4th
Wee
k
CAKEWALA.COM
Day
s
4862
Coding
15
day
s
Day
s
6372
10
day
s
Page
Designing
Day
s
7382
10
Day
s
Testing
Day
s8392
10
Day
s
Evaluation
Day
s
9398
6
Day
s
Implemeta
tion
NAME :
E.No :
42
CAKEWALA.COM
NAME :
E.No :
43
CAKEWALA.COM
NAME :
E.No :
44
CAKEWALA.COM
stands
for
Software
Requirement
Specification.
It
45
CAKEWALA.COM
External
Interfaces
of
the
system:
They
identify
the
46
CAKEWALA.COM
function,
behavior,
performance,
and
interface.
Requirements for both the system and the software are documented
and reviewed with the customer.
DESIGN
Software design is actually a multi step process that focuses on four
distinct attributes of a program data structure, software architecture,
NAME :
E.No :
47
CAKEWALA.COM
The
manner,
code
generation
can
be
accomplished
mechanistically.
Testing: Once code has been generated, program testing begins. The testing
process focuses on the logical internals of the software, ensuring that
all statements have been tested and on the functional externals, that
is, conducting tests to uncover errors and ensure that defined input
will product actual results that agree with required results.
Waterfall Model
It is the simplest, oldest and most widely used process model. In
this model, each phase of the life cycle is completed before the start
of a new phase. It is actually the first engineering approach of
software development.
NAME :
E.No :
48
CAKEWALA.COM
The
water
fall
model
can
accommodate
the
new
NAME :
E.No :
49
CAKEWALA.COM
NAME :
E.No :
50
CAKEWALA.COM
such
as
hardware,
people
and
database.
System
51
CAKEWALA.COM
In
either case, before any further steps can be taken, the project
requests must be clearly states.
This phase (initial study) involves estimating whether or not a
development project is worthwhile.
52
CAKEWALA.COM
The Data flow diagram can be explained as the separate levels indicating the
individual complexity in the each level of the system and gives a detailed explanation
in the further levels that are following them.
LEVEL 0
Initially in the first level of the Data flow the level 0 explains the basic outline
of the system. The end-user sends the packets to the system to determine the source
and destination address. The diagram marked as the 0 represents the complete Packet
watching system which simply represents the basic operation that is being performed
by it in the initial level.
LEVEL 1
NAME :
E.No :
53
CAKEWALA.COM
The level 1 of the Data flow diagram given explains in detail about the Packet
watching system which was marked as 0 in the previous level. In this level the enduser who passes the request for the system enters into the first process, the capturing
process and then to the processing module. After processing the packets it was send
for storing.
LEVEL 2
The level 2 provides the clear explanation about the whole system. In this
level first we have to select the packet and perform test over that selected packets.
Then identify the end address of the packet and send that packet for processing. After
processing the packet it was send to the identity content. Then send the processed
packet for storing and display the source and destination addresses.
USER
Enters or update users data
CAKEWALA.
COM
NAME :
E.No :
54
Administrate the
entire process
Administrator
REPORT
CAKEWALA.COM
Pwd, Username
Updated Successfully
User
1.0
Login
process
Cake Details
3.0
Online Put
Order
4.0
View Report
NAME :
E.No :
55
Logout
CAKEWALA.COM
Pwd, Username
Updated Successfully
Admin
1.0
Login
process
Cake Details
3.0
Booked Cake
Details
4.0
View Report
NAME :
E.No :
56
Logout
CAKEWALA.COM
E-R Diagram
name
Phone
cid
Address
Searc
h
User
Contact
Nam
e
Categrory
Image
Discription
Worksund
er
Has
Workfor
Manag
e
User
Details
No. of
cake
UNam
ee
Report
Has
Admin
Product
Booking Details
Cost
Payment
List
NAME :
E.No :
Dat
e
Cake
57
Total
Payment
Cake
ID
CAKEWALA.COM
NAME :
E.No :
58
CAKEWALA.COM
Activity Daigram
NAME :
E.No :
Admin
59
CAKEWALA.COM
Cake Details
Cake Wala.com
Payment Details
User
NAME :
E.No :
Booked Cake
Information
60
CAKEWALA.COM
Sequence Diagram
Admin
User
Cake
Registration
Cake Details
User List
Change Password
Upload Cake
View Booked Cake
Order List
Project Modules
NAME :
E.No :
61
CAKEWALA.COM
NAME :
E.No :
62
CAKEWALA.COM
NAME :
E.No :
63
CAKEWALA.COM
CHEPTER-5
CODING
NAME :
E.No :
64
CAKEWALA.COM
ABOUTUS.PHP
<!DOCTYPE html>
<html>
<head>
<title>Cake Delights</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div id="header">
<div>
<div>
<div id="logo"> <a href="#"><img src="images/logo.gif" alt=""></a>
</div>
<div>
<div> <a href="Help.php">Help</a> <a href="signin.php"
class="last">Sign in</a> </div>
<form action="#">
<input type="text" id="search" maxlength="30">
<input type="submit" value="" id="searchbtn">
</form>
</div>
</div>
<?php
NAME :
E.No :
65
CAKEWALA.COM
include("header.php");
?>
<div id="section">
<ul>
<li><a href="#">cheese cakes</a></li>
<li><a href="#">sponge cakes</a></li>
<li><a href="#">butter cakes</a></li>
<li class="selected"><a href="#">layer cakes</a></li>
<li><a href="#">sheet cakes</a></li>
<li><a href="#">cupcakes</a></li>
<li><a href="#">fondant cakes</a></li>
<li><a href="#">swiss roll</a></li>
<li><a href="#">other desserts</a></li>
</ul>
<a href="#"><img src="images/wedding-cupcakes-large.jpg" alt=""></a>
</div>
</div>
</div>
<div id="content">
<div class="home">
<div class="aside">
<h1>Welcome to our site</h1>
<p>Pastry is the name given to various kinds of baked goods made from
ingredients such as flour, butter, shortening, baking powder or eggs. Small cakes,
tarts and other sweet baked goods are called "pastries".</p>
<p>Pastry may also refer to the dough from which such baked goods are
made. Pastry dough is rolled out thinly and used as a base for baked goods.
Common pastry dishes include pies, tarts and quiches.
NAME :
E.No :
66
CAKEWALA.COM
<p>Pastry is distinguished from bread by having a higher fat content, which
contributes to a flaky or crumbly texture. A good pastry is light and airy and fatty,
but firm enough to support the weight of the filling. When making a shortcrust
pastry, care must be taken to blend the fat and flour thoroughly before adding.
<a href="#" class="readmore">read more</a></p>
</div>
<div class="section">
<div>
<h2>The food story</h2>
<p>
Cake is a form of bread or bread-like food. In its modern forms, it is typically a
sweet baked dessert. In its oldest forms, cakes were normally fried breads or
cheesecakes, and normally had a disk shape. Determining whether a given food
should be classified as bread, cake, or pastry can be difficult. </div>
<ul>
<li class="first"> <a href="#"><img src="images/cake.jpg" alt=""></a>
</li>
<li> <a href="#"><img src="images/burgercake.jpg" alt=""></a> </li>
<li> <a href="#"><img src="images/cupcake.jpg" alt=""></a> </li>
</ul>
</div>
</div>
</div>
<div id="footer">
<div class="home">
<div>
<div class="aside">
<div class="signup">
NAME :
E.No :
67
CAKEWALA.COM
<div> <b>Too <span>BUSY</span> to shop?</b> <a
href="signin.html">Sign up for free</a>
<p>and we'll deliver it on your doorstep</p>
</div>
</div>
<div class="connect"> <span>Follow Us</span>
<ul>
<li><a href="#" class="facebook">Facebook</a></li>
<li><a href="#" class="twitter">Twitter</a></li>
<li><a href="#" class="subscribe">Subscribe</a></li>
<li><a href="#" class="flicker">Flicker</a></li>
</ul>
</div>
</div>
<div class="section">
<div>
<div>
<h3><a href="#">Daily Cake Surprise</a></h3>
<p>
Cake is a form of bread or bread-like food. In its modern forms, it is
typically a sweet baked dessert. In its oldest forms, cakes were normally fried
breads or cheesecakes, and normally had a disk shape. Determining whether a
given food should be classified as bread, cake, or pastry can be difficult.
</div>
</div>
</div>
</div>
</div>
NAME :
E.No :
68
CAKEWALA.COM
<div id="navigation">
<div>
SIGNIN.PHP
<!DOCTYPE html>
<html>
<head>
<title>Cake Delights | SignIn</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div id="header">
<div>
<div>
<div id="logo"> <a href="#"><img src="images/logo.gif"
alt=""></a> </div>
<div>
NAME :
E.No :
69
CAKEWALA.COM
<div> <a href="Help.php">Help</a> <a href="signin.php"
class="last">Sign in</a> </div>
<form action="#">
<input type="text" id="search" maxlength="30">
<input type="submit" value="" id="searchbtn">
</form>
</div>
</div>
<?php
include("header.php");
?>
<div class="section"> <a href="#"><img src="images/weddingcupcakes-small.jpg" alt=""></a> </div>
</div>
</div>
<div id="content">
<div>
<div id="account">
<div>
<form id="frm" action="Login1.php" method="post">
<fieldset style="height: auto;width: 500px; padding: 20px;">
<legend>Login</legend>
<table align="center" cellpadding="5" cellspacing="5">
<tr>
<table>
<tr>
<td class="text">
NAME :
E.No :
70
CAKEWALA.COM
<input type="radio" name="rdologin"
id="rdodoctor" value="admin"/> Admin
<input type="radio" name="rdologin"
id="rdopatient" value="user"/> User
</td>
</tr>
</table>
</tr>
<tr>
<td class="text">User Name:</td>
<td class="text"><input type="text" id="txtemailid"
name="txtemailid" style="font-size: 15px; width: 180px; height: 30px;"></td>
</tr>
<tr>
<td class="text">Password:</td>
<td class="text"><input type="password"
id="txtpass" name="txtpass" style="font-size: 15px; font-weight: bold; height:
30px; width: 180px;"></td>
</tr>
<tr>
<td colspan="2" align="right">
<input type="submit" value="Login"
name="btnlogin" id="btnlogin" class="button">
</td>
</tr>
</table>
NAME :
E.No :
71
CAKEWALA.COM
</fieldset>
</form>
</div>
</div>
</div>
</div>
<div id="footer">
<div class="section">
<div>
<div class="aside">
<div>
<div> <b>Too <span>BUSY</span> to shop?</b> <a
href="signin.html">Sign up for free</a>
<p>and we'll deliver it on your doorstep</p>
</div>
</div>
</div>
<div class="connect"> <span>Follow Us</span>
<ul>
<li><a href="#" class="facebook">Facebook</a></li>
<li><a href="#" class="twitter">Twitter</a></li>
<li><a href="#" class="subscribe">Subscribe</a></li>
<li><a href="#" class="flicker">Flicker</a></li>
</ul>
</div>
</div>
</div>
NAME :
E.No :
72
CAKEWALA.COM
<div id="navigation">
<div>
REGISTRATION.PHP
<?php
error_reporting(0);
ob_start();
session_start();
?>
<script type="text/javascript">
//function for balnk field
function validate(){
var img = document.getElementById('fileimage');
if(img.value.trim() == ""){
alert('Please select image.!!');
img.focus();
return false;
}
}
NAME :
E.No :
73
CAKEWALA.COM
</script>
<script type="text/javascript">
function validate(){
NAME :
E.No :
74
CAKEWALA.COM
alert('Please Select Contact As.');
return false;
}
var Email = document.getElementById("txt_eml").value;
if(Email == ""){
alert('Please Enter Your Email.');
return false;
}
var a = document.getElementById("txt_pass").value;
if(a == ""){
alert('Password field cannot be blank.');
return false;
}
var b = document.getElementById("txtcpass").value;
if(b == ""){
alert('Confirm Password field cannot be blank.');
return false;
}
if(a != b){
alert('Confirm password does not matched.');
return false;
}
}
NAME :
E.No :
75
CAKEWALA.COM
{
i.value = i.value.replace(/[^\d]+/g, '');
}
</script>
<script type="text/javascript" src="js/scw.js"></script>
<script type="text/javascript">
function contact(i)
{
if(i.value.length>0)
{
i.value = i.value.replace(/[^\d]+/g, '');
}
}
function CheckForAlphabets(elem)
{
var alphaExp = /^[a-z A-Z]+$/;
if(elem.value.match(alphaExp)){
return true;
}else{
alert("give alphabatic name ");
return false;
}
}
NAME :
E.No :
76
CAKEWALA.COM
function mob()
{
var rl=document.getElementById("txt_phone").value;
if(rl.toString().length<10)
{
alert("Contact No. should be of ten digits");
return false;
}
}
</script>
<script type="text/javascript">
function valid() {
//alert('calling');
var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]
{2,4})$/;
// var address =
document.forms[form_id].elements[txtemail_id].value;
var address = document.getElementById('txt_eml').value;
if(reg.test(address) == false) {
alert('Invalid Email Address');
return false;
}
}
</script>
<script type="text/javascript">
function pin()
NAME :
E.No :
77
CAKEWALA.COM
{
var rl=document.getElementById("txtpwd").value;
if(rl.toString().length<6)
{
alert("Pin Number should be of Six digits");
return false;
}
</script>
<!DOCTYPE html>
<html>
<head>
<title>Cake Delights | SignUp</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div id="header">
<div>
<div>
<div id="logo"> <a href="#"><img src="images/logo.gif" alt=""></a>
</div>
<div>
<div> <a href="Help.php">Help</a> <a href="signin.php"
class="last">Sign in</a> </div>
<form action="#">
NAME :
E.No :
78
CAKEWALA.COM
<input type="text" id="search" maxlength="30">
<input type="submit" value="" id="searchbtn">
</form>
</div>
</div>
<?php
include("header.php");
?>
<div class="section"> <a href="#"><img src="images/wedding-cupcakessmall.jpg" alt=""></a> </div>
</div>
</div>
<div id="content">
<div>
<div id="account">
<div>
<form id="frm" action="Registration1.php" method="post">
<table align="center" cellpadding="5" cellspacing="5">
<tr>
<td class="text1" colspan="2">Registration</td>
</tr>
<tr>
<td colspan="2" valign="middle" align="center">
<?php
if ($_SESSION['MSG'] != '') {
echo '<div class="msgbox">' .
$_SESSION['MSG'] . '</div>';
$_SESSION['MSG'] = "";
NAME :
E.No :
79
CAKEWALA.COM
}
?>
</td>
</tr>
<tr>
<td class="text">Name:</td>
<td class="text"><input type="text"
id="txt_name" name="txt_name" style="width: 250px; height: 25px;"></td>
</tr>
<tr>
<td class="text">DOB:</td>
<td class="text"><input type="text" id="txt_dob"
name="txt_dob"style="width: 250px; height: 25px;" readonly
onclick="scwShow(this,event)"></td>
</tr>
<tr>
<td class="text">Gender:</td>
<td class="text">
<select
id="txt_gndr" name="txt_gndr"
NAME :
E.No :
80
CAKEWALA.COM
<td class="text">Phone</td>
<td><input type="text" id="txt_phone"
name="txt_phone" style="width: 250px; height: 25px;"
onkeyup="contact(this,value)" onblur="mob()"></td>
</tr>
<tr>
<td class="text">Location:</td>
<td class="text"><input type="text"
id="txt_adrs" name="txt_adrs" style="width: 250px; height: 25px;"></td>
</tr>
<tr>
<td class="text">City:</td>
<td class="text"><input type="text"
id="txt_cntas" name="txt_cntas" style="width: 250px; height: 25px;"></td>
</tr>
<tr>
<td class="text">Email:</td>
<td class="text"><input type="text" id="txt_eml"
name="txt_eml" style="width: 250px; height: 25px;" onblur="valid()"></td>
</tr>
<tr>
<td class="text">Password:</td>
<td class="text"><input type="password"
id="txt_pass" name="txt_pass" style="width: 250px; height: 25px;"></td>
</tr>
<tr>
<td class="text">Confirm Password:</td>
NAME :
E.No :
81
CAKEWALA.COM
<td class="text"><input type="password"
id="txtcpass" name="txtcpass" style="width: 250px; height: 25px;"></td>
</tr>
<tr>
<td align="center" colspan="2">
<input type="submit" class="button"
value="Submit" onclick="return validate();">
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
</div>
<div id="footer">
<div class="section">
<div>
<div class="aside">
<div>
<div> <b>Too <span>BUSY</span> to shop?</b> <a
href="signin.html">Sign up for free</a>
<p>and we'll deliver it on your doorstep</p>
</div>
</div>
</div>
<div class="connect"> <span>Follow Us</span>
NAME :
E.No :
82
CAKEWALA.COM
<ul>
<li><a href="#" class="facebook">Facebook</a></li>
<li><a href="#" class="twitter">Twitter</a></li>
<li><a href="#" class="subscribe">Subscribe</a></li>
<li><a href="#" class="flicker">Flicker</a></li>
</ul>
</div>
</div>
</div>
<div id="navigation">
<div>
REGISTRATION1.PHP
<?php
error_reporting(0);
ob_start();
session_start();
header("Pragma: no-cache");
header("Cache: no-cahce");
NAME :
E.No :
83
CAKEWALA.COM
include_once "connection/dbconfig.php"; //Connection
$name = $_POST['txt_name'];
$dob = $_POST['txt_dob'];
$gender = $_POST['txt_gndr'];
$phone = $_POST['txt_phone'];
$address = $_POST['txt_adrs'];
$contact_as = $_POST['txt_cntas'];
$email = $_POST['txt_eml'];
$password = $_POST['txt_pass'];
$r = mysql_query($query);
$num = (int) $r;
if ($num > 0) {
$_SESSION['MSG'] = "Your information has been successfully submited.!!";
} else {
$_SESSION['MSG'] = "Your information has not been submited.!!";
}
header("location:Registration.php");
?>
NAME :
E.No :
84
CAKEWALA.COM
LOGIN.PHP
<?php
include_once "connection/dbconfig.php";
?>
<html lang="en">
<head>
<title>Tour And Travel</title>
<link rel="stylesheet" href="styles.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="print.css" media="print" />
<script type="text/javascript" src="js/equalcolumns.js"></script>
</head>
<body>
<header>
<h1>Tour And Travel</h1>
</header>
<?php
include("header.php");
?>
<section id="content">
<ul class="column">
<div>
<div class="heading" align="justify">
<h2></h2>
NAME :
E.No :
85
CAKEWALA.COM
<form id="frm" action="login1.php" method="post">
<fieldset style="height: auto;width: 300px;padding: 10px;">
<legend>Login</legend>
<table align="center" cellpadding="5" cellspacing="5">
<tr>
<td colspan="2" valign="middle" align="center">
<?php
if ($_SESSION['MSG'] != '') {
echo '<div class="msgbox">' .
$_SESSION['MSG'] . '</div>';
$_SESSION['MSG'] = "";
}
?>
</td>
</tr>
<tr>
<td class="login-text">
Login As
</td>
<td class="login-text">
<input type="radio" name="rdologin" id="rdodoctor"
value="admin"/> Admin
<input type="radio" name="rdologin" id="rdopatient"
value="user"/> User
</td>
</tr>
<tr>
<td class="login-text">User Name:</td>
NAME :
E.No :
86
CAKEWALA.COM
<td><input type="text" id="txtemailid"
name="txtemailid" style="font-size: 15px; width: 180px; height: 30px;"></td>
</tr>
<tr>
<td class="login-text">Password:</td>
<td><input type="password" id="txtpass"
name="txtpass" style="font-size: 15px; font-weight: bold; height: 30px; width:
180px;"></td>
</tr>
<tr>
<td colspan="2" align="right">
<input type="submit" value="Login"
name="btnlogin" id="btnlogin" class="button">
</td>
</tr>
</table>
</fieldset>
</form>
</div>
</div>
</ul>
</section>
<footer>
<?php
include("footer.php");
NAME :
E.No :
87
CAKEWALA.COM
?>
</footer>
</body>
</html>
LOGIN1.PHP
<?php
include('connection/dbconfig.php');
NAME :
E.No :
88
CAKEWALA.COM
if ($loginas == "admin") {
if ($status == true) {
header("location:Welcome.php");
} else {
$_SESSION['MSG'] = "Email id and password are wrong.!!";
header("location:Login.php");
}
} else if ($loginas == "user") {
NAME :
E.No :
89
CAKEWALA.COM
$status = true;
// update login table
//
//
mysql_query($query2);
//
$_SESSION['USERID'] = $name;
$_SESSION['NAME'] = $row ['name'];
$_SESSION['EMAIL'] = $email;
}
if ($status == true) {
header("location:Welcome1.php");
} else {
$_SESSION['MSG'] = "Email id and password are wrong.!!";
header("location:Login.php");
}
} else {
$_SESSION['MSG'] = "Email id and password are wrong.!!"; //set message
in sessiong
header("location:Login.php");
}
}
?>
NAME :
E.No :
90
CAKEWALA.COM
CHEPTER-7
TESTING
NAME :
E.No :
91
CAKEWALA.COM
TESTING
The testing of software means measuring or accessing the software
to determine the quality. Testing is a measuring instrument for
software quality with the unit of measurement being the number of
defects found during testing.
Testing activities also help to achieve software quality.
Testing is essential in the development of any system software.
Testing is essential in the development of any software system.
Testing is in order to access what the system actually does and how
well expected to spend approximately40% of development cost and
time in testing in order to achieve reasonable quality levels.
Levels of Testing
Unit Testing
Component Integration Testing
System Testing
Acceptance Testing
Unit Testing
Unit testing comprises the set of tests performed usually by
the programmers prior to the integration of the unit in to a large
Program. This is the lowest level of testing and is done by the
programmer (Who develops it) who can test it in great detail. The
NAME :
E.No :
92
CAKEWALA.COM
to
the
training
section.
Acceptance
testing
mark
the
NAME :
E.No :
93
CAKEWALA.COM
94
CAKEWALA.COM
NAME :
E.No :
95
CAKEWALA.COM
TESTING OBJECTIVES
Functional simplicity
Debugging
Debugging occurs as a consequence of successful testing. Debugging
refers to the process of identifying the cause for defective behavior
of a system and addressive that problem. In less complex termsfixing a bug. When a test case uncovers an
Error, debugging is the process that results in the removal of the
error. The
are two
Characteristics of bugs
NAME :
E.No :
96
CAKEWALA.COM
may
be
conditions(e.g,
difficult
a
to
accurately
real-time
application
reproduce
in
which
input
input
ordering is indeterminate).
7. The symptom may be intermittent. This is particularly
common in embedded systems that couple hardware and
software inextricably.
8. The symptoms may be due to causes that are distributed
across a number of tasks running on different processors.
NAME :
E.No :
97
CAKEWALA.COM
Validation Checks
There are six types of validations:
1) Intrinsic control: In this control text Box, label, drop down list
are use for simple input and output.
2) Rich control: Rich control have a two control `Add Repeater`
and Calendar Control.
3) Transfer Control: This control used to redirect pages to next
page like, Buttton, Hyperlink, linkButtons.
4) Validation control: There are six control:
values
with
help
of
controlToValidate
CompareToValidate.
The Type are taken in compare Validator are following:a) String
b) Integer
c) Double
d) Date
e) Currency
Operator is used to specify a type are following:a) Equal
NAME :
E.No :
98
and
CAKEWALA.COM
b) No Equal
c) Greater Than
d) Greater than equal
e) Less than
f) Less than equal
a) Min
b) Max
to
which
the
value
must
specified
in
NAME :
E.No :
99
CAKEWALA.COM
CODE EFFICIENCY
MEASURES OF CODE EFFICIENCY
The code is designed with the following characteristics in mind.
1. Uniqueness:
as
it
is
incompatible
requirement.
NAME :
E.No :
100
with
the
uniqueness
CAKEWALA.COM
in
conditions,
characteristics
and
data
must
be
sorted
and
collaged,
the
NAME :
E.No :
101
CAKEWALA.COM
OPTIMIZATION OF CODE
A good program is not the one that solves the intended
problem alone but the one that does it efficiently. An ideal compiler
should produce target code that is as good as can be written by
hand crafted meticulously to run on the target machine in the most
efficient manner both in terms of time of execution and memory
requirements. The reality however is that this goal is achieved only
in limited, cases and that too with difficulty. Nonetheless, the code
produced by straight forward compiling algorithms can often be
made more space and time efficient. This is accomplished by
applying
transformations
on
the
produced
code.
These
optimization
may
be
machine
dependent
or
machine
CAKEWALA.COM
NAME :
E.No :
103
CAKEWALA.COM
CHEPTER-8
Input and Output Screens
ABOUT PAGE
NAME :
E.No :
104
CAKEWALA.COM
REGISTRATION PAGE
NAME :
E.No :
105
CAKEWALA.COM
LOGIN HOME
NAME :
E.No :
106
CAKEWALA.COM
CHEPTER-9
Implementation of Security
for the Software developed
NAME :
E.No :
107
CAKEWALA.COM
user
can
not
access
the
facility
of
Associates User.
(2) User related checks and validations:
For
this
Provision
of
efficient
data
backup
system :
In this
NAME :
E.No :
108
CAKEWALA.COM
(2)
data Storage.
(3)
User Level:
User are does not change Health, Transport Information. Its only
View Information and its allowed after fill own profile and then
insert username and password. User is sending Matrimonial
information view any other user by allow administrator.
Administrator Level:
Administrator is able to change Health, Transport Information.
Administrator is allowing matrimonial information any Change. And
also allow user view bride picture and groom picture information.
NAME :
E.No :
109
CAKEWALA.COM
CHAPTER-9
Future Application
of the Project
NAME :
E.No :
110
CAKEWALA.COM
NAME :
E.No :
111
CAKEWALA.COM
CHAPTER-11
Bibliography
NAME :
E.No :
112
CAKEWALA.COM
1.PHP-2
Author :
Publisher :
Complete-Reference
Patric Norton & Herberlt Schild
Tata McGraw Hill
James A. senn
Tata McGraw Hill
Fairley
Tata McGraw Hill Publication,3rd
113
CAKEWALA.COM
Author
Pressman
NAME :
E.No :
114