SlideShare uma empresa Scribd logo
1 de 64
Baixar para ler offline
[1]
AIET/CS
CONTENTS
CERTIFICATES FROM DEPARTMENT i
CANDIDATE DECLARATION ii
ACKNOWLEDGEMENT iii
ABSTRACT iv
TABLE OF CONTENT
Chapter No Name of the Chapter PAGE NO.
1. INTRODUCTION 3
2. REQUIREMENT ANALYSIS 4
3. INTRODUCTION TO PHP 6
4. INTRODUCTION TO JAVASCRIPT 12
5. SYSTEM SPECIFICATION 15
6. SYSTEM DESIGN 16
[2]
AIET/CS
7. CODING SHEET 19
8. MODULES OF THE PROJECT 43
9 DATABASE DESIGN 45
10 DESIGN DESCRIPTION 48
11 CONCLUSION AND REFERENCES 63
[3]
AIET/CS
CHAPTER-1
INTRODUCTION
The Online food delivery website is designed to enable people to create their profile, upload
their latest recipes and be in touch with all his friends. All the information like Personal
Details, Favourate Details, Sports and Cultural Activities, Interests can be saved by people.
People can register on the website and add friends, send scraps, create album and add photos
to albums. A Delivery network service focuses on building and reflecting of social networks
or social relationships among people, e.g., who share interests and/or Favourate. A social
network service essentially consists of a representation of each user (often a profile), his/her
social links, and a variety of additional services.
Following are the objectives of the Food Delivery Website:
 Online Food Delivery allows easy Profile Creation, Creating Albums, Uploading
Photos, Sending Scraps and Adding Friends.
 Online Food Delivery processes information and delivers it in stipulated time so as to
facilitate user to arrive at a well defined and accurate decision.
 Better Security: The system is secure. There are facilities to logging into system with
user name and password without which, no one can access any data. The password is saved in
encrypted form in the database. Also read and write attributes of the system can be controlled
hence data cannot be tempered and cannot have un-authorized access.
[4]
AIET/CS
CHAPTER-2
REQUIREMENT ANALYSIS
1. Content Requirements: All web sites have content. So it’s necessary to capture all
the types of content that will be used on the site. For each type of content identify the
following:
 What is the purpose of the content? Is it related to any other content?
 Who maintains and updates it? Is there any workflow associated with it?
 Who is the audience for this content?
 How often is it updated?
2. Functional Requirements: The web site must do certain things to support the
business objectives. These functions need to be clearly defined:
 Personalization Functions: Registration and Sign-In, Welcome Back, enabling a user to
signup for newsletters, etc…
 Security Functions: Creating a secure registration page, ensuring passwords are secure.
3. Technical Requirements: In order to ensure the web site will support the number of
users who will visit it and ensure the functionality works properly, technical requirements
needs to be document such as:
 Expected volumes of users
 Expected peak periods of use
 Types of content that will create high load (like video and audio files)
 Security Requirements (is the site a secure site, rules for passwords)
 Performance Requirements (i.e. page load time)
4. Used Technology: To solve the given problem statement the most appropriate
solution is to design an online social networking website. The most suitable and advanced
tool for front end designing a website is HTML,CSS using PHP. PHP is an entirely new
technology for server-side scripting. PHP stands for Hypertext Preprocessor PHP and is
[5]
AIET/CS
developed by PHP Core team is used to create web pages and web technologies and is an
integral part of PHP core team. As a member of the PHP framework is a very valuable tool
for programmers and developers as it allows them to build dynamic, rich web sites and web
applications using compiled languages like PHP.
Reasons for using PHP in developing this website are:
 PHP drastically reduces the amount of code required to build large applications.
 With built-in Windows authentication and per-application configuration, your
applications are safe and secured.
 The PHP framework is complemented by a rich toolbox and designer in the Visual
Studio integrated development environment.
 The Web server continuously monitors the pages, components and applications running
on it. If it notices any memory leaks, infinite loops, other illegal activities, it immediately
destroys those activities and restarts itself.
Most suitable tool for back end of this website is MYSQL Server . MYSQL server provides a
great database facility and has very enhanced functionality as compared to other database
servers. Following features make it exceptionally good to use in this system:
 MYSQL server is exclusively designed for developers. Whatever the function or
procedure that we write in dot net environment those function or procedure that we directly
execute in MYSQL server environment. This is the new feature in MYSQL.
 MYSQL Server makes it simpler and easier to deploy manage and optimize enterprise
data and analytical applications.
So due to these advance features in PHP and SQL Server, this website is made using PHP as
front end and SQL Server as back end.
[6]
AIET/CS
CHAPTER-3
INTRODUCTION TO PHP
PHP is a server side scripting technology that enables scripts (embedded in web pages) to be
executed by an Internet server.
 PHP stands for Hypertext Preprocessor.
 PHP is an interpreted language, i.e. there is no need for compilation.
 PHP is a server side scripting language.
 PHP is faster than other scripting language e.g. asp and jsp.
PHP is widely used in web development now a days. Dynamic websites can be easily
developed by PHP. But you must have the basic the knowledge of following technologies for
web development as well.
 HTML
 CSS
 JavaScript
 AJAX
 XML and JSON
 JQuery
3.1 The Microsoft PHP Framework:
PHP, known as the most popular server-side scripting language in the world, has evolved a
lot since the first inline code snippets appeared in static HTML files.
These days developers need to build complex websites and web apps, and above a certain
complexity level it can take too much time and hassle to always start from scratch, hence
came the need for a more structured natural way of development. PHP frameworks provide
developers with an adequate solution for that.
In this post we carefully handpicked 10 popular PHP frameworks that can best facilitate and
streamline the process of backend web development.
[7]
AIET/CS
Why Use A PHP Framework:
But first, let’s take a look at the top reasons why many developers like to use PHP
frameworks and how these frameworks can level up your development process. Here’s what
PHP frameworks do:
 Make speed development possible
 Provide well-organized, reusable and maintainable code
 Let you grow over time as web apps running on frameworks are scalable
 Spare you from the worries about low-level security of a site
 Follow the MVC (Model-View-Controller) pattern that ensures the separation of
presentation and logic
 Promote modern web development practices such as object-oriented programming
tools
PHP Features:
There are given many features of PHP.
 Performance: Script written in PHP executes much faster then those scripts written in
other languages such as JSP & ASP.
 Open Source Software: PHP source code is free available on the web, you can
developed all the version of PHP according to your requirement without paying any
cost.
 Platform Independent: PHP are available for WINDOWS, MAC, LINUX & UNIX
operating system. A PHP application developed in one OS can be easily executed in
other OS also.
 Compatibility: PHP is compatible with almost all local servers used today like
Apache, IIS etc.
 Embedded: PHP code can be easily embedded within HTML tags and script.
Metadata:
A MySQL result set contains metadata. The metadata describes the columns found in the result set.
All metadata sent by MySQL is accessible through the mysqli interface. The extension performs no or
negligible changes to the information it receives. Differences between MySQL server versions are not
aligned.
Meta data is access through the mysqli_result interface.
[8]
AIET/CS
Security:
PHP is a powerful language and the interpreter, whether included in a web server as a module or
executed as a separate CGI binary, is able to access files, execute commands and open network
connections on the server. These properties make anything run on a web server insecure by default.
PHP is designed specifically to be a more secure language for writing CGI programs than Perl or C,
and with correct selection of compile-time and runtime configuration options, and proper coding
practices, it can give you exactly the combination of freedom and security you need.
As there are many different ways of utilizing PHP, there are many configuration options controlling
its behaviour. A large selection of options guarantees you can use PHP for a lot of purposes, but it
also means there are combinations of these options and server configurations that result in an insecure
setup.
The configuration flexibility of PHP is equally rivaled by the code flexibility. PHP can be used to
build complete server applications, with all the power of a shell user, or it can be used for simple
server-side includes with little risk in a tightly controlled environment. How you build that
environment, and how secure it is, is largely up to the PHP developer.
This chapter starts with some general security advice, explains the different configuration option
combinations and the situations they can be safely used, and describes different considerations in
coding for different levels of security.
Class library:
PHP is a powerful Web site scripting language that makes it easier for Web site developers to create
dynamic and engaging Web pages. Developers can use PHP code with a number of Web site
templates and frameworks for improved functionality and features. However, writing PHP code can
be a tedious and time-consuming process. In order to reduce development time, developers can use
PHP libraries instead of writing code to add features to the site.
Using PHP libraries instead of writing the code can considerably reduce Web site development time,
thereby allowing developers to focus on other important aspects of the Web site design.
Here we have compiled a list of the 15 best PHP libraries that will help Web site developers increase
the functionality of their sites easily and optimize PHP development time.
[9]
AIET/CS
Memory management:
The engine's memory management is implemented with features important to a system like PHP. The
exact functionality of the engine's memory management and the optimizations performed are out of
the scope of this document. However, a good understanding of its functionality provides a basis for a
good understanding of the rest of the Hacker's Guide, and introduce you to terminology and
functionality used throughout PHP.
The most important of its features for the Hacker, and the first thing to mention is tracking
allocations. Tracking allocations allow the memory manager to avoid leaks, a thorn in the side of
most Hackers. When PHP is built in debug mode (--enable-debug), detected leaks are reported, in a
perfect world they would never get to deployment.
While tracking allocations is an important, and highly useful feature, the Hacker should not become
lazy! Always attempt to resolve leaks before deploying your code, a memory leak in a SAPI
environment can become a very big problem, very quickly.
Another, perhaps more incidental but still noteworthy, feature is that the memory manager is the part
that allows a hard limit on memory usage for each instance of PHP. As we all know, there is no such
thing as unlimited. If some code is running out of memory, it is likely to be written wrong, either by
the Hacker, or the programmer of PHP. Limiting the memory therefore is not a restriction on the
language that is supposed to be experienced in production, it is simply a way from stopping
development environments from spiraling out of control when mistakes are made, and equally, when
bugs are found in production.
From the Hacker's perspective, the memory management API looks very much like libc's (or
whoever the Hacker prefers!) malloc implementation.
3.2 PHP Frameworks keywords:
 Easier and quicker programming
 Reduced amount of code
 Declarative programming model
 Richer server control hierarchy with events
 Larger class library
 Better support for development tools
