Final Docomentation Online Fast FOOD
Final Docomentation Online Fast FOOD
Final Docomentation Online Fast FOOD
Final documentation
MSCIT-0813
STATEMENT OF SUBMISSION
This is to certify that following students have successfully completed the final project
named as: Online Ordering Of Fast Food at The University of the Punjab, Gujranwala
Campus, and Gujranwala, to fulfill the partial requirement of the degree of Master in
Information Technology.
______________________ ______________________
Internal Supervisor Project Coordinator
Name of Internal Supervisor Naveed Ahmad Jhamat
PUGC PUGC
__________________ ___________________
Incharge IT-Department Director General
Naveed Ahmad Jhamat Prof. Dr. Muhammad Ehsan Malik
PUGC PUGC
PROOFREADING CERTIFICATE
_____________________
Name of Teacher
Designation,
Name of Institute.
Acknowledgements
This project is the direct result of the teamwork. We sincerely thank the instructors and
students who have shared their suggestion with us over last few weeks.
Many thanks go to Prof. Naveed Ahmad Jhamat our Project coordinator and
supervisor, whose management helped us to get this project produced in timely and
efficient manner.
Write to us
We welcome your response to this project .If there is anything you want to mention about
the improvement of this project please let us know:
ABSTRACT
Information technology playing a vital role in the business professions now a day.
Web base systems made business deals very easy especially. World Web Developers
have the idea to make an Online Order System as web based for Online Ordering Of Fast
Food. It is a really that customers they want to purchase online but due to complications
they can’t do so. We have providing facilities to the customers of E-OFF. They can
order and purchase products through a credit card. This credit card payment system is
very economical because some commissions cut off from payment. The beauty of this
project why u cook when you just click.
TABLE OF CONTENTS
Chapter 1
© Department of Information Technology, University Of The Punjab, Gujranwala Campus. 2
Online Fast Food Ordering
Chapter 2
2.1 Project Costing....................................................................................................15
2.1.1 Project Cost Estimation by Function Point Analysis....................................16
2.1.1.1 Computing Function Point.....................................................................16
2.1.1.2 Calculation of ∑ Fi.................................................................................17
2.1.1.3 Calculation of Function Points...............................................................18
2.1.1.4 Total duration of Project........................................................................18
2.1.1.5 Total Cost of Project...............................................................................18
Chapter 3
3.1 Project Planning...................................................................................................19
3.1.1 Project Scope................................................................................................20
3.1.2 Task Dependency Table................................................................................20
3.1.3 CPM - Critical Path Method........................................................................21
3.1.3.1 Specify the Individual Activities
...........................................................................................................................................2
1
3.1.3.2 Determine the Sequence of the Activities................................................21
3.1.3.3 The Network Diagram............................................................................22
3.1.3.4 Estimst Activity Completion time............................................................23
3.1.3.5 Identify the Critical Path.......................................................................23
3.2 Gantt Chart............................................................................................................24
3.3 Introduction to Team student and their skill set....................................................25
3.4 Technologies that are used....................................................................................26
3.5 Tools that are used.................................................................................................27
3.6 Vision Document....................................................................................................28
3.7 Risk List................................................................................................................
28
Chapter 4
4.1 Requirement Engineering......................................................................................30
4.1.1 Introduction...............................................................................................31
4.1.2 Existing System Business Organization.....................................................31
4.1.3 Business Organization Chart.....................................................................31
4.1.4 Scope of the System....................................................................................31
4.1.5 Summary of Requirements.........................................................................31
4.1.6 Identifying External Entities or Actors......................................................31
© Department of Information Technology, University Of The Punjab, Gujranwala Campus. 2
Online Fast Food Ordering
Chapter 5
5.1 Use Case Description............................................................................................39
5.1.1 Use Case 1: Log-in..........................................................................................39
5.1.2 Use Case 2: FeedBack.....................................................................................40
5.1.3 Use Case 3: search..........................................................................................41
5.1.4 Use Case 4: Registration................................................................................41
5.1.5 Use Case 5: Placing order..............................................................................42
5.1.6 Use Case 6: Request Processing.....................................................................43
5.1.7 Use Case 7: Payment.......................................................................................44
5.1.8 Use Case 8: Log-out........................................................................................45
Chapter 6
6.1 Use Case Diagram.................................................................................................46
6.1.1 Use Case Diagram...........................................................................................47
Chapter 7
7.1 Sequence Diagram.................................................................................................48
7.1.1 Log-In..............................................................................................................49
7.1.2 Feedback..........................................................................................................50
7.1.3 Registration......................................................................................................51
7.1.4 order................................................................................................................52
7.1.5 Payment...........................................................................................................53
7.1.6 Log-out.............................................................................................................54
Chapter 8
8.1 Collaboration Diagram.........................................................................................55
8.1.1 Log-In..............................................................................................................56
8.1.3 Feedback..........................................................................................................57
8.1.4 Registration.....................................................................................................58
8.1.5 order................................................................................................................59
8.1.6 Payment...........................................................................................................60
8.1.7 Log-out.............................................................................................................61
Chapter 9
9.1 Class Diagram.......................................................................................................63
Chapter 10
10.1 Data Model..........................................................................................................65
INTRODUCTION:
items but you make only one purchase transaction at the end; an electronic Shopping tray
enables to gather items and pay for them all together in one transaction. Frequently
provides less expensive products and services by allowing consumers to conduct quick
online searches and comparisons.
CHAPTER 1
culminate in a written feasibility report. I have taken two weeks in feasibility study with
my co-developer. The contents and recommendations of this feasibility study helped us
as a sound basis for deciding how to precede the project. It helped in taking decisions
such as which software to use, hardware combinations, etc. We have studied following
types of feasibilities.
♦ Technical
♦ Operational
♦ Economic
♦ Schedule
♦ Specification
♦ Information
♦ Motivational
♦ Legal and Ethical
1. Personal costs
2. Computer usage
3. Supply and equipments costs
4. Cost of any new computer equipments and software.
CHAPTER 2
Project Costing
Sr # Questions Scale
1 Does the system require reliable backup and recovery? 3
2 Is data communication required? 5
3 Are there distributed processing functions? 0
4 Is performance critical? 5
5 Will the system run in an existing, heavily utilized operational 3
environment?
∑ (Fi) 47
= 132.16 / 6
= 22.02666 Person month
= 1666
CHAPTER 3
Project Planning
Scope
Initial functional requirements will be: -
ADMINISTRATOR:
CUSTOMER
Browsing through the KFC site to see the foods items that are available. Adequate
searching mechanisms for easy and quick access to particular products and
services. Feedback mechanism, so that customers can give feedback for the
product or service which they have purchased.
T2 REQUIREMENT 1 T1
GATHERING
T3 COST ANALYSIS 2 T2
T4 LOGIC DESIGN 1 T2
T6 CONSTRUCTION 2 T5
T8 IMPLEMENTATION 1 T7
Project schedule plan is the main plan included in any Project Management Plan.
CPM was developed by the DuPont Corporation in 1957.Critical path determines the
shortest time to complete the project and it is the longest duration path through a network
of tasks.
Project schedule is responsible for bringing project time, cost and quality under control.
The Critical Path Method (CPM) is a schedule network analysis technique. Which is a
replica of the activities and events of a project as a network. Activities are depicted as
nodes on the network and events that signify the beginning or ending of activities are
depicted as arcs or lines between the nodes. We have utilized the CPM to manage our
project.
CPM provides the following benefits
• Provides a graphical view of the project.
• Calculates the time required to complete the project.
• Shows which activities are critical to maintaining the schedule and which are
not.
There are many activities that are dependent on each other therefore in
“ELECTROPEDIA” following activities are dependent
Start T1 T2 T6 T3
T4
T5
T6
End T8 T7
© Department of Information Technology, University Of The Punjab, Gujranwala Campus. 1
Online Fast Food Ordering
PATH1= T1 T2 T4 T5T7T8
PATH2= T1 T2 T4 T5 T6 T7 T8
PATH3= T1 T2 T3 T5 T6 T7T8
PATH3= T1 T2 T3 T5 T7 T8
T1 NONE 1
T2 T1 1
T3 T2 2
T4 T2 2
T5 T3,T4 2
T6 T5 2
T7 T5,T6 3
T8 T7 1
TASK DURATION ES EF LS LF TS FS
ID
T1 1 0 1 1 1 0 0
T2 1 1 2 1 2 0 0
T3 2 2 4 3 5 1 1
T4 3 2 5 2 5 0 0
T5 2 5 7 5 7 0 0
T6 2 7 9 7 9 0 0
T7 3 9 12 9 12 0 0
T8 1 12 13 12 13 0 0
T1 T2 T4 T5 T6 T7 T8
Narmeen is responsible for documenting the project she is designing all the use cases
charts and diagrams single handedly, she will also assist Ms. Noreen in designing the
website regarding the project.
Sawaira Munaf:
She is designing the front end of website and she will also assist Ms. Narmeen in
documentation of the website regarding the project.
Nadia Mushtaq:
She is responsible for managing the database .and she will also assist Ms. Narmeen and
Ms. Noreen in collection of data for documentation and for designing the website .is also
responsible for designing the segment of online products.
Fakeha Rauf:
She is reposnible for the designing of website and its nonfunctional requirements. She
have expertise in adobe photoshop and corel draw.
C#
As a recent birth in the programming language family, C# has two programming
languages parents C++ and Java. C# contains many C++ features but also adds the object
oriented features from java.
C# is a programming language from Microsoft designed specifically to target the .NET
Framework. Microsoft's .NET Framework is a runtime environment and class library that
dramatically simplifies the development and deployment of modern, component-based
applications.
When the .NET Framework and C# language compiler were shipped in final form in
January 2002, both the platform and programming language had already garnered much
industry attention and widespread use among Microsoft-centric early adopters. Why this
level of success? Certainly, the C# language and the .NET Framework address many of
the technical challenges facing modern developers as they strive to develop increasingly
complex distributed systems with ever-shrinking schedules and team sizes.
However, in addition to its technical merits, one of the main reasons for the success that
the language and platform has enjoyed thus far is the unprecedented degree of openness
that Microsoft has shown. From July 2000 to January 2002, the .NET Framework
underwent an extensive public beta that allowed tens of thousands of developers to "kick
the tires" of the programming environment. This allowed Microsoft to both solicit and
react to developer community feedback before finalizing the new platform.
Additionally, the key specifications for both the language and the platform have been
published, reviewed, and ratified by an international standards organization called the
European Computer Manufacturers Association (ECMA). These standardization efforts
have led to multiple third-party initiatives that bring the C# language and the .NET
platform to non-Microsoft environments. They have also prompted renewed interest
among academics in the use of Microsoft technologies as teaching and research vehicles.
Lastly, although the language and platform are shiny and new, the foundations for the C#
language and the .NET Framework have been years in the making, reaching back more
than half a decade. Understanding where the language and platform have come from
gives us a better understanding of where they are headed.
Visual Studio
Microsoft Visual Studio is an integrated Development Environment (IDE) from
Microsoft, it can be used to console and graphical applications along with Windows form
application, Web Sites, Web applications and Web Services in both native code together
with managed code for all platform supported by Microsoft windows.
Ms Visio
Microsoft Visio is diagramming software for Microsoft Windows. It uses vector graphics
to create reverse diagram. It is currently available in two editions standard and
professional.
Standard and professional interface share both same interface.
Ms Word
Microsoft Word is the flagship product of the Office suite, and has been one of the
cornerstones of Microsoft's success in both the home software and business sectors. The
first versions were developed in 1981 under a different name, but the brand was born in
1983 when Microsoft produced the Multi-Word Tool for Xenix, a Microsoft-developed
operating system based on UNIX.
New versions were soon developed for MS-DOS, Apple Macintosh and other major
operating systems. However, it remained a relatively complex piece of software that
could only be easily operated by text commands, which acted as a barrier to entry for the
casual user. Word processing remained a highly technical skill, with basic formatting
requiring that the user memorize dozens of key combinations and text inputs.
1.7.2.4 Adobe Photoshop
Adobe Photoshop is a graphics editing program developed and published by Adobe
System, Photoshop has ties with other Adobe software for media editing, animation, and
authoring. The .PSD (Photoshop Document), Photoshop's native format, stores an image
with support for most imaging options available in Photoshop. These include layers with ,
, , transparency, text, and , , and settings. This is in contrast to many other file formats
(e.g. .EPS or .GIF) that restrict content to provide streamlined, predictable functionality.
1. All the software tools being used for the development of project is not licensed
and not have the writes. If any restriction will be imposed by the government on
the software of this type then project will be infected and may got in trouble
2. Now all team members and the entire stake holders are agree to use this
technology and tool and the development of the project and also agree on the cast
and the schedule of completion if any change will take place from the stakeholder
from the organization side than the schedule of the project will be affected and
also cast.
3. For the time being the entire stake holders are agree on the specification. If any
change will be occur from the user side than project will be over schedule and
also will be over cost.
4. Lack of coordination between team members also can cause the project out of
mentioned schedule.
CHAPTER 4
Requirement Engineering
4.1 Introduction
• The Online Ordering of Fast Food (e-OFF) web application is intended to provide
complete solutions for customers through a single get way using the internet as the sole
medium. The administration module will enable a system administrator to approve and
reject requests for ordering the fast food.
• This document is meant to delineate the features of e-OFF so as to serve as a guide to
the developers on one hand and a software validation document for the prospective
client on the other.
For Delivery:
kfcpakistan.com
The system will allow a single owner to sell various products under one roof i.e KFC.The
concept, at its very basic, provides for an environment that allows the following:
Shop Owner:
• Any person wishing to setup shop in the mall can send a proposal to the mall
owner.
• The mall owner approves the proposal and confirms the deal.
• Shop owners can then setup and maintain their own shop(s) in the Mall.
Customers
Following are the external entities or actors that interact directly with the website.
1. Registered Users (customers)
2. Administrator
3. System
Allocate requirements
Allocate the requirements in the use cases.
discount.
Prioritized Requirement
Para # Initial requirements Use case name
1.0 Administrator “Shall” control the database of food items. UC_ Control _Database
1.0 Administrator “shall” Add the record of food items. UC_ Control _Database
1.0 Administrator “shall” DELETE the record of food items. UC_ Control _Database
2.0 System “shall” provide help to customer when needed. UC_ Help_Customer
3.0 Customer shall view the status of their order by UC_View _Order
providing order number
3.0 Customer “shall” logout of the site after purchasing UC_ Registration
products.
S y s te m
US_Re g i s t r a t i o n
U S_He l_Cp u s t
C u s t o me r
US_Ma i n t_A/C
ai n
Syst em
U S_R e g _P
i sr o
US_P a y me n t
U S_S a l_Pe r o
US_V i e_Pwr o d
US_V i e_Or
w der A d mi n i s t r a t o r
US_C o n t _DB
r ol
4.1.9 Data
CHAPTER 5
Following are the use cases that we have used in our project
Actor:
Customer
Brief description:
System provides access privilege to the customer wants to the services after gaining
access.
Preconditions:
Customer and administrator must be valid user of the system to use the services.
Post conditions:
Customer logs in successfully and use the services provided in the website.
4. Now Customer is Logged In and he/she can use all the services
provided on the website.
5 After using the services he/she signs out of the website by clicking
the ‘Logout’ button
Alternative Flows:
1. If the customer clicks “Sign In” button without filling the “ID” and “Password”
field.
a. When the customer doesn’t type anything in the “ID” field it will show a
prompt message, the message will be “Please Enter ID”
b. When the customer doesn’t type anything in the “Password” field it will
show a prompt message, the message will be “Please Enter Password”
2. If a customer enters wrong “ID” “Password”;
a. An alert message of “Incorrect Password” will appear.
b. Customer/administrator will enter the correct “ID” and
“Password” and logs in.
3. If a Customer forgot the “Password”.
a. Customer has to contact the administrator.
Actor:
1. Customer
Brief description:
Customers may be give comments after visiting our website.
Customers or visitors may be give answer according to our questionnaire.
Customers or visitors may also give extra description
about our website
Preconditions:
Customers or visitors must visit our website
Post conditions:
Successfully posted the comments and fill questionnaire on website
and leave the Website
Alternative Flow:
The condition that triggers the alternative flow
Customers or visitors forget to press post comment butt
Customers or visitors forget to fill questionnaire requirement
Actor:
Customer
Administrator
Brief description:
© Department of Information Technology, University Of The Punjab, Gujranwala Campus. 2
Online Fast Food Ordering
This use case is about the Search of the Food Items.The Admin
and Customer will search the Food Items from the Food Items Database But the
Customer will search for view or for order
Preconditions:
Administrator must be valid Admin of the system for Search the
products. Administrator must Logged In. Customer must be authorized customer of the
system for the Search of the Products. Customer must Logged In.
Post conditions:
Administrator is Logged In.
Customer is Logged In.
Administrator has successfully Search the Products.
Customer has successfully Search the Products.
Alternative Flows
If the Customer/Administrator selected “Search the Products”
When there is no products exist in the inventory system then display message no Products
found.
Actor:
1. Customer.
Brief description:
This use case is about the registration process of the customer.
which steps does the customer will take to complete the registration process,all are
mentioned and described here.
Preconditions:
Customer must knows the URL
Post conditions:
a. Website must open when customer enters the URL
b. After collecting information from user this user must be registered
a. User Name
b. User Password
c. User Confirm Password
d. User Email
e. Street address
f. Country
g. Phone no.
6. Customer will enter the all above data into required fields
7. When customer has entered all data now customer will click the button “Submit”
8. The page will be submitted and the user information stored in database.
Alternative Flows
The customer is not register when it doesn’t request for registration.
He\she just visit the page.
The system will not allow the customer to be registered because of insufficient
information provided by the customer.
Actor:
The Customer
Brief description:
Administration provides the services to the customer to order for items from the website.
.
Preconditions:
a. Customer must be valid user of the system to place order.
b. Customer must Logged In.
Post conditions:
a. Customer is Logged In.
b. Customer has successfully placed order.
Alternative Flows
If the customer orders a quantity of the product that is not
available, “Sorry, this quantity is out of stock” message will be displayed.
Actor
1.Admin
2.Customer
Breif Discription:
This use case is about the processing of the request that is placed by the registered
customer. The request is processed by the admin.
Pre-Condition
The customer placed the order but is not processed and cannot get the confirmation
Message.
Post-Condition
A customer will receive the confirmation message of the placed order.
Normal Flow
1 This use case will start when the order is place and processed by the admin.
2 Admin will view the placed order.
3 Compare the order with the menu list.
4 Accept the order.
5 Send request for payment.
6 Show confirmation message.
7 Customer will view the confirmation message.
8 This is the end of the use case.
Alternative Flow:
When admin reject the request or order.
Exceptional Flow:
The system does not generate the confirmation message or if there is any problem
Actor
1.Admin
2. Customer
Breif Discription:
This use case is about the payment required by the admin and the customer pay it.
The whole use case is about processing the payment.
Pre-Condition:
The payment for the placed ordered is not been made.
Post-Condition:
The payment for the order is made and the confirmation message is being generate
by the admin and viewed by the customer.
Normal Flow:
1 The use case will start when customer is going to pay for the placed order.
2 Admin will display the payment.
3 Admin will request for the payment.
4 Request for pin code by the admin.
5 The customer sees the price for the order.
6 Customer will enter the pin code.
7 Enter the amount.
8 Admin will check it for verification.
9 Admin will generate the confirmation message.
10 A customer will view the message.
11 This is the end of the use case.
Alternative Flow:
If the customer does not enter the correct pin code or correct amount.
Exceptional Flow:
If the system will not properly verify the account or if it can’t generate the message.
Actor:
Customer
Breif Discription:
This use case is about the logging out of the customer.
Pre-Condition:
The customer remained log in.
Post-Condition:
The customer is logged out.
Normal Flow:
1This use case will start when the customer has to sign out.
2The customer will click the button of Log out.
3After clicking the sign out, the customer will log out from the site.
4This is the end of the use case.
Alternative Flow:
If the customer does not properly click the log out button.
Exceptional Flow:
If the system does not work properly.
CHAPTER 6
System
Registeration «uses»
«uses»
Log-In
«extends» SalePro «uses»
System
«extends»
Search
«extends»
Help-Customer
Customer «extends» Payment
«extends»
«extends»
Log-Out
Control DB
«uses»
FeedBack «uses»
Order Admin
«extends»
Check-Out
CHAPTER 7
Sequence diagram
7.1.1 Login
:CustomerDAL :DB
Customer
Log-InUser(id,pswd)
check(id,pswd)
Invalid()
Re-enter(id,pswd)
Re-Check(id,pass)
Valid()
Successfuly Log-In()
7.1.2 Feedback
Customer
Enter Comments ()
SubmittComments ()
Invalid ()
Re-enter Comments ()
Valid ()
SaveInDB ()
7.1.3 Registration
Customer
Sign-Up()
Valid Input()
InsertInfo()
Add In DB()
Log-In Created()
Congrats()
7.1.4 Order
Customer
SelectCategory
(id)
Chek Availbility
()
Available
()
SelectMeal
()
AddToTray
()
ConfirmOrder
()
SaveInDB
()
Confirmation
()
Update
7.1.5 Payment
Customer
SelectCategory(id)
Chek Availbility()
Available()
SelectMeal()
AddToTray()
ConfirmOrder()
SaveInDB()
Confirmation()
Update
MakePayment()
Paymentsconfirmation()
7.1.6 Log-Out
Customer
Log-Out()
Save Info In DB()
CHAPTER 8
Collaboration diagram
8.1.1 Login
1:Enter Pswd, id
3:invalid
4:re-enter(id,pswd)
6:valid
7:dsuccessfulylogin
:CustomerDAL
2:Check( id,pswd)
5:Re-chek(id,pswd)
Customer
:DataBase
8.1.2 Feedback
:feedbackInterface
4:Renter Comments
1:Enter Comments
2: SubmittComments
customer
3:Invalid
5:Validl
6:Save In DB
:Database :feedbackDAL
8.1.3 Registration
1:Sign Up
2:Fill SignUpForm 3:Valis Input
7:Cngrts
:RegistrationInterface
6:LogInCreateed
4:InsertInfo
2:Page Load
Customer
5:Add in DB
:Database :CustomerDAL
8.1.4 Order
1:Select Category(id,Qty)
:Ctegory
2:Check Availability
4:S 3:A
el vai
ec lab
tM le
Customer ea
l
8:Confi
rmatio
5:AddToTray
:DataBase
n
:MealTray :MealDAL
6:Confirmorder
l
DB
in
ave 7:Update
7:S
:Shipping
8.1.5 Payment
1:Select Category(id,Qty)
:Ctegory
2:Check Availability
4:S 3:A
el vai
ec lab
tM le
Customer ea
l
on
tconfirmati
8:Con
yment
firma
9:MakePa
10:paymen
tion
5:AddToTray
:MealTray :MealDAL :DataBase
6:Confirmorder
l
DB
in
ave 7:Update
7:S
:Payment :Shipping
8.1.6 Log-Out
1: Logout
Logout Interface
2:SaveInDB
Customer
Database
CHAPTER 9
Class diagram
CHAPTER 10
Data model
PK email PK Code
Name Name
Gender Quantity
streetAddress Price
ContactNumber CID
userName imageURL
Password Description
City
Country
Shipping shopCategory
PK shippingID PK ItemID
deliveryInstruction Name
instructions Description
S ale SaleLineItem
PK ID
P K receip tN o
Item
saleD ate Quantity
Price