Académique Documents
Professionnel Documents
Culture Documents
Project Profile
Page 1 of 20
Online Food Ordering Portal
Project Profile
o Project Description:
Online food order System is a Website Which Displays
Restaurants Information To Customers. Provide Facility to
Customers to Book Table trough Website, Provide Facility to
Restaurants owners To Add Their Restaurants into Online Food
Order System and Manage Restaurants Information.
o Team Size: 1
o Front End: PHP
o Back End: MYSQL
o Framework: CAKEPHP
Page 2 of 20
Online Food Ordering Portal
Introduction to tools
Page 3 of 20
Online Food Ordering Portal
Introduction to Tools
PHP originally stands for Personal Home Page but, nowadays it stands for
PHP: Hypertext Preprocessor. It is a server-side scripting language commonly
used for developing dynamic website.
Why PHP?
PHP is very easy to learn, compare to the other ways to achieve similar
functionality. It comprises of syntax of c, c++, java and Perl script which are easily
adaptable. Unlike, JSP or C based CGI; PHP doesnt require gaining deep
understanding of a major programming language.
PHP has a syntax that is quite easy to parse and human friendly.
Page 4 of 20
Online Food Ordering Portal
Over the past years, the internet has gone from the preserve of academics to
the cutting edge of business. A large part of this has been driven the growth of the
web, with its graphical browser and high media profile. The change from static
HTML pages to dynamic, user interactive presentations has been achieved largely
by the introduction of scripting technologies.
Working with the usual markup language of a web page, scripting language
enable clients to demand specific information from their servers, in turn to receive
important user input in order to process and display data on demand.
In the forefront of this advancement has been the open source community,
dedicated in providing web based solutions purely for the love of the technology
itself. Open source is not about free software, but it is about, as the name suggest,
being open about the source of the code.
Having free access to the source means that authors are forced to keep to
standards. If these are not maintained, deviation is labeled a bug, and if the author
doesnt fix it, someone else will. Large numbers of independent programmers being
able to understand what a program does, and ensuring that standards are
maintained, prevents the author from being able to exploit the user, as happens in
the commercial software world.
The World Wide Web has changed very fast in so many ways. It was
wondrous to read some text wherever in the world with just a simple program and
what is more information in the document could magically transport you to another
one with related information.
A modern website is not just a web server, it is also includes a way of storing
data querying a way of processing the requests from the user and creating
documents with the appropriate information. Many are the options open to the web
developer, but not all of them as open and general as others. We should not only
consider the immediate task at hand of crating a site dynamic content, we need to
be sure that we can still be provided the said content independently of the changes
in hardware or software technology
Page 5 of 20
Online Food Ordering Portal
MYSQL is the most popular Open Source SQL database management system
is developed, distributed and supported by MYSQLAB. MYSQLAB is a commercial
company, founded by the MySQL developers, that builds its business by providing
services around the MySQL database management System.
A relational database stores data in separate tables rather than putting all the
data in one big store room. This adds speed and flexibility. The SQL part of MYSQL
stands for Structured Query Language. SQL is the most common standardized
language used to access databases and is defined by the ANSI/ISO SQL Standard.
MYSQL software is Open Source. It means is possible for anyone to use and
modify the software. Anybody can download the MYSQL software users that GPL
(GNU General Public License), to define what you may and may not do with the
software in different situation. If you feel uncomfortable with the GPL or need to
embed MYSQL code into a commercial application.
Page 6 of 20
Online Food Ordering Portal
The MYSQL database server is very fast, reliable and easy to use. If that is
what you are looking for, you should give it a try. MYSQL server also has a practical
set features developed in close co-operation with users. You can find a performance
comparison of MYSQL was originally developed to handle large database mush
faster than existing solutions and has been successfully use in highly demanding
production environments for several years. Though under constant development,
MYSQL server today offer a rich and useful set of functions. Its connectivity, speed,
and security make MYSQL server highly suited for accessing database on the
internet.
We also provide MYSQL server as multi-threaded library which you can link
into your application to get a smaller, faster, easier-to-manage products.
Page 7 of 20
Online Food Ordering Portal
Introduction to Framework
CakePHP:
The CakePHP framework provides a robust base for your application. It can
handle every aspect, from the users initial request all the way to the final
rendering of a web page. And since the framework follows the principles of
MVC, it allows you to easily customize and extend most aspects of your
application. The framework also provides a basic organizational structure, from
filenames to database table names, keeping your entire application consistent
and logical. This concept is simple but powerful. Follow the conventions and
youll always know exactly where things are and how theyre organized.
CakePHP follows the MVC36 software design pattern. Programming using MVC
separates your application into three main parts:
Model:
The Model layer The Model layer represents the part of your application that
implements the business logic. It is responsible for retrieving data and
converting it into meaningful concepts for your application. This includes
processing, validating, associating or other tasks related to handling data.
Page 8 of 20
Online Food Ordering Portal
View:
The View layer The View renders a presentation of modeled data. Being
separated from the Model objects, it is responsible for using the information it
has available to produce any presentational interface your application might
need. For example, as the Model layer returns a set of data, the view would use
it to render a HTML page containing it, or a XML formatted result for others to
consume.
Controller:
The Controller layer The Controller layer handles requests from users. It is
responsible for rendering a response with the aid of both the Model and the
View layer. A controller can be seen as a manager that ensures that all resources
needed for completing a task are delegated to the correct workers. It waits for
petitions from clients, checks their validity according to authentication or
authorization rules, delegates data fetching or processing to the model, selects
the type of presentational data that the clients are accepting, and finally
delegates the rendering process to the View layer.
Page 9 of 20
Online Food Ordering Portal
System Study
Existing System:
The Online Food Ordering Portal is developed mainly to provide online food
ordering & table booking facilities to group of restaurants. The Nanosoft
softwares & solutions wants that its customers should get user friendly
website with simple user interface so every customer can get relevant
information about restaurants available in your city easily through just few
clicks. This Portal includes all the detailed information about its registered
Page 10 of 20
Online Food Ordering Portal
restaurants, Menu details and Table reservation system. It also includes map
information about the restaurants and reviews from frequent users of the
Portal. The customer can even order food online with the facility of different
modifiers for available Cuisines. It also includes latest news and events
about recently added restaurants & offers provided by Restaurants for their
valuable customers.
Page 11 of 20
Online Food Ordering Portal
System Analysis
Page 12 of 20
Online Food Ordering Portal
Page 13 of 20
Online Food Ordering Portal
Page 14 of 20
Online Food Ordering Portal
Page 15 of 20
Online Food Ordering Portal
Page 16 of 20
Online Food Ordering Portal
System Design
Page 17 of 20
Online Food Ordering Portal
System Testing
Page 18 of 20
Online Food Ordering Portal
Future enhancement
Page 19 of 20
Online Food Ordering Portal
bibliography/
references
Page 20 of 20