WTA Mini Project Format
WTA Mini Project Format
WTA Mini Project Format
CHAPTER 1
INTRODUCTION
Cafeteria Management System is computer that system that help cafeteria to managetheir
cafeteria dairy process, such as order, reservation, redemption and etc. The entiresystem
consists of back end and front end, which back end was an offline applicationand front end
was a web site. The offline application allow cafeteria to manage thecafeteria information and
managing the dairy process such as seat admission andorder. And the system allow cafeteria
to manage their meal menu and promotion. Andall the updated meal menu and promotion
will be show on the web page automaticallyupon the completion of updating.Cafeteria
Management System is developed by using Microsoft Visual 2010. Theoffline application is
developed by using VB.net with object-oriented programmingmethod, and the web site is
developed by using c#. The database is design andmanaged by using Microsoft SQL
2007.The current cafeteria is currently working by using manual way which means
fully paperwork, which consist a lot of man power and time in managing the record anddairy
process. And human mistake is unavoidable while the workload is increasing.Therefore they
request for the developing of Cafeteria Management System, whichmaking their dairy
process form paperwork into automate system. CafeteriaManagement System other than
replace their manual dairy work such as enter order, make reservation and payment, also
including new function such as online reservationand ordering, online meal and promotion
viewing, report generating and reservationnotification
1.1 OVERVIEW
It is common for Offices, Factories, Call Centres, Hostels, Schools, Clubs and Hospitals to
operate their own cafeterias for their employees and students. However, managing the
cafeteria menu, attendance and consumption is a challenging process. Manual and paper
based processes are cumbersome and error-prone, leading to inaccuracies and wastage of
time and material. A canteen management system is essential for keeping track of food
consumption.
Matrix offers a cafeteria management software that tracks item-wise food consumption and
also for a group of users. Different menus can be planned for breakfast, lunch, dinner, special
days and different occasions. Matrix biometric cafeteria management software allows post-
paid and pre-paid accounting options for users to make cafeteria process cashless. Pre-paid
account users have to recharge their smart cards in advance before ordering. On the other
hand, post-paid users can use any credential including fingerprint, proximity card or smart
card to order food. In both the methods, the amount is debited in the user account without any
monetary transaction.
1.2 OBJECTIVES
The system will helps to fasten the respond time when doing daily
transaction.Customers or members enquiries will be responding in an efficient way
because thesystem can help to keep track of the member record quickly.
The system also can help to save the manpower in maintaining the paperwork,
recordthat kept in system will save the paper cost, and manpower cost that normally
require more staff to take care of the paper document and using database also save the
placeto store the document.
The system make the payment process become easier and faster.
Online feedback can let customer to rating for the meal that they eat. The meal
ratingalso can be a kind of reference when customers make meal ordering. This may
help toimprove the sales of the cafeteria.
The system allows the time and set meal arrangement for whole week and makes
theappointment become easier.
The system help the cafeteria to keep track the membership status of the
member.Thus, it helps the cafeteria to increase the income and keep track the
popularity ofcafeteria.
CHAPTER 2
REQUEREMENT ANALYSIS
2.1 Front End
HTML, CSS, JS and PHP are acronyms for different coding languages used for displaying
and processing webpages on the internet. Each has a different purpose and function and they
work together to deliver beautiful websites with updated content to your web browser. The
following as used for the implementation of User interface and Experience as front-end
technologies.
A CSS framework is a pre-prepared software framework that is meant to allow for easier,
more standards-compliant web design using the Cascading Style Sheets language. Most of
these frameworks contain at least a grid. More functional frameworks also come with more
features and additional JavaScript based functions, but are mostly design oriented and
unobtrusive. This differentiates these from functional and full JavaScript frameworks
2.1.1 HTML
The Hypertext Markup Language (HTML) is the standard markup language for creating web
pages and web applications. With Cascading Style Sheets (CSS) and JavaScript, it forms a
triad of cornerstone technologies for the World Wide Web. Web browsers receive HTML
documents from a web server or from local storage and render the documents into multimedia
web pages. HTML describes the structure of a web page semantically and originally included
cues for the appearance of the document.
Publish online documents with headings, text, tables, lists, photos, etc.
In our project we have used HTML to create web pages like home page, to provide customer
with different foods that are available in our cafeteria.
2.1.2 CSS
CSS is the language for describing the presentation of Web pages, including color, layout,
and fonts. It allows one to adapt the presentation to different types of devices, such as large
screens, Small screens, or printers. CSS is independent of HTML and can be used with any
XML-based mark-up language. The separation of HTML from CSS makes it easier to
maintain sites, share style sheets across pages, and tailor pages to different environments.
In our project we have used the external style sheets where the CSS styles are defined in
otherfile and we just need to include that file in our project files by specifying its location.
2.1.3 JavaScript
2.1.4 PHP
PHP is a server side scripting language that is used to develop Static websites or
Dynamicwebsites or Web applications. PHP stands for Hypertext Pre-processor, that earlier
stood forPersonal Home Pages.PHP is supported by a wide range of commercial and open-
source web servers, including RedHat Linux, and can also be installed as an Apache module.
Its widespread availability and its relative simplicity mean that it is an excellent way to
introduce dynamic features into your webpages. As it is an open, non-proprietary standard,
PHP developers are not restricted by the limitations imposed by some commercial suppliers
of server-side scripting software, neither do they have to purchase expensive licenses in order
to use it.
2.2.1 MySQL
MySQL is offered under two different editions: the open source MySQL Community Server
and the proprietary Enterprise Server. MySQL Enterprise Server is differentiated by a series of
proprietary extensions which install as server plugins, but otherwise shares the version
numbering system and is built from the same code base. Major features as available in
MySQL. A broad subset of ANSI SQL 99, as well as extensions, Cross-platform support,
Stored procedures, using a procedural language that closely adheres to SQL/PSM, Triggers,
Cursors, Updatable views, Online Data Definition Language (DDL) when using the InnoDB
Storage Engine. Information schema Performance Schema that collects and aggregates
statistics about server execution and query performance for monitoring purposes.MySQL is
one of the most popular relational database system being used on the Web today. It is freely
available and easy to install, however if you have installed Wamp server it already there on
your machine. MySQL database server offers several advantages:
MySQL is easy to use, yet extremely powerful, fast, secure, and scalable.
MySQL runs on a wide range of operating systems, including UNIX or Linux,
Microsoft Windows, Apple Mac OS X, and others.
MySQL supports standard SQL (Structured Query Language).
MySQL is ideal database solution for both small and large applications.
MySQL includes data security layers that protect sensitive data from intruders..
2.2.2 PHP
PHP is a server-side scripting language designed primarily for web development but also
used as a general-purpose programming language. Originally created by Ramus Leadoff in
1994, the PHP reference implementation is now produced by The PHP Development
Team. PHP originally stood for Personal Home Page,] but it now stands for the recursive
acronym PHP: Hypertext Preprocessor.
PHP code may be embedded into HTML or HTML5 markup, or it can be used in
combination with various web template systems, web content management systems and web
frameworks. PHP code is usually processed by a PHP interpreter implemented as a module in
the web server or as a Common Gateway Interface (CGI) executable. The web
server software combines the results of the interpreted and executed PHP code, which may be
any type of data, including images, with the generated web page. PHP code may also be
executed with a command-line interface (CLI) and can be used to
implement standalone graphical applications.
CHAPTER 3
To ensure into this site user has to register him/herself first. Requirements of
registration are user name, password, email.
For the admin registration, user name and Password is used.
User Login:
The System provides facility to login into the system which will redirect customer
and admin to their respective Home page.
For the login Entering username and password is must for every user type.
Customer can order the items which are available in the cafeteria menu.
Then the system will provide the availability and unavailability of items.
After selecting items customer will get the payment method page or generated bill.
Customer can select the options to pay the bill using wallet(cash) or cash on delivery.
If customer choose the cash on delivery method system will ask the information like
address, contact number, email and customer name.
If customer choose the card method it will ask the information about card number,
cvv number.
Logout:
CHAPTER 4
SYSTEM DESIGN
The below figure shows the core modules which interacts between Admin and user. The
system provides a steady flow of operations from login to ordering food, and managing their
order.
Systems design is the process of defining the architecture, modules, interfaces, and data for
a system to satisfy specified requirements. Systems design could be seen as the application
of systems theory to product development. There is some overlap with the disciplines
of systems analysis, systems architecture and systems engineering.
Data Flow Diagram (DFD) provides a visual representation of the flow of information (i.e. data)
within a system. By drawing a Data Flow Diagram, you can tell the information provided by and
delivered to someone who takes part in system processes, the information needed in order to
complete the processes and the information needed to be stored and accessed.
The architectural design of a system emphasizes the design of the system architecture that
describes the structure, behavior and more views of that system and analysis.
The logical design of a system pertains to an abstract representation of the data flows, inputs
and outputs of the system. This is often conducted via modelling, using an over-abstract (and
sometimes graphical) model of the actual system. In the context of systems, designs are
included. Logical design includes entity-relationship diagrams (ER diagrams).
The physical design relates to the actual input and output processes of the system. This is
explained in terms of how data is input into a system, how it is verified/authenticated, how it
is processed, asnd how it is displayed. In physical design, the following requirements about
the system are decided.
1. Input requirement,
2. Output requirements,
3. Storage requirements,
4. Processing requirements,
5. System control and backup or recovery.
Put another way, the physical portion of system design can generally be broken down into
three sub-tasks:
User Interface Design is concerned with how users add information to the system and with
how the system presents information back to them.
Data Design is concerned with how the data is represented and stored within the system.
Finally, Process Design is concerned with how data moves through the system, and with how
and where it is validated, secured and/or transformed as it flows into, through and out of the
system.
CHAPTER 5
IMPLEMENTATION
We choose to structure our system after the client-server architectural model.
Theservercomponent is responsible for providing a model of the stock of the cafeteria,and a
number of clients can connect to that server to query or modify that model .One example of
such a client could be a manager’s interface, which allows a cafe-teria manager to add orders
or change the stock. Another example is a customerinformation terminal, which would allow
a customer to see what today’s special is,and whether some item is currently out of stock.
For the server itself (and the managers’ client we will implement to demonstratethe system),
thelayered architecture(originally conceived by EdsgerW.Dijkstra)appears to be the most
useful. As such, our system architecture becomes a heterogenous architecture, including
aspects of both client-server and layered systemdesign.
The defining characteristic of the layered architecture style is that the applicationis structured
in logicallayers, each of which is only allowed to invoke a layer onelevel below or one level
above itself.
The benefit of this organization is clarity: Itis possible to achieve a logical, clear model of
the application, in which individuallayers have clearly defined areas of responsibility. The
"strict" form of this organization means that each layer provides a service to the layer above
it, and acts asa client for the layer below it – that is, layers may request services from the
layerbelow themselves, but never from the ones above.
This model ends itself well toour particular application, because we can provide an outerlayer
which implementsthe user interface, and keep the function and model components in separate
layer.
5.1 Modules
Operation of the application is based on the inputs given and interactions done by the user.
Following modules will describe the working flow of our web application:
Login and Registration
The user can login by his login credentials.
If the entered credentials such as username and password match with the one in
database, user can securely log on to the system.
If the entered username or password is wrong, then system gives alert message.
Menu management
Where admin can manage the information about the available items.
Customer can order the items and also he can able to abort the order.
After successful ordering the user can get the bill and he can also do the comment or
complaints about the service.
Logout
The user exits the software in two scenarios:
Normal browser close, will not destroy the session. The browser application is closed.
By using logout option from web application will Log the user out from the
application and destroys the session, so that it cannot be resumed by unauthorized
person.
5.2 PHP
PHP code consists of a core, with optional extensions to the core functionality. PHP's
MySQL-related extensions, such as the MySQLi extension, and the MySQL extension,
are implemented using the PHP extension framework. An extension typically exposes an
API to the PHP developer, to allow its facilities to be used programmatically. However,
some extensions which use the PHP extension framework do not expose an API to the
PHP developer. The PDO MySQL driver extension, for example, does not expose an API
to the PHP developer, but provides an interface to the PDO layer above it. MySQLi is an
improved version of the older PHP MySQL driver, offering various benefits. The authors
of the PHP scripting language recommend using MySQLi when dealing with MySQL
server versions 4.1.3 and newer (takes advantage of new functionality).
5.3 MYSQL
MySQL can be built and installed manually from source code, but it is more commonly
installed from a binary package unless special customizations are required. On most Linux
distributions, the package management system can download and install MySQL with
minimal effort, though further configuration is often required to adjust security and
optimization settings.LAMP software bundle, displayed here together with Squid.Though
MySQL began as a low-end alternative to more powerful proprietary databases, it has
gradually evolved to support higher-scale needs as well. It is still most commonly used in
small to medium scale single-server deployments, either as a component in a LAMP-based
web application or as a standalone database server. Much of MySQL's appeal originates in its
relative simplicity and ease of use, which is enabled by an ecosystem of open source tools
such as phpMyAdmin. In the medium range, MySQL can be scaled by deploying it on more
powerful hardware, such as a multi-processor server with gigabytes of memory.
MySQL is one of the most popular relational database systems being used on the Web today.
It is freely available and easy to install, however if you have installed Wamp server it already
there on your machine. MySQL database server offers several advantages:
MySQL is easy to use, yet extremely powerful, fast, secure, and scalable.
MySQL supports standard SQL (Structured Query Language).
MySQL is ideal database solution for both small and large applications.
MySQL includes data security layers that protect sensitive data from intruders.
For the working of our web application MySQL is very important as it is used for
performing several operations on our database such as Fetch, Insert and
manipulate.
This is done with the help of server-side scripting language PHP, its use in our web
application is elaborated below.
CHAPTER 6
TESTING
Testing is vital to the success of the system. System testing makes a logical assumption that if
all parts of the system are corrected, the goal will be successfully achieved. Inadequate
testing or non-testing leads to errors that may not appear until months later. The testing of
this project ensures that the data received by the user is accurate. This is ensured by viewing
the profile of the applicant and there by enable the applicant to edit their profile. Our project
also enables to view the messages received and the replied messages. We perform two kinds
of test for our system, unit testing and integration testing.
6.1 Unit Testing:
In computer programming, a unit test is a procedure used to validate that a particular module
of source code is working properly. The procedure is to write test cases for all functions and
methods so that whenever a change causes a regression, it can quickly be identified and fixed.
Ideally, each test case is separate from the others. This test is always performed soon after the
completion of the respective module. The cafeteria management consists of many modules so
in unit testing following modules are tested one after the other:
Admin/customer login.
Customer registration.
Menu provided to the customer.
Ordering of items.
Generating bill after successful ordering.
Providing options while doing payment.
Connection and authentication of the system.
Integrate different modules to the main page based on user account type.
its output the integrated system ready for system testing. So that using these testing modules
our project is tested by combining all the modules like registration,login, ordering, menu
management and also bill generating modules.
The purpose of integration testing is to verify functional, performance and reliability
requirements placed in major design items. With respect to this we verified all these project
modules which are in the cafeteria management system.
The system testing involves in this project are all the forms in this project are done both the
form validations and the database validations.
Form validation involves checking all the form constraints like arithmetic, syntactical, logical
errors.Database validation involves checking constraints like primary key, foreign key, and
all the database validation. Avoiding data redundancy.
All the modules of the system are tested and now the modules are combined together and the
integrated module is tested and validated for checking whether the combined modules are
working perfectly or not.
After all the tests carried above, there are no any serious errors which have been detected in
the proposed system called cafeteria management. Since the system is conformed to all the
requirements mentioned. At this point system is ready for deployment.
The system works with normal speed with more accuracy and efficiency. The system is
reliable i.e., it operates with different system’s hardware and software. Also, the system is
much secured, it allows only users who have the access right to interact with the system(users
who have registered with login details required by the system).
CHAPTER 7
ADVANTAGES
Cafeteria Management is integrated with AN existing (or new), Personnel system, Time
workers.
Manual entry of transactions is possible.
Daily limit on the number for the usage of canteen facility is planned.
Advance data on the usage of the canteen facilities by the workers on any specific day or
DISADVANTAGES
The proposed system will minimizes the human work but in other way it will effect
on employees that is it will reduces the jobs of the people in the cafeteria.
Plan must meet complex tax requirements.
CHAPTER 8
RESULTS AND SNAPSHOTS
Index page consist the login module for admin and aswell as customer,by selecting
registration option we need to add the username and password.
This above figure shows ordering items with customer information like address, contact
number, email and note and generated bill information and it also calculates the total bill.
The above figure consist of page which shows the information about cancelled items by
customer. Where customer can cancel any item he/she wants.
This page shows the items which are available in the cafeteria with item price and quality of
the ordered food where user can order items.
This page contains the information about the payment method where user can receive the
order by card or cash on delivery.
Above figure shows the ticket concept where user can raise complaint about the cafeteria
items or else they can give the feedback about the service.
CONCLUSION
Cafe Management System Project is implemented in cafe for managing the customers,
database and also generates report on each event. This project also deals with the managing
the customers, controlling customer information, details about items and ticket information
where we can raise the complaints and comments about items which are present in the
cafeteria. This software also provides an additional accounting feature too for billing. This
project is able to manage the entire cafe weather it is of any size, so that It is more easier for
the cafe manager to operate the entire café.
REFERENCES