Title: Customer and Restaurant User Interface Design
1Customer and Restaurant User Interface Design
- James McMillan
- Robert Murphy
- Chris Neil
- Andy Terra
2Introduction
- Customers want an easy way to order pizza without
new hardware to purchase or install. - Restaurants want an easy way to accept orders
without purchasing or installing new hardware. - Restaurants want to take orders without trying up
the phone line. Customers do not want a busy
signal. - Task Design a system to appeal to both customer
and restaurant needs
3Interface Solution
- Design a web based interface that the restaurant
user can update and the customer user can use
from any web p.c. - The Web application must work with technologies
(Database and other) to track menu items, order
items, orders, prices and order totals.
4High Level System Requirements Summary (1st
Iteration)
- (From Class Notes)
-
- Customer Places Order
- Display Menu
- Allow Selection of Menu Items
- Menu should request info from Database.
- Present Total Cost
- Allow choice of Pickup or Delivery
- Pickup (Customer Enters Name)
- Delivery (Customer Enters Name, Address, Phone)
- Submit Order
-
- Restaurant Receives Order (Client on restaurant
side) - Client Browser on correct page to receive order.
- System Signals New Order
- System Acknowledges Order
- System says Thank You (dummy response)
-
51st Iteration System Domain Model (from class
notes)
Ack
1
gets
1
1
1
triggers
places
1
1
ListOf Orders
Restaurant
Has a
Consists of
1
1
1
1
1
Has a
Consists of
1
1..
Has multiple or none
CustomerOrdersItems
Menu
1
Consists of
1
1..
6Customer Collaboration Diagram
7Customer Sequence Diagram
8Restaurant Sequence Diagram
91st Iteration Operation Contracts
Contract displyMenuHTML Operation
displayMenuHTML() Cross Reference Customer
Collaboration Diagram Pre-conditions Web
Session is underway. Post-conditions A
menuItemsList is retrieved and displayed, along
with price information.
Contract pizzaWebsite Operation
pizzaWebsite() Cross Reference Customer
Collaboration Diagram Pre-conditions Hungry
Customer, Web Apps Installed. Post-conditions
Web Session was created.
Contract asksFor Operation asksFor() Cross
Reference Customer Collaboration
Diagram Pre-conditions Customer Object receives
pizzaWebsite() request. Post-conditions A
menuItemsList is retrieved from the Menu Object.
Contract places Operation places(customerName,
items) Cross Reference Customer Collaboration
Diagram Pre-conditions Menu is displayed to
customer. Post-conditions A customer name is
associated with this order, customerName and
items are assigned.
Contract displayAckScreen Operation
displayAckScreen(totalPrice) Cross Reference
Customer Collaboration Diagram Pre-conditions
Customer placed order. Post-conditions Thank
You displayed to customer, along with total
price of order.
Contract getItem Operation getItem() Cross
Reference Customer Collaboration
Diagram Pre-conditions An asksFor request is
received Post-conditions A menuItem is
retrieved from the MenuItems Object, along with
price information.
Contract submitOK Operation
submitOK(customerName) Cross Reference Customer
Collaboration Diagram Pre-conditions Customer
received Ack with price info. Post-conditions
CustomerACK object receives order. This order
associated with customerName. CustomerACK adds
this order to ListOfOrders Object via
addToOrderList.
Contract menuItemList Operation
menuItemList(price) Cross Reference Customer
Collaboration Diagram Pre-conditions An asksFor
request was received. Post-conditions Customer
Object received menuItemList.