Presentation is loading. Please wait.

Presentation is loading. Please wait.

Online Book Shop Conceptualization Bookshop: Books, MusicCDs, Software

Similar presentations


Presentation on theme: "Online Book Shop Conceptualization Bookshop: Books, MusicCDs, Software"— Presentation transcript:

1 Online Book Shop Conceptualization Bookshop: Books, MusicCDs, Software
Customers: Register, Browse, Order Bookshop: Charge, Ship

2 Online Book Shop Analysis: Identify Function Points Actors Use-cases
Customer Bookshop staff Use-cases Customer registers details Customer browses and orders items Bookshop staff ships to customer Customer updates details Bookshop staff updates items

3 USE CASE DIAGRAM

4 Online Book Shop Analysis: Identify Scenarios
Customer registers details ... Customer browses and orders items System welcome message Customer login System validates password Failure? System error message Exit Loop Customer browses System displays item information Customer selects number System adds to shopping cart Customer done System creates order System shows order and cost Customer agrees to pay System sends invoice to customer Bookshop staff ships to customer ... Customer updates details ... Bookshop staff updates items ...

5 ACTIVITY DIAGRAM

6 Online Book Shop Design: Identify Classes Initial guess
From conceptualization Bookshop Book MusicCD Software Customer From analysis Login Password Item order ShoppingCart Order BillingAddress BookshopStaff ShippingAddress Initial guess Bookshop Book MusicCD Software Customer ItemOrder ShoppingCart Order BillingAddress BookshopStaff ShippingAddress

7 CLASSES WITH NAMES

8 Online Book Shop Design: Identify Inheritance Relationships Among Classes Inheritance Book is-a Item MusicCD is-a Item Software is-a Item BillingAddress is-a Address ShippingAddress is-a Address

9 CLASSES WITH INHERITANCE

10 Online Book Shop Design: Identify Attributes of Classes
Isolated class design - attributes Bookshop name BookshopStaff Item title publisher yearPublished price Book author edition isbn MusicCD artist Software version ItemOrder item quantity ShoppingCart Order salesTax shippingFee total Customer name customerID password Address streetNumber street city state country postCode BillingAddress ShippingAddress

11 CLASSES WITH ATTRIBUTES

12 Online Book Shop Attributes from Aggregation and Composition Bookshop
Items BookshopStaff Customers Orders Customer Shopping cart Order BillingAddress ShippingAddress ItemOrders (composition)

13 CLASSES WITH AGGREGATION AND COMPOSITION

14 Online Book Shop Design: Identify Methods of Classes
Class methods (CRC cards)

15 CLASSES WITH METHODS

16 Online Book Shop Analysis: Identify Objects
Customer browses and orders items System welcome message Customer login Get customer object System validates password Failure? System error message Exit Success Customer object initialized Shopping cart created for customer Loop System displays item information Get item from items list Item displays Customer selects number System adds to shopping cart Shopping cart object updated Customer done System creates order Order object created from shopping cart System shows order and cost Customer agrees to pay Order object authorized System sends invoice to customer Order object passed to shipping module Bookshop staff ships to customer

17 ACTIVITY DIAGRAM WITH OBJECTS

18 Sequence Diagram

19 Collaboration Diagram

20 Online Book Shop Design: Identify Packages BookshopInformation
BookshopStaff Item Book MusicCD Software Customers Customer Address BillingAddress ShippingAddress Online ordering ItemOrder ShoppingCart Order

21 PACKAGES

22 Deployment Diagram


Download ppt "Online Book Shop Conceptualization Bookshop: Books, MusicCDs, Software"

Similar presentations


Ads by Google