[10]
AIET/CS
PHP Controls:
Any PHP script is built out of a series of statements. A statement can be an assignment, a function
call, a loop, a conditional statement or even a statement that does nothing (an empty statement).
Statements usually end with a semicolon. In addition, statements can be grouped into a statement-
group by encapsulating a group of statements with curly braces. A statement-group is a statement by
itself as well. The various statement types are described in this chapter.
Event Aware Controls:
All PHP objects on a Web page can expose events that can be processed by PHP code.
Load, Click and Change events handled by code makes coding much simpler and much better
organized.
ASP.NET Components:
Web applications have made huge leaps and bounds in improving user experience thanks to a lot of
recently developed Ajax technology. When you combine some neat functionality courtesy of PHP
with the cleverness of JavaScript you can produce some pretty cool results. In an effort to help you
take it up a notch, we’d like to share some methods for helping your site anticipate a user’s next
move.
User Authentication:
PHP supports form-based user authentication, cookie management, and automatic redirecting
of unauthorized logins.
User Accounts and Roles:
PHP allows user accounts and roles, to give each user (with a given role) access to different
server code and executables.
High Scalability:
Much has been done with PHP to provide greater scalability.
Server-to-server communication has been greatly enhanced, making it possible to scale an
application over several servers. One example of this is the ability to run XML parsers, XSL
transformations and even resource hungry session objects on other servers.
[11]
AIET/CS
Compiled Code:
The first request for an PHP page on the server will compile the PHP code and keep a cached
copy in memory. The result of this is greatly increased performance.
Easy Configuration: Configuration of PHP is done with plain text files.
Configuration files can be uploaded or changed while the application is running. No need to
restart the server. No more metabase or registry puzzle.
Easy Deployment: No more server-restart to deploy or replace compiled code. PHP simply
redirects all new requests to the new code.
Compatibility:
PHP is not fully compatible with earlier versions of PHP4, so most of the old PHP code will
need some changes to run under PHP.
To overcome this problem, PHP uses a new file extension ".php". This will make web
applications able to run side by side with standard web applications on the same server.
[12]
AIET/CS
CHAPTER-4
INTRODUCTION TO JAVASCRIPT
WhatisJavaScript?
JavaScript is a dynamic computer programming language. It is lightweight and most
commonly used as a part of web pages, whose implementations allow client-side script to
interact with the user and make dynamic pages. It is an interpreted programming language
with object-oriented capabilities.
JavaScript was first known as Live Script, but Netscape changed its name to JavaScript,
possibly because of the excitement being generated by Java. JavaScript made its first
appearance in Netscape 2.0 in 1995 with the name Live Script. The general-purpose core of
the language has been embedded in Netscape, Internet Explorer, and other web browsers.
The ECMA-262 Specification defined a standard version of the core JavaScript language.
JavaScript is a lightweight, interpreted programming language.
Designed for creating network-centric applications.
Complementary to and integrated with Java.
Complementary to and integrated with HTML.
Open and cross-platform
Client-sideJavaScript:
Client-side JavaScript is the most common form of the language. The script should be included in or
referenced by an HTML document for the code to be interpreted by the browser.
It means that a web page need not be a static HTML, but can include programs that interact with the
user, control the browser, and dynamically create HTML content.
The JavaScript client-side mechanism provides many advantages over traditional CGI server-side
scripts. For example, you might use JavaScript to check if the user has entered a valid e-mail address
in a form field.
The JavaScript code is executed when the user submits the form, and only if all the entries are valid,
they would be submitted to the Web Server.
JavaScript can be used to trap user-initiated events such as button clicks, link navigation, and other
actions that the user initiates explicitly or implicitly.
[13]
AIET/CS
Advantages of JavaScript:
The merits of using JavaScript are:
 Less server interaction: You can validate user input before sending the page off to
the server. This saves server traffic, which means less load on your server.
 Immediate feedback to the visitors: They don't have to wait for a page reload to see
if they have forgotten to enter something.
 Increased interactivity: You can create interfaces that react when the user hovers
over them with a mouse or activates them via the keyboard.
 Richer interfaces: You can use JavaScript to include such items as drag-and-drop
components and sliders to give a Rich Interface to your site visitors.
LimitationsofJavaScript:
We cannot treat JavaScript as a full-fledged programming language. It lacks the following
important features −
 Client-side JavaScript does not allow the reading or writing of files. This has been
kept for security reason.
 JavaScript cannot be used for networking applications because there is no such
support available.
 JavaScript doesn't have any multithreading or multiprocessor capabilities.
Once again, JavaScript is a lightweight, interpreted programming language that allows you
to build interactivity into otherwise static HTML pages.
JavaScriptDevelopmentTools:
One of major strengths of JavaScript is that it does not require expensive development tools.
You can start with a simple text editor such as Notepad. Since it is an interpreted language
inside the context of a web browser, you don't even need to buy a compiler.
To make our life simpler, various vendors have come up with very nice JavaScript editing
tools. Some of them are listed here −
[14]
AIET/CS
 Microsoft FrontPage − Microsoft has developed a popular HTML editor called
FrontPage. FrontPage also provides web developers with a number of JavaScript
tools to assist in the creation of interactive websites.
 Macromedia Dreamweaver MX − Macromedia Dreamweaver MX is a very popular
HTML and JavaScript editor in the professional web development crowd. It provides
several handy prebuilt JavaScript components, integrates well with databases, and
conforms to new standards such as XHTML and XML.
 Macromedia Home Site 5 − Home Site 5 is a well-liked HTML and JavaScript
editor from Macromedia that can be used to manage personal websites effectively.
WhereisJavaScriptToday?
The ECMAScript Edition 5 standard will be the first update to be released in over four years.
JavaScript 2.0 conforms to Edition 5 of the ECMAScript standard, and the difference between the two
is extremely minor.
The specification for JavaScript 2.0 can be found on the following site: http://www.ecmascript.org/
Today, Netscape's JavaScript and Microsoft's JScript conform to the ECMAScript standard, although
both the languages still support the features that are not a part of the standard.
[15]
AIET/CS
CHAPTER-5
SYSTEM SPECIFICATION
5.1 Software Requirements:
 Operating Environment Win 2000/XP
 Platform PHP Framework & Appache
 Database MySQL
5.2 Hardware Requirements:
 Processor P IV
 RAM 2 GB
 Minimum Space Required 5 GB
 Display 32 bit color
[16]
AIET/CS
CHAPTER-6
SYSTEM DESIGN
After carefully analyzing the requirements and functionality of the web application, we had
two important diagrams by the end of the analysis phase. They are the ER diagram and data
flow diagram which were the basis for finding out entities and relationships between them,
the flow of information.
Data Flow Diagram:
 Level 0 DFD
Fig. 6.1.1
[17]
AIET/CS
 Level 1 DFD
