casestudy online shopping cart

21
Online Shopping Portal Software Design Case Study A Case Study By Akash Mohan Vaishali Vasing Navakanth Kanapala Kamlesh MBA – Software Solutions and Management Symbiosis Centre for Information Technology Pune

Upload: akashmohan

Post on 12-Nov-2014

64.516 views

Category:

Documents


32 download

DESCRIPTION

UML diagrams for Online shopping Cart Application

TRANSCRIPT

Page 1: CaseStudy Online Shopping Cart

Online Shopping Portal

Software Design Case Study

A Case Study By

Akash Mohan

Vaishali Vasing

Navakanth Kanapala

Kamlesh

MBA – Software Solutions and Management

Symbiosis Centre for Information Technology

Pune

Page 2: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

1 | P a g e

Table of Contents

1. Case Statement ....................................................................................................................... 2

2. Scenario ................................................................................................................................... 2

3. Assumptions ............................................................................................................................ 2

4. Actors ...................................................................................................................................... 2

5. Functionality ........................................................................................................................... 2

6. Enhancements......................................................................................................................... 3

7. Data Flow diagrams................................................................................................................. 4

7.1 Context Level Diagram ................................................................................................... 4

7.2 Level 1 Diagrams ............................................................................................................ 5

8. Entity Relationship Diagram.................................................................................................... 7

9. Use Case Diagram ................................................................................................................... 9

10. Class Diagram ........................................................................................................................ 10

11. Activity Diagram .................................................................................................................... 11

12. Sequence Diagram ................................................................................................................ 12

13. State Transition diagram for Cart Object .............................................................................. 20

Page 3: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

2 | P a g e

1. Case Statement

In this case, we will be designing a simple online shopping portal .The site will provide a

soothing shopping experience for customers. The system will allow more than one

categories and different brands under the segment. The case will trace the following

sequence.

2. Scenario

A customer visits the online shopping portal. A customer may buy item or just visit the page

and logout. The customer can select a segment, then a category, and brand to get the

different products in the desired brand.

The customer can select the product for purchasing. The process can be repeated for more

items. Once the customer finishes selecting the product/s the cart can be viewed , If the

customer wants to edit the final cart it can be done here.

For final payment the customer has to login the portal, if the customer is visiting for the 1st

time he must register with the site, else the customer must use the login page to proceed.

Final cart is submitted for payment and card details and address(where shipment has to be

made) are be confirmed by the customer .Customer is confirmed with a shipment Id and

delivery of goods within 15 days.

3. Assumptions

• The currency followed is Rs as the site provides for only Indian customer base.

• There are different segments, categories, brands where a brand can fall under more

than one category.

• The shipment of the goods is not covered under the scope of the case

• Complains by the customers are not handled by the case study.

• Customers have to be validated before the payment can be confirmed.

4. Actors

• Customer

• Administrator.

5. Functionality

1. Portal

• Allows the customer to view the different categories and further to different

products within the brands eg.

• Allows the customer to shop online saying time and cost of customer.

Page 4: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

3 | P a g e

• The portal provides a bill and an shipmentId which can be used to track the

delivery status of the goods purchased by the customer .

Category:.

2. Customer

• Customers when enter the site and view the various products in different

category.

• Authentication of the customer is done for the payment of the shopping

done

• Customer can browses through the products available in the shop, can select

some of them and put into the shopping cart.

• Customer can anytime change the items in the cart either by adding new

items or by removing existing items. Customer proceeds towards the

payment counter. Finalize product list of items he finally wish to buy and

make the final payment.

3. Administrator

• Updates the details of the different category ,segments etc

• Verifies the customer card details and records the details for shipment of

goods.

6. Enhancements

• The portal can be extended for a larger customer base beyond the Indian

customers.

• The complaints of the customer are not handled

Page 5: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

4 | P a g e

7. Data Flow diagrams

7.1 Context Level Diagram

Fig. 1 Context Level diagram

Page 6: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

5 | P a g e

7.2 Level 1 Diagrams

Fig. 2 Add Item to cart

Fig. 3 Add Product/Brand/Item

Page 7: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

6 | P a g e

Fig. 4 Register

Fig. 5 Login

Fig. 6 Payment Details

Page 8: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

7 | P a g e

8. Entity Relationship Diagram

Fig. 7 ER Diagram

Page 9: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

8 | P a g e

Fig. 8 Database Design

Page 10: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

9 | P a g e

9. Use Case Diagram

Fig. 9 Use Case Diagram

Page 11: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

10 | P a g e

10. Class Diagram

Fig. 10 Class Diagram

Page 12: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

11 | P a g e

11. Activity Diagram

Fig. 11 Activity Diagram

Page 13: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

12 | P a g e

12. Sequence Diagram

Fig. 12 Sequence Diagram: Add to cart

Page 14: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

13 | P a g e

Fig. 13 Sequence Diagram: Submit a cart

Page 15: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

14 | P a g e

Fig. 14 Sequence Diagram: Register a user

Page 16: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

15 | P a g e

Fig. 15 Sequence Diagram: Login a customer

Page 17: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

16 | P a g e

Fig. 16 Sequence Diagram: Add a new segment

Page 18: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

17 | P a g e

Fig. 17 Sequence Diagram: Add a new category

Page 19: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

18 | P a g e

Fig. 18 Sequence Diagram: Add a new brand

Page 20: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

19 | P a g e

Fig. 19 Sequence Diagram: Add a new product

Page 21: CaseStudy Online Shopping Cart

Online Shopping Portal| A case study

20 | P a g e

13. State Transition diagram for Cart Object

Fig. 20 State Transition diagram for Cart Object