STEP 1 - System Requirements Analysis
1.1 Main Use Case: Making an Order
Here you do an examination the different stages involved in the process of how to do an online order
-
Browsing and Adding to Cart: The customer explores the online store, finds items they like, and adds them to their virtual shopping cart. When the customer is finished adding items, they requests the cart; they may optionally edit the cart.
-
Order Checkout: The customer clicks "proceed to order" and enters their personal information, shipping address, and payment details. The customer reviews their order summary, including the items, quantity, price, and shipping details. They then click a button like "Confirm Order" or "Place Order" or "Buy Now" to finalize the purchase. This action sends the order request to the online store.
-
Confirmation Email: The customer receives a confirmation email with a summary of the order details and an order number. The store is acknowledging that the order has been received and is being processed.
-
Payment Processing: The online store processes the customer's payment, ensuring the funds are securely transferred.
-
Order Fulfillment: The online store prepares the order for shipment. This includes picking the items, packing them, and generating a shipping label.
-
Shipping: The order is handed over to the shipping carrier, which delivers it to the customer's address.
-
Delivery: The customer receives their order!
-
Order Completion: The online store marks the order as complete in their system.
-
Potential Return/Refund: The customer may have the option to return or request a refund for their order if they are not satisfied.
1.2 "Making an Order" System Sequence Diagrams
STEP 2 - OOA: Functional Requirements Analysis
When doing OO analysis, you create the Domain Model and draw classes/abstractions and interactions.
2.1 Online Food Store Key Abstractions
- Customer: The person placing the order.
- Menu: The list of available MenuItem.
- MenuItem: The dishes items the Customer selects from the Menu. MenuItem details: price, description and dietary info
- Cart: The virtual cart where the customer adds their items.
- Restaurant: The establishment providing the food.
- Order: The collection of items the customer wants.
- OrderItem: a single item within an order, including quantity and any special instructions.
- Address: The Customer delivery address and the Restaurant location
- RestaurantAdmin: The person who accepts orders and manages the order states
- Payment Details: a class that holds the details of the payment method used.
- Payment System: The system used to process the payment.
- Delivery Service: The service responsible for delivering the food.
- Review/Rating: To allow customers to rate their experience.
2.2 Online Food Store Domain Model
STEP 3 - OOD: Sequence Diagram
3.1 The Sequence Diagram of the "Making an Order" Use Case
STEP 4 - OOD: Class Diagram
4.1 The Refined Domain Model Class Diagram
The class diagram of the design activity which represents the Refined Domain Model
No comments:
Post a Comment