Fig. 6.1.2
[18]
AIET/CS
Entity Relationship Diagram:
Fig. 6.1.3
[19]
AIET/CS
CHAPTER-7
CODING SHEET
Home Page:
<?php include ("header.php"); ?>
<div class="container">
<!-- slider code start-->
<div id="sliderFrame">
<div id="slider">
<img class="image-responsive" src="images/4150_cold-drink.jpg"
alt="Welcome to our restaurent" />
<img class="image-responsive" src="images/vegetarian-food-images-
7284.jpg" alt="Get Fresh food here " />
<img class="image-responsive"
src="images/8801af2eb14de26b0890abadf7f276f7_large.jpeg" alt="Pure vegetarian
restaurent"/>
<img class="image-responsive" src="images/italian-food-pizza-
wallpaper-44477-45603-hd-wallpapers.jpg" alt=" Opposite Terapanth Bhawan,
Nagori Garden, Shastri Nagar, Bhilwara, Rajasthan 311001" />
<img class="image-responsive" src="pasta.jpg" alt="continental food"/>
</div>
<div id="htmlcaption" style="display: none;">
<em>HTML</em> caption. Link to <a href="#">Google</a>.
</div>
</div>
<!--whats new code Start-->
<div class="row">
<div class="col-md-12">
<div class="strip">
<p>WHAT'S NEW?</p>
</div>
</div>
[20]
AIET/CS
</div>
<div class="row">
<div class="col-md-6">
<h1><span style=" color:#C00;">MEET OUR BEST </span><br/><span
style=" color:#C00;"> FOOD ITEM</span></h1>
<p> <span style="font-size:24px; color:#C00;">PAAV BHAJI </span></p>
<p style="padding:15px 0px 0px 15px"> <a href="menu.php"
class="button" role = "button"> Menu</a></p>
</div>
<div class="col-md-6">
<img class="image-responsive" src="images/pav-bhaji-a-tasty-recipe.jpg"
alt="" style="height:450px;" />
</div>
</div>
<div class="row">
<div class="col-md-6">
<img class="image-responsive" src="images/535910-basil-tree-restaurant-
kirti-nagar.jpg" alt="" style="height:450px;" />
</div>
<div class="col-md-6">
<h1><span style=" color:#C00;">Have You Tasted our</span> <br/><span
style="color:#06C; font-style:italic">Chinese Dishes?</span> </h1>
<p style=" color:#666; font-family:'Trebuchet MS', Arial, Helvetica, sans-
serif; padding:30px 10px 10px 60px"> Sichuan (also known as Szechuan or
Szechwan), is known for its bold, hot, pungent flavours, derived from the liberal use
of garlic and chillies,ginger, and peanuts.We have Szechwan Noodles,Szechwan Rice
dishes in our menu.</p>
</div>
</div>
<div class="row">
<div class="col-md-6">
[21]
AIET/CS
<h1><span style=" color:#C00;">BUTTER PANEER </span> <br /> <span
style="color:#C00;">MASALA DOSA </span> </h1>
<p style="font-family: Georgia, 'Times New Roman', Times, serif; font-
size:30px; color:#C00">FOR </p>
<p style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-
size:40px; color:#C00">Rs. 110 </p>
</div>
<div class="col-md-6">
<img class="image-responsive" src="images/13-1434197439-09-x07-dosa-
p-pic.jpg" alt="" style="height:450px;" />
</div>
</div>
<!-- whats new code End-->
<!--inside our kitchen code start-->
<div class="row">
<div class="col-md-12">
<div class="strip">
<p>IN SIDE OUR KITCHEN</p>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<img class="image-responsive" src="images/ff1.png" style="width:100%"
alt="" />
</div>
<div class="col-md-4">
<img class="image-responsive" src="images/ff.png" style="width:100%"
alt="" />
</div>
[22]
AIET/CS
<div class="col-md-4">
<img class="image-responsive" src="images/ff2.png" style="width:100%"
alt="" />
</div>
</div>
<!--inside our kitchen code end-->
</div>
<?php include ("footer.php"); ?>
Sign UP:
<?php include ("header.php"); ?>
<div class="container">
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">
<div class="register">
<form action="" method="post">
<h3>REGISTER TO <span style="color: #E24E2A;"><strong>MINI
RESTAURANT</strong></span></h3>
<?php
include('connect.php');
if(isset($_POST['Signup']))
{
$fname=$_REQUEST['firstname'];
$lname=$_REQUEST['lastname'];
[23]
AIET/CS
$email=$_REQUEST['email'];
$mobile=$_REQUEST['mobile'];
$pass=$_REQUEST['password'];
$sql =
mysqli_query($con,"SELECT * FROM register_users WHERE email = '$email'");
$row =
mysqli_fetch_row($sql);
if(is_array($row)){
echo '<div
class="errormsgbox"> Email is Already Registered! Try Another Email</div>';
}
else
{
$sql1="insert into
register_users (firstname ,lastname ,email, mobile, password,
Registration_date)values('$fname', '$lname', '$email','$mobile','$pass',Now())";
$res=mysqli_query($con,$sql1);
if($res>=1)
{
echo '<div
class="success">Thank you for
registering with us!,
you may now Login </div>';
}
else
{
echo '<div
class="errormsgbox"> Error Occured in Registration!</div>';
}
}
[24]
AIET/CS
}
?>
<label for="firstname">First Name *</label>
<br/>
<input type="text" id="firstname" name="firstname" placeholder="enter your
first name..." required="required">
<br/>
<label for="lastname">Last Name *</label>
<br/>
<input type="text" id="lastname" name="lastname" placeholder="enter your
first name..." required="required">
<br/>
<label for="email">Email *</label>
<br/>
<input type="text" id="email" name="email" placeholder="enter your email..."
required="required">
<br/>
<label for="mobile">Mobile no. *</label>
<br/>
<input type="text" id="mobile" name="mobile" placeholder="enter your
mobile no...." required="required">
<br/>
<label for="password">Password *</label>
<br/>
<input type="password" id="password" name="password" placeholder="enter
your password..." required="required">
<br/>
<br/>
<br/>
<input class="btn btn-block" name="Signup" type="submit" id="signup"
value="SignUp Now!"/>
</form>
</div>
</div>
[25]
AIET/CS
<div class="col-md-3"></div>
</div>
</div>
<?php include ("footer.php"); ?>
Contact-Us:
<body class="conclass">
<div class="bg img-responsive"></div>
<!--Container 1 Start-->
<?php include ("header.php"); ?>
<!--Container 1 End-->
<!--Container 2 Start-->
<div class="container 2">
<div class="row row1" id="con">
<div class="col-md-12">
<div class="strip">
<p>CONTACT US</p>
</div>
</div>
</div>
<br/>
<div class="row row2">
<div class="col-md-6">
<p style="color:#06C; font-size:20px; font-family: 'Times New Roman',
Times, serif;";><strong>OPENING HOURS: MON-FRI 11:00 AM TO 10:30 PM
<br /> SAT-SUN 11:00 AM TO 11:00 PM</p></strong>
<br/><br/>
<script
src='https://maps.googleapis.com/maps/api/js?v=3.exp'></script>
[26]
AIET/CS
<div style='overflow:hidden;height:300px;width:100%;'>
<div id='gmap_canvas' style='height:300px;width:100%;'></div>
<div><small><a href="http://embedgooglemaps.com">embed google
maps</a></small></div>
<div><small><a
href="http://www.autohuren.world/">autohuren</a></small></div>
<style>#gmap_canvas img{max-
width:none!important;background:none!important}</style>
</div>
<script type='text/javascript'>
function init_map(){var myOptions =
{zoom:16,center:new
google.maps.LatLng(25.343232200000003,74.64145557802748),
mapTypeId:
google.maps.MapTypeId.ROADMAP};
map = new
google.maps.Map(document.getElementById('gmap_canvas'), myOptions);
marker = new google.maps.Marker({map:
map,position: new
google.maps.LatLng(25.343232200000003,74.64145557802748)});
infowindow = new
google.maps.InfoWindow({content:'<strong>JUHU CHOPATTI: The Mini
Restaurant</strong><br>Opposite Terapanth Bhawan, Nagori Garden, Shastri Nagar,
Bhilwara - 311001(Rajasthan)<br>'});
google.maps.event.addListener(marker,
'click', function(){infowindow.open(map,marker);});
infowindow.open(map,marker);}google.maps.event.addDomListener(window, 'load',
init_map);
</script>
</div>
<div class="col-md-6">
[27]
AIET/CS
<p style="color:#06C; font-size:20px; font-family: 'Times New Roman',
Times, serif;"> <strong>TELL US WHAT DO YOU THINK <br/> AND HOW
WE'RE DOING.WRITE US HERE </strong></p>
<br/><br/>
<?php
include('connect.php');
if(isset($_POST['submit']))
{
$fname=$_REQUEST['name'];
$email=$_REQUEST['email'];
$message=$_REQUEST['message'];
$sql1="insert into
`contact_us` (`name` , `email`, `message`, `contact_date`)values('$fname', '$email',
'$message', Now())";
$res=mysql_query($sql1);
if($res>=1)
{
echo '<div
class="success">Thank you for
connecting with us!,
we will contact you soon...</div>';
}
else
{
echo '<div
class="errormsgbox">oops! Error Occured in connecting, Try again after
sometime...</div>';
}
}
?>
<form class="form-horizontal" role="form" method="post" action="">
[28]
AIET/CS
<div class="form-group">
<label for="name" class="col-sm-2 control-label"></label>
<div class="col-sm-10">
<input type="text" class="form-control" id="name" name="name"
placeholder="Name" value="" required="required">
</div>
</div>
<div class="form-group">
<label for="email" class="col-sm-2 control-label"></label>
<div class="col-sm-10">
<input type="email" class="form-control" id="email" name="email"
placeholder="Email" value="" required="required">
</div>
</div>
<div class="form-group">
<label for="message" class="col-sm-2 control-label"></label>
<div class="col-sm-10">
<textarea class="form-control" rows="4" name="message"
placeholder="Message" required="required"></textarea>
</div>
</div>
<div class="form-group">
<div class="col-sm-10 col-sm-offset-2">
<input id="submit" name="submit" type="submit" value="Send"
class="btn badge-success" style="background-color:#E24E2A;color: #FFF;">
</div>
</div>
<div class="form-group">
<div class="col-sm-10 col-sm-offset-2">
<! Will be used to display an alert to the user>
[29]
AIET/CS
</div>
</div>
</form>
</div>
</div>
</div>
<!--Container 2 End-->
<!--Footer Start-->
<?php include ("footer.php"); ?>
About-Us:
<?php include ("header.php"); ?>
<body class="myclass">
<div class="bg img-responsive"></div>
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="detail" style="background-color:#FFF;">
<p> It takes more than exquisite cooking to make a memorable meal.We at Juhu
Chopatti belive an intimate atmosphere in the right location,personal and attentive
service and great company are separate the delicious dinner from an unforgattable
experience</p>
</div>
</div>
<div class="col-md-4">
<div class="detail" style="background-color:#fff;">
<p> It takes more than exquisite cooking to make a memorable meal.We at Juhu
Chopatti belive an intimate atmosphere in the right location,personal and attentive
service and great company are separate the delicious dinner from an unforgattable
experience</p>
[30]
AIET/CS
</div>
</div>
<div class="col-md-4">
<div class="detail" style="background-color:#fff;">
<p> It takes more than exquisite cooking to make a memorable meal.We at Juhu
Chopatti belive an intimate atmosphere in the right location,personal and attentive
service and great company are separate the delicious dinner from an unforgattable
experience</p>
</div>
</div>
</div>
</div>
</body>
<!--footer container start-->
<?php include ("footer.php"); ?>
<!-- footer container end-->
Menu:
<style type="text/css">
.b {
background-repeat: no-repeat;
background-size: 100% 100%;
}
.style1 {
font-size: 24px;
font-weight: bold;
color: #993300;
}
.style2, .style4 {
color:#C30;
font-weight: bold;
width:100%;
[31]
AIET/CS
font-size:16px;
line-height:30px;
position:relative;
}
.style3 {
color:#666;
font-weight: bold;
font-size:16px;
line-height:30px;
position:relative;
}
.menu{ float:left;width:275px;border:5px solid orange; margin:0 10px 50px 0;
display:block; position:relative;}
@media (max-width: 600px) {
.style4 {
display:none;
}
}
-->
</style>
<body class="menuclass">
<div class="bg img-responsive"></div>
<!--Header Container Start-->
<?php include ("header.php"); ?>
<script type="text/javascript">
function filter(genm){
$.ajax({
url: "menu-filter.php",
data:'genm='+genm,
type: "GET",
success: function(data){
$('#catfilter').html(data);
[32]
AIET/CS
}
});
}
</script>
<!--Header Container End-->
<!--Strip -->
<divCode Start class="container">
<div class="row">
<div class="col-md-12">
<div class="strip">
<p>MENU</p>
<br>
<ul>
<li><a href="javascript:filter('North')">North</a></li>
<li><a href="javascript:filter('South')">West</li>
<li><a href="javascript:filter('West')">South</li>
</ul>
</div>
</div>
</div>
</div>
<!--Strip code end-->
<div class="container">
<div class="row" id="catfilter">
<?php
include('connect.php');
$sql=mysqli_query($con,"select * from menu");
while($arr=mysqli_fetch_array($sql))
{
?>
<div class="menu">
[33]
AIET/CS
<img src='images/Orange-dot-pattern-menu-background-
vector.jpg' style="background-size:cover; background-position:center center;
background-repeat:repeat-x; max-width:100%;"/>
<div class="row">
<div class='col-md-4 style2'>Item Name</div> <div class="col-md-2
style4">:</div> <div class="col-md-6 style3">
<?php echo $arr['i_name']; ?></div>
<div class='col-md-4 style2'>Item Price</div> <div class="col-md-2
style4">:</div> <div class="col-md-6 style3">
<?php echo $arr['i_price']; ?></div>
<div class='col-md-4 style2'>Description</div> <div class="col-md-2
style4">:</div> <div class="col-md-6 style3">
<?php echo $arr['i_des']; ?></div>
</div>
</div>
<?php
}
?>
</div>
</div>
<?php include ("footer.php"); ?>
My Sql Database:
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: May 16, 2017 at 11:01 AM
-- Server version: 10.1.10-MariaDB
-- PHP Version: 5.6.15
[34]
AIET/CS
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET
@OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET
@OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET
@OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `juhu_chopatti`
--
-- --------------------------------------------------------
--
-- Table structure for table `admin`
--
CREATE TABLE `admin` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`mobile` varchar(255) NOT NULL,
`username` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `admin`
[35]
AIET/CS
--
INSERT INTO `admin` (`id`, `name`, `email`, `mobile`, `username`, `password`)
VALUES
(1, 'Bhawani Tiwari', 'bhawanicse@gmail.com', '8104066299', 'admin@gmail.com',
'admin');
-- --------------------------------------------------------
--
-- Table structure for table `contact_us`
--
CREATE TABLE `contact_us` (
`id` int(11) NOT NULL,
`name` varchar(50) NOT NULL,
`email` varchar(150) NOT NULL,
`message` varchar(255) NOT NULL,
`contact_date` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `contact_us`
--
INSERT INTO `contact_us` (`id`, `name`, `email`, `message`, `contact_date`)
VALUES
(1, 'Bhawani Sharma', 'bhawanicse@gmail.com', 'Hello Admin this is a testing
message', '0000-00-00 00:00:00'),
(2, 'kavita', 'kavita.jangid72@gmail.com', 'hello', '2016-06-05 06:56:37'),
(4, 'kavita', 'kavita.jangid72@gmail.com', 'hello ', '2016-06-05 08:26:31');
-- --------------------------------------------------------
[36]
AIET/CS
--
-- Table structure for table `feedback`
--
CREATE TABLE `feedback` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`message` varchar(1000) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `menu`
--
CREATE TABLE `menu` (
`id` int(11) NOT NULL,
`i_name` varchar(255) NOT NULL,
`i_price` varchar(255) NOT NULL,
`i_des` varchar(1000) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `menu`
--
INSERT INTO `menu` (`id`, `i_name`, `i_price`, `i_des`) VALUES
(1, 'Masala Dosa', '150 INR', ' South-indian'),
(2, 'Dal Bati Churma', '500 INR', 'Rajasthani Food'),
(3, 'Veg Pulav', '90 INR', 'Testing Package'),
(5, 'White Pasta', '150', 'Italian '),
[37]
AIET/CS
(45, 'Veg Manchurian', '200', 'dfghjkl'),
(79, 'Paav Bhaji', '100', '90');
-- --------------------------------------------------------
--
-- Table structure for table `orderdetail`
--
CREATE TABLE `orderdetail` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`mobile` varchar(255) NOT NULL,
`address` varchar(1000) NOT NULL,
`item` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `orderdetail`
--
INSERT INTO `orderdetail` (`id`, `name`, `email`, `mobile`, `address`, `item`)
VALUES
(3, 'navya sharma', 'genx.kavita.jpr@gmail.com', '9876543210', 'Jaipur', 'Dal Bati
Churma'),
(4, 'navya sharma', 'genx.kavita.jpr@gmail.com', '9876543210', 'BHilwaDArn', 'Veg
Pulav');
-- --------------------------------------------------------
--
-- Table structure for table `orders`
--
[38]
AIET/CS
CREATE TABLE `orders` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`mobile` varchar(100) NOT NULL,
`time` varchar(255) NOT NULL,
`date` varchar(255) NOT NULL,
`message` varchar(1000) NOT NULL,
`Reservation_date` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `orders`
--
INSERT INTO `orders` (`id`, `name`, `email`, `mobile`, `time`, `date`, `message`,
`Reservation_date`) VALUES
(1, 'kavita jangid', 'kavita.jangid72@gmail.comery', '9782204809', 'eklrmew', 'rjfnrkf',
'rkgfmrf,', '2016-06-05 06:27:17'),
(2, 'kavita jangid', 'kavita.jangid72@gmail.comery', '9782204809', '8:00 pm', '10-05-
16', 'I wanna reserve my table.', '2016-06-05 08:22:10');
-- --------------------------------------------------------
--
-- Table structure for table `register_users`
--
CREATE TABLE `register_users` (
`id` int(11) NOT NULL,
`firstname` varchar(80) NOT NULL,
`lastname` varchar(80) NOT NULL,
`email` varchar(100) NOT NULL,
[39]
AIET/CS
`mobile` varchar(255) NOT NULL,
`password` varchar(50) NOT NULL,
`Registration_date` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `register_users`
--
INSERT INTO `register_users` (`id`, `firstname`, `lastname`, `email`, `mobile`,
`password`, `Registration_date`) VALUES
(43, 'masoom', 'raza', 'abcd@gmail.com', '9931049549', 'Masoom', '2016-06-01
12:12:58'),
(44, 'kavita', 'jangid', 'kavita.jangid72@gmail.comery', '9782204809', 'kavita', '2016-
06-05 06:05:13'),
(45, 'navya', 'sharma', 'genx.kavita.jpr@gmail.com', '9876543210', 'kavita', '2016-06-
05 08:53:47'),
(46, 'kavita', 'jngid', 'xyz@gmail.com', '785136944', '123456', '2016-12-06 18:59:09');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `admin`
--
ALTER TABLE `admin`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `contact_us`
--
ALTER TABLE `contact_us`
ADD PRIMARY KEY (`id`);
[40]
AIET/CS
--
-- Indexes for table `feedback`
--
ALTER TABLE `feedback`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `menu`
--
ALTER TABLE `menu`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `orderdetail`
--
ALTER TABLE `orderdetail`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `orders`
--
ALTER TABLE `orders`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `register_users`
--
ALTER TABLE `register_users`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
[41]
AIET/CS
--
--
-- AUTO_INCREMENT for table `admin`
--
ALTER TABLE `admin`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `contact_us`
--
ALTER TABLE `contact_us`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `feedback`
--
ALTER TABLE `feedback`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `menu`
--
ALTER TABLE `menu`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=80;
--
-- AUTO_INCREMENT for table `orderdetail`
--
ALTER TABLE `orderdetail`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `orders`
--
[42]
AIET/CS
ALTER TABLE `orders`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `register_users`
--
ALTER TABLE `register_users`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=47;
/*!40101 SET
CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET
CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET
COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
[43]
AIET/CS
CHAPTER-8
MODULES OF THE PROJECT
From the point of view of functionality, the sample application in this series mainly consists
of the following parts: registration and login modules, scrapbook and photos modules.
Concretely, however, the online shopping web application includes the following modules:
8.1 Modules Introduction:
8.1.1 Registration and Login Module
 Registering user information.
 Submitting user information
 User login
 User logoff
8.1.2 Profile Management Module
 User Details Management.
8.1.3 Admin Module
 Search Books
 Add new books
 Create categories
 Add new admin
8.2 Modules Description:
8.2.1 Registration and Login Module:
[44]
AIET/CS
This module is the initial module of the project. The first stage of the project is
User Registration that is accomplished by this module. In this module, user can register with
website and set Email Id and Password and can login to view his profile. Login details like
password are sent to user’s respective Email Id after registration is completed.
This module enables the user to change his profile image and password.
8.1.2 Profile Management Module:
This module is the initial module of the project. The first stage of the project is
User Registration that is accomplished by this module. In this module, users manage their
module.
8.1.3 Admin Module:
This module is the initial module of the project. The first stage of the project is
User Registration that is accomplished by this module. In this module, Search Books, Add
new books, create new categories, add new admins we can do the all the above functions in
this module.
[45]
AIET/CS
CHAPTER-9
DATABASE DESIGN
Once the input data is captured in the system, these may have to be preserved either for a
short or long period. These data will generally be stored in files or databases in logical
manner. The designer will have to advise the techniques of sorting and retrieving data from
these files. The system uses database, which is described as follows.
9.1. TABLE user
9.2. TABLE subcart
[46]
AIET/CS
9.3. TABLE shipping_details
9.4 TABLE contact
[47]
AIET/CS
9.5 TABLE category
9.6 TABLE reserve table
[48]
AIET/CS
CHAPTER-10
DESIGN DESCRIPTION
10.1 Login Page:
Fig. 10.1
Web Page Description:
This webpage is the starting page of project. User can login to his profile by entering
his email id and password and clicking on sign in button.
Login Page Options:
 Sign In
 Forgot Password
[49]
AIET/CS
Name Details
Sign In Control: Button
Function Description: This option if successful, opens
user account otherwise gives error and prompt user to
give correct email id and password.
Forgot Password Control: Button
Function Description: This option helps user if he forgets
his password.
User Name Control: Textbox
Function Description: User writes the User Name in this
textbox.
Password Control: Textbox
Function Description: User writes password in this
textbox.
[50]
AIET/CS
10.2 Registration Page:
Fig. 10.2
Web page description:
This web page includes a form which has several details filled by user for
registration. Each and every entry is checked at each step whether it is correct or not. It
contains two buttons create my account and reset. Create my account button saves the details
in database after successful registration and send details to user’s email-id and redirect the
user to login page, reset button resets the whole form to initial status.
[51]
AIET/CS
Name Details
Full name Control: Textbox
Function Description: User writes the first name in this
textbox.
User name Control: Textbox
Function Description: User writes the last name in this
textbox.
Email id Control: Textbox
Function Description: User writes the email id in this textbox.
Password Control: Textbox
Function Description: User writes the password in this
textbox.
Confirm password Control: Textbox
Function Description: User writes the password again in this
textbox.to confirms it. It should be same as written in
password.
City Control: Textbox
Function Description: User writes the City Name in this
textbox.
Contact No. Control: int
Function Description: User writes the Contact in this textbox.
[52]
AIET/CS
10.3 Home page:
Fig. 10.3
Web page description:
This is the main page after user login. This page contains various user details that
can be updated. This web page contains links to other web pages like scrapbook, photos,
friends and settings. This page contains an option of sign out and user image. User can
change his image any time. At first login there is no image stored for this user.
[53]
AIET/CS
10.4 Architecture :
Fig. 10.4
[54]
AIET/CS
10.5 About Us:
Fig. 10.5
[55]
AIET/CS
10.6 Contact us:
Fig. 10.6
[56]
AIET/CS
10.7 Categories:
Fig. 10.7
[57]
AIET/CS
10.8 Sub Categories:
Fig. 10.8
[58]
AIET/CS
10.8.1 Order:
Fig. 10.8.1
[59]
AIET/CS
10.8.2 Feedback
Fig. 10.8.2
[60]
AIET/CS
10.8.3 Shipping :
Fig. 10.8.3
[61]
AIET/CS
10.9 Menu:
Fig. 10.9
[62]
AIET/CS
10.10 Admin Panel:
Fig. 10.10
[63]
AIET/CS
CHAPTER-11
CONCLUSION AND REFERENCES
Online food delivery Website Juhuchopatti.com is well described in terms of its features,
functionality and design, now it is essential to analyze its use in present era. YaariRocks.com
is feasible in present era because of its use in modern busy life. It provides a way to be in
touch with Market and Products. It also provides user different facilities of Buying and
exchange Order. In today’s era internet is an important way of communication and
Juhuchopatti.com aid in it.
The merits of the system are:
 It is an extensive system which comprehensively provides almost all the aspects of a
Online Food Delivery Websites.
 The package includes the working of website from the user side and provides
authentication for registered users.
 It provides secure access and high information integrity among the various modules.
 It provides easy navigation from user’s profile to another user’s profile.
The demerits of the system can be given as:
 A user cannot upload their books demand.
 Users cannot comment on the books.
 Latest updates of books are not shown.
On the whole this project is a great learning experience. It strengthened my knowledge the
following areas while developing the website:
 Database concepts through MySQL.
 Programming using PHP using other web languages like html, css etc.
This Online food delivery Website is very promising in future. Many future enhancements
can be done in this website which will enhance its functionality and provide ease to user.
The future enhancements that can be added are:
[64]
AIET/CS
REFERENCES
 http://www.google.com
 http://www.1000projects.com
 http://www.microsoft.com
 http://www.codeproject.com
 http://www.slideshare.net
 http://www.firstload.com

Mais conteúdo relacionado

Mais procurados

Online shoe store
Online shoe storeOnline shoe store
Online shoe storeAnushka Jha
 
Online shopping Report
Online shopping ReportOnline shopping Report
Online shopping ReportPragnya Dash
 
Banking Management System Project documentation
Banking Management System Project documentationBanking Management System Project documentation
Banking Management System Project documentationChaudhry Sajid
 
online-shopping-documentation-srs for TYBSCIT sem 6
 online-shopping-documentation-srs for TYBSCIT sem 6 online-shopping-documentation-srs for TYBSCIT sem 6
online-shopping-documentation-srs for TYBSCIT sem 6YogeshDhamke2
 
Final year project presentation in android application
Final year project presentation in android applicationFinal year project presentation in android application
Final year project presentation in android applicationChirag Thaker
 
A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...
A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...
A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...Fatima Qayyum
 
Problem statement
Problem statementProblem statement
Problem statementKanika Jain
 
Online Shopping Full Project Presentation (20 slides)
Online Shopping Full Project Presentation (20 slides)Online Shopping Full Project Presentation (20 slides)
Online Shopping Full Project Presentation (20 slides)Krishna Mohan Shakya
 
Anshul chechani android app development report
Anshul chechani android app development reportAnshul chechani android app development report
Anshul chechani android app development reportAnshul Chechani
 
An Online Car Parking System (Features & Diagrams Only)
An Online Car Parking System (Features & Diagrams Only)An Online Car Parking System (Features & Diagrams Only)
An Online Car Parking System (Features & Diagrams Only)Jubayer Al Mahmud
 
Synopsis on online shopping by sudeep singh
Synopsis on online shopping by  sudeep singhSynopsis on online shopping by  sudeep singh
Synopsis on online shopping by sudeep singhSudeep Singh
 
java mini project for college students
java mini project for college students java mini project for college students
java mini project for college students SWETALEENA2
 
Online Shopping System [SE]
Online Shopping System  [SE]Online Shopping System  [SE]
Online Shopping System [SE]Ch Fahadi
 
Book store php ppt
Book store php  pptBook store php  ppt
Book store php pptPriya Chavan
 

Mais procurados (20)

Online shoe store
Online shoe storeOnline shoe store
Online shoe store
 
Online shopping Report
Online shopping ReportOnline shopping Report
Online shopping Report
 
Banking Management System Project documentation
Banking Management System Project documentationBanking Management System Project documentation
Banking Management System Project documentation
 
online-shopping-documentation-srs for TYBSCIT sem 6
 online-shopping-documentation-srs for TYBSCIT sem 6 online-shopping-documentation-srs for TYBSCIT sem 6
online-shopping-documentation-srs for TYBSCIT sem 6
 
Final year project presentation in android application
Final year project presentation in android applicationFinal year project presentation in android application
Final year project presentation in android application
 
A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...
A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...
A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...
 
Online Restaurant
Online  RestaurantOnline  Restaurant
Online Restaurant
 
Problem statement
Problem statementProblem statement
Problem statement
 
Online Shopping Full Project Presentation (20 slides)
Online Shopping Full Project Presentation (20 slides)Online Shopping Full Project Presentation (20 slides)
Online Shopping Full Project Presentation (20 slides)
 
ONLINE STUDENT FEEDBACK SYSTEM
ONLINE STUDENT FEEDBACK SYSTEMONLINE STUDENT FEEDBACK SYSTEM
ONLINE STUDENT FEEDBACK SYSTEM
 
Anshul chechani android app development report
Anshul chechani android app development reportAnshul chechani android app development report
Anshul chechani android app development report
 
Food order
Food orderFood order
Food order
 
An Online Car Parking System (Features & Diagrams Only)
An Online Car Parking System (Features & Diagrams Only)An Online Car Parking System (Features & Diagrams Only)
An Online Car Parking System (Features & Diagrams Only)
 
Project Proposel Documentation
Project Proposel  DocumentationProject Proposel  Documentation
Project Proposel Documentation
 
Synopsis on online shopping by sudeep singh
Synopsis on online shopping by  sudeep singhSynopsis on online shopping by  sudeep singh
Synopsis on online shopping by sudeep singh
 
java mini project for college students
java mini project for college students java mini project for college students
java mini project for college students
 
Project report
Project reportProject report
Project report
 
Online Shopping System [SE]
Online Shopping System  [SE]Online Shopping System  [SE]
Online Shopping System [SE]
 
Book store php ppt
Book store php  pptBook store php  ppt
Book store php ppt
 
Order now – restaurant management system
Order now – restaurant management systemOrder now – restaurant management system
Order now – restaurant management system
 

Semelhante a main report on restaurant

Crime Reporting System.pptx
Crime Reporting System.pptxCrime Reporting System.pptx
Crime Reporting System.pptxPenilVora
 
Which are the best PHP frameworks for web development that have a good future...
Which are the best PHP frameworks for web development that have a good future...Which are the best PHP frameworks for web development that have a good future...
Which are the best PHP frameworks for web development that have a good future...Moon Technolabs Pvt. Ltd.
 
Trusted PHP Development Services in the USA
Trusted PHP Development Services in the USATrusted PHP Development Services in the USA
Trusted PHP Development Services in the USAtechnoprofiles
 
Online Fitness Gym Documentation
Online Fitness Gym Documentation Online Fitness Gym Documentation
Online Fitness Gym Documentation Abhishek Patel
 
introduction to web programming using PHP
introduction to web programming using PHPintroduction to web programming using PHP
introduction to web programming using PHPvishnupriyapm4
 
What is CakePHP Web Development .pdf
What is CakePHP Web Development .pdfWhat is CakePHP Web Development .pdf
What is CakePHP Web Development .pdfGrintech Web Agency
 
Federico Feroldi: PHP in Yahoo!
Federico Feroldi: PHP in Yahoo!Federico Feroldi: PHP in Yahoo!
Federico Feroldi: PHP in Yahoo!Francesco Fullone
 
Federico Feroldi Php In Yahoo
Federico Feroldi Php In YahooFederico Feroldi Php In Yahoo
Federico Feroldi Php In YahooFederico Feroldi
 
phpbenelux - Microsoft & PHP (Web Platform Installer, Bridges and Azure)
phpbenelux - Microsoft & PHP (Web Platform Installer, Bridges and Azure)phpbenelux - Microsoft & PHP (Web Platform Installer, Bridges and Azure)
phpbenelux - Microsoft & PHP (Web Platform Installer, Bridges and Azure)Katrien De Graeve
 
Top 6 leading PHP frameworks for web development
Top 6 leading PHP frameworks for web developmentTop 6 leading PHP frameworks for web development
Top 6 leading PHP frameworks for web developmentAppfinz Technologies
 
CONTENT MANAGEMENT SYSTEM
CONTENT MANAGEMENT SYSTEMCONTENT MANAGEMENT SYSTEM
CONTENT MANAGEMENT SYSTEMANAND PRAKASH
 
Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...
Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...
Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...JPLoft Solutions
 
www-valuecoders-com-blog-technology-and-apps-how-to-choose-right-web-developm...
www-valuecoders-com-blog-technology-and-apps-how-to-choose-right-web-developm...www-valuecoders-com-blog-technology-and-apps-how-to-choose-right-web-developm...
www-valuecoders-com-blog-technology-and-apps-how-to-choose-right-web-developm...JamesEddie2
 

Semelhante a main report on restaurant (20)

Crime Reporting System.pptx
Crime Reporting System.pptxCrime Reporting System.pptx
Crime Reporting System.pptx
 
Know about cake php framework with vertexplus
Know about  cake php framework with vertexplusKnow about  cake php framework with vertexplus
Know about cake php framework with vertexplus
 
Which are the best PHP frameworks for web development that have a good future...
Which are the best PHP frameworks for web development that have a good future...Which are the best PHP frameworks for web development that have a good future...
Which are the best PHP frameworks for web development that have a good future...
 
Trusted PHP Development Services in the USA
Trusted PHP Development Services in the USATrusted PHP Development Services in the USA
Trusted PHP Development Services in the USA
 
PHP Course and Training
PHP Course and Training PHP Course and Training
PHP Course and Training
 
Php Training in Chandigarh
Php Training in ChandigarhPhp Training in Chandigarh
Php Training in Chandigarh
 
PHP Web Development
PHP Web DevelopmentPHP Web Development
PHP Web Development
 
Online Fitness Gym Documentation
Online Fitness Gym Documentation Online Fitness Gym Documentation
Online Fitness Gym Documentation
 
PPT - A slice of cake php
PPT - A slice of cake phpPPT - A slice of cake php
PPT - A slice of cake php
 
introduction to web programming using PHP
introduction to web programming using PHPintroduction to web programming using PHP
introduction to web programming using PHP
 
What is CakePHP Web Development .pdf
What is CakePHP Web Development .pdfWhat is CakePHP Web Development .pdf
What is CakePHP Web Development .pdf
 
Best PHP Frameworks
Best PHP FrameworksBest PHP Frameworks
Best PHP Frameworks
 
Federico Feroldi: PHP in Yahoo!
Federico Feroldi: PHP in Yahoo!Federico Feroldi: PHP in Yahoo!
Federico Feroldi: PHP in Yahoo!
 
Federico Feroldi Php In Yahoo
Federico Feroldi Php In YahooFederico Feroldi Php In Yahoo
Federico Feroldi Php In Yahoo
 
phpbenelux - Microsoft & PHP (Web Platform Installer, Bridges and Azure)
phpbenelux - Microsoft & PHP (Web Platform Installer, Bridges and Azure)phpbenelux - Microsoft & PHP (Web Platform Installer, Bridges and Azure)
phpbenelux - Microsoft & PHP (Web Platform Installer, Bridges and Azure)
 
Top 6 leading PHP frameworks for web development
Top 6 leading PHP frameworks for web developmentTop 6 leading PHP frameworks for web development
Top 6 leading PHP frameworks for web development
 
ppt of MANOJ KUMAR.pptx
ppt of MANOJ KUMAR.pptxppt of MANOJ KUMAR.pptx
ppt of MANOJ KUMAR.pptx
 
CONTENT MANAGEMENT SYSTEM
CONTENT MANAGEMENT SYSTEMCONTENT MANAGEMENT SYSTEM
CONTENT MANAGEMENT SYSTEM
 
Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...
Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...
Why CakePHP Is Superior to Other Web Frameworks! Examine Its Pros & Cons For ...
 
www-valuecoders-com-blog-technology-and-apps-how-to-choose-right-web-developm...
www-valuecoders-com-blog-technology-and-apps-how-to-choose-right-web-developm...www-valuecoders-com-blog-technology-and-apps-how-to-choose-right-web-developm...
www-valuecoders-com-blog-technology-and-apps-how-to-choose-right-web-developm...
 

Último

Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086anil_gaur
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfsmsksolar
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 

Último (20)

Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 

main report on restaurant

  • 1. [1] AIET/CS CONTENTS CERTIFICATES FROM DEPARTMENT i CANDIDATE DECLARATION ii ACKNOWLEDGEMENT iii ABSTRACT iv TABLE OF CONTENT Chapter No Name of the Chapter PAGE NO. 1. INTRODUCTION 3 2. REQUIREMENT ANALYSIS 4 3. INTRODUCTION TO PHP 6 4. INTRODUCTION TO JAVASCRIPT 12 5. SYSTEM SPECIFICATION 15 6. SYSTEM DESIGN 16
  • 2. [2] AIET/CS 7. CODING SHEET 19 8. MODULES OF THE PROJECT 43 9 DATABASE DESIGN 45 10 DESIGN DESCRIPTION 48 11 CONCLUSION AND REFERENCES 63
  • 3. [3] AIET/CS CHAPTER-1 INTRODUCTION The Online food delivery website is designed to enable people to create their profile, upload their latest recipes and be in touch with all his friends. All the information like Personal Details, Favourate Details, Sports and Cultural Activities, Interests can be saved by people. People can register on the website and add friends, send scraps, create album and add photos to albums. A Delivery network service focuses on building and reflecting of social networks or social relationships among people, e.g., who share interests and/or Favourate. A social network service essentially consists of a representation of each user (often a profile), his/her social links, and a variety of additional services. Following are the objectives of the Food Delivery Website:  Online Food Delivery allows easy Profile Creation, Creating Albums, Uploading Photos, Sending Scraps and Adding Friends.  Online Food Delivery processes information and delivers it in stipulated time so as to facilitate user to arrive at a well defined and accurate decision.  Better Security: The system is secure. There are facilities to logging into system with user name and password without which, no one can access any data. The password is saved in encrypted form in the database. Also read and write attributes of the system can be controlled hence data cannot be tempered and cannot have un-authorized access.
  • 4. [4] AIET/CS CHAPTER-2 REQUIREMENT ANALYSIS 1. Content Requirements: All web sites have content. So it’s necessary to capture all the types of content that will be used on the site. For each type of content identify the following:  What is the purpose of the content? Is it related to any other content?  Who maintains and updates it? Is there any workflow associated with it?  Who is the audience for this content?  How often is it updated? 2. Functional Requirements: The web site must do certain things to support the business objectives. These functions need to be clearly defined:  Personalization Functions: Registration and Sign-In, Welcome Back, enabling a user to signup for newsletters, etc…  Security Functions: Creating a secure registration page, ensuring passwords are secure. 3. Technical Requirements: In order to ensure the web site will support the number of users who will visit it and ensure the functionality works properly, technical requirements needs to be document such as:  Expected volumes of users  Expected peak periods of use  Types of content that will create high load (like video and audio files)  Security Requirements (is the site a secure site, rules for passwords)  Performance Requirements (i.e. page load time) 4. Used Technology: To solve the given problem statement the most appropriate solution is to design an online social networking website. The most suitable and advanced tool for front end designing a website is HTML,CSS using PHP. PHP is an entirely new technology for server-side scripting. PHP stands for Hypertext Preprocessor PHP and is
  • 5. [5] AIET/CS developed by PHP Core team is used to create web pages and web technologies and is an integral part of PHP core team. As a member of the PHP framework is a very valuable tool for programmers and developers as it allows them to build dynamic, rich web sites and web applications using compiled languages like PHP. Reasons for using PHP in developing this website are:  PHP drastically reduces the amount of code required to build large applications.  With built-in Windows authentication and per-application configuration, your applications are safe and secured.  The PHP framework is complemented by a rich toolbox and designer in the Visual Studio integrated development environment.  The Web server continuously monitors the pages, components and applications running on it. If it notices any memory leaks, infinite loops, other illegal activities, it immediately destroys those activities and restarts itself. Most suitable tool for back end of this website is MYSQL Server . MYSQL server provides a great database facility and has very enhanced functionality as compared to other database servers. Following features make it exceptionally good to use in this system:  MYSQL server is exclusively designed for developers. Whatever the function or procedure that we write in dot net environment those function or procedure that we directly execute in MYSQL server environment. This is the new feature in MYSQL.  MYSQL Server makes it simpler and easier to deploy manage and optimize enterprise data and analytical applications. So due to these advance features in PHP and SQL Server, this website is made using PHP as front end and SQL Server as back end.
  • 6. [6] AIET/CS CHAPTER-3 INTRODUCTION TO PHP PHP is a server side scripting technology that enables scripts (embedded in web pages) to be executed by an Internet server.  PHP stands for Hypertext Preprocessor.  PHP is an interpreted language, i.e. there is no need for compilation.  PHP is a server side scripting language.  PHP is faster than other scripting language e.g. asp and jsp. PHP is widely used in web development now a days. Dynamic websites can be easily developed by PHP. But you must have the basic the knowledge of following technologies for web development as well.  HTML  CSS  JavaScript  AJAX  XML and JSON  JQuery 3.1 The Microsoft PHP Framework: PHP, known as the most popular server-side scripting language in the world, has evolved a lot since the first inline code snippets appeared in static HTML files. These days developers need to build complex websites and web apps, and above a certain complexity level it can take too much time and hassle to always start from scratch, hence came the need for a more structured natural way of development. PHP frameworks provide developers with an adequate solution for that. In this post we carefully handpicked 10 popular PHP frameworks that can best facilitate and streamline the process of backend web development.
  • 7. [7] AIET/CS Why Use A PHP Framework: But first, let’s take a look at the top reasons why many developers like to use PHP frameworks and how these frameworks can level up your development process. Here’s what PHP frameworks do:  Make speed development possible  Provide well-organized, reusable and maintainable code  Let you grow over time as web apps running on frameworks are scalable  Spare you from the worries about low-level security of a site  Follow the MVC (Model-View-Controller) pattern that ensures the separation of presentation and logic  Promote modern web development practices such as object-oriented programming tools PHP Features: There are given many features of PHP.  Performance: Script written in PHP executes much faster then those scripts written in other languages such as JSP & ASP.  Open Source Software: PHP source code is free available on the web, you can developed all the version of PHP according to your requirement without paying any cost.  Platform Independent: PHP are available for WINDOWS, MAC, LINUX & UNIX operating system. A PHP application developed in one OS can be easily executed in other OS also.  Compatibility: PHP is compatible with almost all local servers used today like Apache, IIS etc.  Embedded: PHP code can be easily embedded within HTML tags and script. Metadata: A MySQL result set contains metadata. The metadata describes the columns found in the result set. All metadata sent by MySQL is accessible through the mysqli interface. The extension performs no or negligible changes to the information it receives. Differences between MySQL server versions are not aligned. Meta data is access through the mysqli_result interface.
  • 8. [8] AIET/CS Security: PHP is a powerful language and the interpreter, whether included in a web server as a module or executed as a separate CGI binary, is able to access files, execute commands and open network connections on the server. These properties make anything run on a web server insecure by default. PHP is designed specifically to be a more secure language for writing CGI programs than Perl or C, and with correct selection of compile-time and runtime configuration options, and proper coding practices, it can give you exactly the combination of freedom and security you need. As there are many different ways of utilizing PHP, there are many configuration options controlling its behaviour. A large selection of options guarantees you can use PHP for a lot of purposes, but it also means there are combinations of these options and server configurations that result in an insecure setup. The configuration flexibility of PHP is equally rivaled by the code flexibility. PHP can be used to build complete server applications, with all the power of a shell user, or it can be used for simple server-side includes with little risk in a tightly controlled environment. How you build that environment, and how secure it is, is largely up to the PHP developer. This chapter starts with some general security advice, explains the different configuration option combinations and the situations they can be safely used, and describes different considerations in coding for different levels of security. Class library: PHP is a powerful Web site scripting language that makes it easier for Web site developers to create dynamic and engaging Web pages. Developers can use PHP code with a number of Web site templates and frameworks for improved functionality and features. However, writing PHP code can be a tedious and time-consuming process. In order to reduce development time, developers can use PHP libraries instead of writing code to add features to the site. Using PHP libraries instead of writing the code can considerably reduce Web site development time, thereby allowing developers to focus on other important aspects of the Web site design. Here we have compiled a list of the 15 best PHP libraries that will help Web site developers increase the functionality of their sites easily and optimize PHP development time.
  • 9. [9] AIET/CS Memory management: The engine's memory management is implemented with features important to a system like PHP. The exact functionality of the engine's memory management and the optimizations performed are out of the scope of this document. However, a good understanding of its functionality provides a basis for a good understanding of the rest of the Hacker's Guide, and introduce you to terminology and functionality used throughout PHP. The most important of its features for the Hacker, and the first thing to mention is tracking allocations. Tracking allocations allow the memory manager to avoid leaks, a thorn in the side of most Hackers. When PHP is built in debug mode (--enable-debug), detected leaks are reported, in a perfect world they would never get to deployment. While tracking allocations is an important, and highly useful feature, the Hacker should not become lazy! Always attempt to resolve leaks before deploying your code, a memory leak in a SAPI environment can become a very big problem, very quickly. Another, perhaps more incidental but still noteworthy, feature is that the memory manager is the part that allows a hard limit on memory usage for each instance of PHP. As we all know, there is no such thing as unlimited. If some code is running out of memory, it is likely to be written wrong, either by the Hacker, or the programmer of PHP. Limiting the memory therefore is not a restriction on the language that is supposed to be experienced in production, it is simply a way from stopping development environments from spiraling out of control when mistakes are made, and equally, when bugs are found in production. From the Hacker's perspective, the memory management API looks very much like libc's (or whoever the Hacker prefers!) malloc implementation. 3.2 PHP Frameworks keywords:  Easier and quicker programming  Reduced amount of code  Declarative programming model  Richer server control hierarchy with events  Larger class library  Better support for development tools
  • 10. [10] AIET/CS PHP Controls: Any PHP script is built out of a series of statements. A statement can be an assignment, a function call, a loop, a conditional statement or even a statement that does nothing (an empty statement). Statements usually end with a semicolon. In addition, statements can be grouped into a statement- group by encapsulating a group of statements with curly braces. A statement-group is a statement by itself as well. The various statement types are described in this chapter. Event Aware Controls: All PHP objects on a Web page can expose events that can be processed by PHP code. Load, Click and Change events handled by code makes coding much simpler and much better organized. ASP.NET Components: Web applications have made huge leaps and bounds in improving user experience thanks to a lot of recently developed Ajax technology. When you combine some neat functionality courtesy of PHP with the cleverness of JavaScript you can produce some pretty cool results. In an effort to help you take it up a notch, we’d like to share some methods for helping your site anticipate a user’s next move. User Authentication: PHP supports form-based user authentication, cookie management, and automatic redirecting of unauthorized logins. User Accounts and Roles: PHP allows user accounts and roles, to give each user (with a given role) access to different server code and executables. High Scalability: Much has been done with PHP to provide greater scalability. Server-to-server communication has been greatly enhanced, making it possible to scale an application over several servers. One example of this is the ability to run XML parsers, XSL transformations and even resource hungry session objects on other servers.
  • 11. [11] AIET/CS Compiled Code: The first request for an PHP page on the server will compile the PHP code and keep a cached copy in memory. The result of this is greatly increased performance. Easy Configuration: Configuration of PHP is done with plain text files. Configuration files can be uploaded or changed while the application is running. No need to restart the server. No more metabase or registry puzzle. Easy Deployment: No more server-restart to deploy or replace compiled code. PHP simply redirects all new requests to the new code. Compatibility: PHP is not fully compatible with earlier versions of PHP4, so most of the old PHP code will need some changes to run under PHP. To overcome this problem, PHP uses a new file extension ".php". This will make web applications able to run side by side with standard web applications on the same server.
  • 12. [12] AIET/CS CHAPTER-4 INTRODUCTION TO JAVASCRIPT WhatisJavaScript? JavaScript is a dynamic computer programming language. It is lightweight and most commonly used as a part of web pages, whose implementations allow client-side script to interact with the user and make dynamic pages. It is an interpreted programming language with object-oriented capabilities. JavaScript was first known as Live Script, but Netscape changed its name to JavaScript, possibly because of the excitement being generated by Java. JavaScript made its first appearance in Netscape 2.0 in 1995 with the name Live Script. The general-purpose core of the language has been embedded in Netscape, Internet Explorer, and other web browsers. The ECMA-262 Specification defined a standard version of the core JavaScript language. JavaScript is a lightweight, interpreted programming language. Designed for creating network-centric applications. Complementary to and integrated with Java. Complementary to and integrated with HTML. Open and cross-platform Client-sideJavaScript: Client-side JavaScript is the most common form of the language. The script should be included in or referenced by an HTML document for the code to be interpreted by the browser. It means that a web page need not be a static HTML, but can include programs that interact with the user, control the browser, and dynamically create HTML content. The JavaScript client-side mechanism provides many advantages over traditional CGI server-side scripts. For example, you might use JavaScript to check if the user has entered a valid e-mail address in a form field. The JavaScript code is executed when the user submits the form, and only if all the entries are valid, they would be submitted to the Web Server. JavaScript can be used to trap user-initiated events such as button clicks, link navigation, and other actions that the user initiates explicitly or implicitly.
  • 13. [13] AIET/CS Advantages of JavaScript: The merits of using JavaScript are:  Less server interaction: You can validate user input before sending the page off to the server. This saves server traffic, which means less load on your server.  Immediate feedback to the visitors: They don't have to wait for a page reload to see if they have forgotten to enter something.  Increased interactivity: You can create interfaces that react when the user hovers over them with a mouse or activates them via the keyboard.  Richer interfaces: You can use JavaScript to include such items as drag-and-drop components and sliders to give a Rich Interface to your site visitors. LimitationsofJavaScript: We cannot treat JavaScript as a full-fledged programming language. It lacks the following important features −  Client-side JavaScript does not allow the reading or writing of files. This has been kept for security reason.  JavaScript cannot be used for networking applications because there is no such support available.  JavaScript doesn't have any multithreading or multiprocessor capabilities. Once again, JavaScript is a lightweight, interpreted programming language that allows you to build interactivity into otherwise static HTML pages. JavaScriptDevelopmentTools: One of major strengths of JavaScript is that it does not require expensive development tools. You can start with a simple text editor such as Notepad. Since it is an interpreted language inside the context of a web browser, you don't even need to buy a compiler. To make our life simpler, various vendors have come up with very nice JavaScript editing tools. Some of them are listed here −
  • 14. [14] AIET/CS  Microsoft FrontPage − Microsoft has developed a popular HTML editor called FrontPage. FrontPage also provides web developers with a number of JavaScript tools to assist in the creation of interactive websites.  Macromedia Dreamweaver MX − Macromedia Dreamweaver MX is a very popular HTML and JavaScript editor in the professional web development crowd. It provides several handy prebuilt JavaScript components, integrates well with databases, and conforms to new standards such as XHTML and XML.  Macromedia Home Site 5 − Home Site 5 is a well-liked HTML and JavaScript editor from Macromedia that can be used to manage personal websites effectively. WhereisJavaScriptToday? The ECMAScript Edition 5 standard will be the first update to be released in over four years. JavaScript 2.0 conforms to Edition 5 of the ECMAScript standard, and the difference between the two is extremely minor. The specification for JavaScript 2.0 can be found on the following site: http://www.ecmascript.org/ Today, Netscape's JavaScript and Microsoft's JScript conform to the ECMAScript standard, although both the languages still support the features that are not a part of the standard.
  • 15. [15] AIET/CS CHAPTER-5 SYSTEM SPECIFICATION 5.1 Software Requirements:  Operating Environment Win 2000/XP  Platform PHP Framework & Appache  Database MySQL 5.2 Hardware Requirements:  Processor P IV  RAM 2 GB  Minimum Space Required 5 GB  Display 32 bit color
  • 16. [16] AIET/CS CHAPTER-6 SYSTEM DESIGN After carefully analyzing the requirements and functionality of the web application, we had two important diagrams by the end of the analysis phase. They are the ER diagram and data flow diagram which were the basis for finding out entities and relationships between them, the flow of information. Data Flow Diagram:  Level 0 DFD Fig. 6.1.1
  • 17. [17] AIET/CS  Level 1 DFD Fig. 6.1.2
  • 19. [19] AIET/CS CHAPTER-7 CODING SHEET Home Page: <?php include ("header.php"); ?> <div class="container"> <!-- slider code start--> <div id="sliderFrame"> <div id="slider"> <img class="image-responsive" src="images/4150_cold-drink.jpg" alt="Welcome to our restaurent" /> <img class="image-responsive" src="images/vegetarian-food-images- 7284.jpg" alt="Get Fresh food here " /> <img class="image-responsive" src="images/8801af2eb14de26b0890abadf7f276f7_large.jpeg" alt="Pure vegetarian restaurent"/> <img class="image-responsive" src="images/italian-food-pizza- wallpaper-44477-45603-hd-wallpapers.jpg" alt=" Opposite Terapanth Bhawan, Nagori Garden, Shastri Nagar, Bhilwara, Rajasthan 311001" /> <img class="image-responsive" src="pasta.jpg" alt="continental food"/> </div> <div id="htmlcaption" style="display: none;"> <em>HTML</em> caption. Link to <a href="#">Google</a>. </div> </div> <!--whats new code Start--> <div class="row"> <div class="col-md-12"> <div class="strip"> <p>WHAT'S NEW?</p> </div> </div>
  • 20. [20] AIET/CS </div> <div class="row"> <div class="col-md-6"> <h1><span style=" color:#C00;">MEET OUR BEST </span><br/><span style=" color:#C00;"> FOOD ITEM</span></h1> <p> <span style="font-size:24px; color:#C00;">PAAV BHAJI </span></p> <p style="padding:15px 0px 0px 15px"> <a href="menu.php" class="button" role = "button"> Menu</a></p> </div> <div class="col-md-6"> <img class="image-responsive" src="images/pav-bhaji-a-tasty-recipe.jpg" alt="" style="height:450px;" /> </div> </div> <div class="row"> <div class="col-md-6"> <img class="image-responsive" src="images/535910-basil-tree-restaurant- kirti-nagar.jpg" alt="" style="height:450px;" /> </div> <div class="col-md-6"> <h1><span style=" color:#C00;">Have You Tasted our</span> <br/><span style="color:#06C; font-style:italic">Chinese Dishes?</span> </h1> <p style=" color:#666; font-family:'Trebuchet MS', Arial, Helvetica, sans- serif; padding:30px 10px 10px 60px"> Sichuan (also known as Szechuan or Szechwan), is known for its bold, hot, pungent flavours, derived from the liberal use of garlic and chillies,ginger, and peanuts.We have Szechwan Noodles,Szechwan Rice dishes in our menu.</p> </div> </div> <div class="row"> <div class="col-md-6">
  • 21. [21] AIET/CS <h1><span style=" color:#C00;">BUTTER PANEER </span> <br /> <span style="color:#C00;">MASALA DOSA </span> </h1> <p style="font-family: Georgia, 'Times New Roman', Times, serif; font- size:30px; color:#C00">FOR </p> <p style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font- size:40px; color:#C00">Rs. 110 </p> </div> <div class="col-md-6"> <img class="image-responsive" src="images/13-1434197439-09-x07-dosa- p-pic.jpg" alt="" style="height:450px;" /> </div> </div> <!-- whats new code End--> <!--inside our kitchen code start--> <div class="row"> <div class="col-md-12"> <div class="strip"> <p>IN SIDE OUR KITCHEN</p> </div> </div> </div> <div class="row"> <div class="col-md-4"> <img class="image-responsive" src="images/ff1.png" style="width:100%" alt="" /> </div> <div class="col-md-4"> <img class="image-responsive" src="images/ff.png" style="width:100%" alt="" /> </div>
  • 22. [22] AIET/CS <div class="col-md-4"> <img class="image-responsive" src="images/ff2.png" style="width:100%" alt="" /> </div> </div> <!--inside our kitchen code end--> </div> <?php include ("footer.php"); ?> Sign UP: <?php include ("header.php"); ?> <div class="container"> <div class="row"> <div class="col-md-3"></div> <div class="col-md-6"> <div class="register"> <form action="" method="post"> <h3>REGISTER TO <span style="color: #E24E2A;"><strong>MINI RESTAURANT</strong></span></h3> <?php include('connect.php'); if(isset($_POST['Signup'])) { $fname=$_REQUEST['firstname']; $lname=$_REQUEST['lastname'];
  • 23. [23] AIET/CS $email=$_REQUEST['email']; $mobile=$_REQUEST['mobile']; $pass=$_REQUEST['password']; $sql = mysqli_query($con,"SELECT * FROM register_users WHERE email = '$email'"); $row = mysqli_fetch_row($sql); if(is_array($row)){ echo '<div class="errormsgbox"> Email is Already Registered! Try Another Email</div>'; } else { $sql1="insert into register_users (firstname ,lastname ,email, mobile, password, Registration_date)values('$fname', '$lname', '$email','$mobile','$pass',Now())"; $res=mysqli_query($con,$sql1); if($res>=1) { echo '<div class="success">Thank you for registering with us!, you may now Login </div>'; } else { echo '<div class="errormsgbox"> Error Occured in Registration!</div>'; } }
  • 24. [24] AIET/CS } ?> <label for="firstname">First Name *</label> <br/> <input type="text" id="firstname" name="firstname" placeholder="enter your first name..." required="required"> <br/> <label for="lastname">Last Name *</label> <br/> <input type="text" id="lastname" name="lastname" placeholder="enter your first name..." required="required"> <br/> <label for="email">Email *</label> <br/> <input type="text" id="email" name="email" placeholder="enter your email..." required="required"> <br/> <label for="mobile">Mobile no. *</label> <br/> <input type="text" id="mobile" name="mobile" placeholder="enter your mobile no...." required="required"> <br/> <label for="password">Password *</label> <br/> <input type="password" id="password" name="password" placeholder="enter your password..." required="required"> <br/> <br/> <br/> <input class="btn btn-block" name="Signup" type="submit" id="signup" value="SignUp Now!"/> </form> </div> </div>
  • 25. [25] AIET/CS <div class="col-md-3"></div> </div> </div> <?php include ("footer.php"); ?> Contact-Us: <body class="conclass"> <div class="bg img-responsive"></div> <!--Container 1 Start--> <?php include ("header.php"); ?> <!--Container 1 End--> <!--Container 2 Start--> <div class="container 2"> <div class="row row1" id="con"> <div class="col-md-12"> <div class="strip"> <p>CONTACT US</p> </div> </div> </div> <br/> <div class="row row2"> <div class="col-md-6"> <p style="color:#06C; font-size:20px; font-family: 'Times New Roman', Times, serif;";><strong>OPENING HOURS: MON-FRI 11:00 AM TO 10:30 PM <br /> SAT-SUN 11:00 AM TO 11:00 PM</p></strong> <br/><br/> <script src='https://maps.googleapis.com/maps/api/js?v=3.exp'></script>
  • 26. [26] AIET/CS <div style='overflow:hidden;height:300px;width:100%;'> <div id='gmap_canvas' style='height:300px;width:100%;'></div> <div><small><a href="http://embedgooglemaps.com">embed google maps</a></small></div> <div><small><a href="http://www.autohuren.world/">autohuren</a></small></div> <style>#gmap_canvas img{max- width:none!important;background:none!important}</style> </div> <script type='text/javascript'> function init_map(){var myOptions = {zoom:16,center:new google.maps.LatLng(25.343232200000003,74.64145557802748), mapTypeId: google.maps.MapTypeId.ROADMAP}; map = new google.maps.Map(document.getElementById('gmap_canvas'), myOptions); marker = new google.maps.Marker({map: map,position: new google.maps.LatLng(25.343232200000003,74.64145557802748)}); infowindow = new google.maps.InfoWindow({content:'<strong>JUHU CHOPATTI: The Mini Restaurant</strong><br>Opposite Terapanth Bhawan, Nagori Garden, Shastri Nagar, Bhilwara - 311001(Rajasthan)<br>'}); google.maps.event.addListener(marker, 'click', function(){infowindow.open(map,marker);}); infowindow.open(map,marker);}google.maps.event.addDomListener(window, 'load', init_map); </script> </div> <div class="col-md-6">
  • 27. [27] AIET/CS <p style="color:#06C; font-size:20px; font-family: 'Times New Roman', Times, serif;"> <strong>TELL US WHAT DO YOU THINK <br/> AND HOW WE'RE DOING.WRITE US HERE </strong></p> <br/><br/> <?php include('connect.php'); if(isset($_POST['submit'])) { $fname=$_REQUEST['name']; $email=$_REQUEST['email']; $message=$_REQUEST['message']; $sql1="insert into `contact_us` (`name` , `email`, `message`, `contact_date`)values('$fname', '$email', '$message', Now())"; $res=mysql_query($sql1); if($res>=1) { echo '<div class="success">Thank you for connecting with us!, we will contact you soon...</div>'; } else { echo '<div class="errormsgbox">oops! Error Occured in connecting, Try again after sometime...</div>'; } } ?> <form class="form-horizontal" role="form" method="post" action="">
  • 28. [28] AIET/CS <div class="form-group"> <label for="name" class="col-sm-2 control-label"></label> <div class="col-sm-10"> <input type="text" class="form-control" id="name" name="name" placeholder="Name" value="" required="required"> </div> </div> <div class="form-group"> <label for="email" class="col-sm-2 control-label"></label> <div class="col-sm-10"> <input type="email" class="form-control" id="email" name="email" placeholder="Email" value="" required="required"> </div> </div> <div class="form-group"> <label for="message" class="col-sm-2 control-label"></label> <div class="col-sm-10"> <textarea class="form-control" rows="4" name="message" placeholder="Message" required="required"></textarea> </div> </div> <div class="form-group"> <div class="col-sm-10 col-sm-offset-2"> <input id="submit" name="submit" type="submit" value="Send" class="btn badge-success" style="background-color:#E24E2A;color: #FFF;"> </div> </div> <div class="form-group"> <div class="col-sm-10 col-sm-offset-2"> <! Will be used to display an alert to the user>
  • 29. [29] AIET/CS </div> </div> </form> </div> </div> </div> <!--Container 2 End--> <!--Footer Start--> <?php include ("footer.php"); ?> About-Us: <?php include ("header.php"); ?> <body class="myclass"> <div class="bg img-responsive"></div> <div class="container"> <div class="row"> <div class="col-md-4"> <div class="detail" style="background-color:#FFF;"> <p> It takes more than exquisite cooking to make a memorable meal.We at Juhu Chopatti belive an intimate atmosphere in the right location,personal and attentive service and great company are separate the delicious dinner from an unforgattable experience</p> </div> </div> <div class="col-md-4"> <div class="detail" style="background-color:#fff;"> <p> It takes more than exquisite cooking to make a memorable meal.We at Juhu Chopatti belive an intimate atmosphere in the right location,personal and attentive service and great company are separate the delicious dinner from an unforgattable experience</p>
  • 30. [30] AIET/CS </div> </div> <div class="col-md-4"> <div class="detail" style="background-color:#fff;"> <p> It takes more than exquisite cooking to make a memorable meal.We at Juhu Chopatti belive an intimate atmosphere in the right location,personal and attentive service and great company are separate the delicious dinner from an unforgattable experience</p> </div> </div> </div> </div> </body> <!--footer container start--> <?php include ("footer.php"); ?> <!-- footer container end--> Menu: <style type="text/css"> .b { background-repeat: no-repeat; background-size: 100% 100%; } .style1 { font-size: 24px; font-weight: bold; color: #993300; } .style2, .style4 { color:#C30; font-weight: bold; width:100%;
  • 31. [31] AIET/CS font-size:16px; line-height:30px; position:relative; } .style3 { color:#666; font-weight: bold; font-size:16px; line-height:30px; position:relative; } .menu{ float:left;width:275px;border:5px solid orange; margin:0 10px 50px 0; display:block; position:relative;} @media (max-width: 600px) { .style4 { display:none; } } --> </style> <body class="menuclass"> <div class="bg img-responsive"></div> <!--Header Container Start--> <?php include ("header.php"); ?> <script type="text/javascript"> function filter(genm){ $.ajax({ url: "menu-filter.php", data:'genm='+genm, type: "GET", success: function(data){ $('#catfilter').html(data);
  • 32. [32] AIET/CS } }); } </script> <!--Header Container End--> <!--Strip --> <divCode Start class="container"> <div class="row"> <div class="col-md-12"> <div class="strip"> <p>MENU</p> <br> <ul> <li><a href="javascript:filter('North')">North</a></li> <li><a href="javascript:filter('South')">West</li> <li><a href="javascript:filter('West')">South</li> </ul> </div> </div> </div> </div> <!--Strip code end--> <div class="container"> <div class="row" id="catfilter"> <?php include('connect.php'); $sql=mysqli_query($con,"select * from menu"); while($arr=mysqli_fetch_array($sql)) { ?> <div class="menu">
  • 33. [33] AIET/CS <img src='images/Orange-dot-pattern-menu-background- vector.jpg' style="background-size:cover; background-position:center center; background-repeat:repeat-x; max-width:100%;"/> <div class="row"> <div class='col-md-4 style2'>Item Name</div> <div class="col-md-2 style4">:</div> <div class="col-md-6 style3"> <?php echo $arr['i_name']; ?></div> <div class='col-md-4 style2'>Item Price</div> <div class="col-md-2 style4">:</div> <div class="col-md-6 style3"> <?php echo $arr['i_price']; ?></div> <div class='col-md-4 style2'>Description</div> <div class="col-md-2 style4">:</div> <div class="col-md-6 style3"> <?php echo $arr['i_des']; ?></div> </div> </div> <?php } ?> </div> </div> <?php include ("footer.php"); ?> My Sql Database: -- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: May 16, 2017 at 11:01 AM -- Server version: 10.1.10-MariaDB -- PHP Version: 5.6.15
  • 34. [34] AIET/CS SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `juhu_chopatti` -- -- -------------------------------------------------------- -- -- Table structure for table `admin` -- CREATE TABLE `admin` ( `id` int(11) NOT NULL, `name` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `mobile` varchar(255) NOT NULL, `username` varchar(255) NOT NULL, `password` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `admin`
  • 35. [35] AIET/CS -- INSERT INTO `admin` (`id`, `name`, `email`, `mobile`, `username`, `password`) VALUES (1, 'Bhawani Tiwari', 'bhawanicse@gmail.com', '8104066299', 'admin@gmail.com', 'admin'); -- -------------------------------------------------------- -- -- Table structure for table `contact_us` -- CREATE TABLE `contact_us` ( `id` int(11) NOT NULL, `name` varchar(50) NOT NULL, `email` varchar(150) NOT NULL, `message` varchar(255) NOT NULL, `contact_date` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `contact_us` -- INSERT INTO `contact_us` (`id`, `name`, `email`, `message`, `contact_date`) VALUES (1, 'Bhawani Sharma', 'bhawanicse@gmail.com', 'Hello Admin this is a testing message', '0000-00-00 00:00:00'), (2, 'kavita', 'kavita.jangid72@gmail.com', 'hello', '2016-06-05 06:56:37'), (4, 'kavita', 'kavita.jangid72@gmail.com', 'hello ', '2016-06-05 08:26:31'); -- --------------------------------------------------------
  • 36. [36] AIET/CS -- -- Table structure for table `feedback` -- CREATE TABLE `feedback` ( `id` int(11) NOT NULL, `name` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `message` varchar(1000) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `menu` -- CREATE TABLE `menu` ( `id` int(11) NOT NULL, `i_name` varchar(255) NOT NULL, `i_price` varchar(255) NOT NULL, `i_des` varchar(1000) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `menu` -- INSERT INTO `menu` (`id`, `i_name`, `i_price`, `i_des`) VALUES (1, 'Masala Dosa', '150 INR', ' South-indian'), (2, 'Dal Bati Churma', '500 INR', 'Rajasthani Food'), (3, 'Veg Pulav', '90 INR', 'Testing Package'), (5, 'White Pasta', '150', 'Italian '),
  • 37. [37] AIET/CS (45, 'Veg Manchurian', '200', 'dfghjkl'), (79, 'Paav Bhaji', '100', '90'); -- -------------------------------------------------------- -- -- Table structure for table `orderdetail` -- CREATE TABLE `orderdetail` ( `id` int(11) NOT NULL, `name` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `mobile` varchar(255) NOT NULL, `address` varchar(1000) NOT NULL, `item` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `orderdetail` -- INSERT INTO `orderdetail` (`id`, `name`, `email`, `mobile`, `address`, `item`) VALUES (3, 'navya sharma', 'genx.kavita.jpr@gmail.com', '9876543210', 'Jaipur', 'Dal Bati Churma'), (4, 'navya sharma', 'genx.kavita.jpr@gmail.com', '9876543210', 'BHilwaDArn', 'Veg Pulav'); -- -------------------------------------------------------- -- -- Table structure for table `orders` --
  • 38. [38] AIET/CS CREATE TABLE `orders` ( `id` int(11) NOT NULL, `name` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `mobile` varchar(100) NOT NULL, `time` varchar(255) NOT NULL, `date` varchar(255) NOT NULL, `message` varchar(1000) NOT NULL, `Reservation_date` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `orders` -- INSERT INTO `orders` (`id`, `name`, `email`, `mobile`, `time`, `date`, `message`, `Reservation_date`) VALUES (1, 'kavita jangid', 'kavita.jangid72@gmail.comery', '9782204809', 'eklrmew', 'rjfnrkf', 'rkgfmrf,', '2016-06-05 06:27:17'), (2, 'kavita jangid', 'kavita.jangid72@gmail.comery', '9782204809', '8:00 pm', '10-05- 16', 'I wanna reserve my table.', '2016-06-05 08:22:10'); -- -------------------------------------------------------- -- -- Table structure for table `register_users` -- CREATE TABLE `register_users` ( `id` int(11) NOT NULL, `firstname` varchar(80) NOT NULL, `lastname` varchar(80) NOT NULL, `email` varchar(100) NOT NULL,
  • 39. [39] AIET/CS `mobile` varchar(255) NOT NULL, `password` varchar(50) NOT NULL, `Registration_date` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `register_users` -- INSERT INTO `register_users` (`id`, `firstname`, `lastname`, `email`, `mobile`, `password`, `Registration_date`) VALUES (43, 'masoom', 'raza', 'abcd@gmail.com', '9931049549', 'Masoom', '2016-06-01 12:12:58'), (44, 'kavita', 'jangid', 'kavita.jangid72@gmail.comery', '9782204809', 'kavita', '2016- 06-05 06:05:13'), (45, 'navya', 'sharma', 'genx.kavita.jpr@gmail.com', '9876543210', 'kavita', '2016-06- 05 08:53:47'), (46, 'kavita', 'jngid', 'xyz@gmail.com', '785136944', '123456', '2016-12-06 18:59:09'); -- -- Indexes for dumped tables -- -- -- Indexes for table `admin` -- ALTER TABLE `admin` ADD PRIMARY KEY (`id`); -- -- Indexes for table `contact_us` -- ALTER TABLE `contact_us` ADD PRIMARY KEY (`id`);
  • 40. [40] AIET/CS -- -- Indexes for table `feedback` -- ALTER TABLE `feedback` ADD PRIMARY KEY (`id`); -- -- Indexes for table `menu` -- ALTER TABLE `menu` ADD PRIMARY KEY (`id`); -- -- Indexes for table `orderdetail` -- ALTER TABLE `orderdetail` ADD PRIMARY KEY (`id`); -- -- Indexes for table `orders` -- ALTER TABLE `orders` ADD PRIMARY KEY (`id`); -- -- Indexes for table `register_users` -- ALTER TABLE `register_users` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables
  • 41. [41] AIET/CS -- -- -- AUTO_INCREMENT for table `admin` -- ALTER TABLE `admin` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `contact_us` -- ALTER TABLE `contact_us` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `feedback` -- ALTER TABLE `feedback` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `menu` -- ALTER TABLE `menu` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=80; -- -- AUTO_INCREMENT for table `orderdetail` -- ALTER TABLE `orderdetail` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `orders` --
  • 42. [42] AIET/CS ALTER TABLE `orders` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `register_users` -- ALTER TABLE `register_users` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=47; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  • 43. [43] AIET/CS CHAPTER-8 MODULES OF THE PROJECT From the point of view of functionality, the sample application in this series mainly consists of the following parts: registration and login modules, scrapbook and photos modules. Concretely, however, the online shopping web application includes the following modules: 8.1 Modules Introduction: 8.1.1 Registration and Login Module  Registering user information.  Submitting user information  User login  User logoff 8.1.2 Profile Management Module  User Details Management. 8.1.3 Admin Module  Search Books  Add new books  Create categories  Add new admin 8.2 Modules Description: 8.2.1 Registration and Login Module:
  • 44. [44] AIET/CS This module is the initial module of the project. The first stage of the project is User Registration that is accomplished by this module. In this module, user can register with website and set Email Id and Password and can login to view his profile. Login details like password are sent to user’s respective Email Id after registration is completed. This module enables the user to change his profile image and password. 8.1.2 Profile Management Module: This module is the initial module of the project. The first stage of the project is User Registration that is accomplished by this module. In this module, users manage their module. 8.1.3 Admin Module: This module is the initial module of the project. The first stage of the project is User Registration that is accomplished by this module. In this module, Search Books, Add new books, create new categories, add new admins we can do the all the above functions in this module.
  • 45. [45] AIET/CS CHAPTER-9 DATABASE DESIGN Once the input data is captured in the system, these may have to be preserved either for a short or long period. These data will generally be stored in files or databases in logical manner. The designer will have to advise the techniques of sorting and retrieving data from these files. The system uses database, which is described as follows. 9.1. TABLE user 9.2. TABLE subcart
  • 47. [47] AIET/CS 9.5 TABLE category 9.6 TABLE reserve table
  • 48. [48] AIET/CS CHAPTER-10 DESIGN DESCRIPTION 10.1 Login Page: Fig. 10.1 Web Page Description: This webpage is the starting page of project. User can login to his profile by entering his email id and password and clicking on sign in button. Login Page Options:  Sign In  Forgot Password
  • 49. [49] AIET/CS Name Details Sign In Control: Button Function Description: This option if successful, opens user account otherwise gives error and prompt user to give correct email id and password. Forgot Password Control: Button Function Description: This option helps user if he forgets his password. User Name Control: Textbox Function Description: User writes the User Name in this textbox. Password Control: Textbox Function Description: User writes password in this textbox.
  • 50. [50] AIET/CS 10.2 Registration Page: Fig. 10.2 Web page description: This web page includes a form which has several details filled by user for registration. Each and every entry is checked at each step whether it is correct or not. It contains two buttons create my account and reset. Create my account button saves the details in database after successful registration and send details to user’s email-id and redirect the user to login page, reset button resets the whole form to initial status.
  • 51. [51] AIET/CS Name Details Full name Control: Textbox Function Description: User writes the first name in this textbox. User name Control: Textbox Function Description: User writes the last name in this textbox. Email id Control: Textbox Function Description: User writes the email id in this textbox. Password Control: Textbox Function Description: User writes the password in this textbox. Confirm password Control: Textbox Function Description: User writes the password again in this textbox.to confirms it. It should be same as written in password. City Control: Textbox Function Description: User writes the City Name in this textbox. Contact No. Control: int Function Description: User writes the Contact in this textbox.
  • 52. [52] AIET/CS 10.3 Home page: Fig. 10.3 Web page description: This is the main page after user login. This page contains various user details that can be updated. This web page contains links to other web pages like scrapbook, photos, friends and settings. This page contains an option of sign out and user image. User can change his image any time. At first login there is no image stored for this user.
  • 63. [63] AIET/CS CHAPTER-11 CONCLUSION AND REFERENCES Online food delivery Website Juhuchopatti.com is well described in terms of its features, functionality and design, now it is essential to analyze its use in present era. YaariRocks.com is feasible in present era because of its use in modern busy life. It provides a way to be in touch with Market and Products. It also provides user different facilities of Buying and exchange Order. In today’s era internet is an important way of communication and Juhuchopatti.com aid in it. The merits of the system are:  It is an extensive system which comprehensively provides almost all the aspects of a Online Food Delivery Websites.  The package includes the working of website from the user side and provides authentication for registered users.  It provides secure access and high information integrity among the various modules.  It provides easy navigation from user’s profile to another user’s profile. The demerits of the system can be given as:  A user cannot upload their books demand.  Users cannot comment on the books.  Latest updates of books are not shown. On the whole this project is a great learning experience. It strengthened my knowledge the following areas while developing the website:  Database concepts through MySQL.  Programming using PHP using other web languages like html, css etc. This Online food delivery Website is very promising in future. Many future enhancements can be done in this website which will enhance its functionality and provide ease to user. The future enhancements that can be added are:
  • 64. [64] AIET/CS REFERENCES  http://www.google.com  http://www.1000projects.com  http://www.microsoft.com  http://www.codeproject.com  http://www.slideshare.net  http://www.firstload.com