1 / 22

Online Book Shop

Online Book Shop. Conceptualization Bookshop: Books, MusicCDs, Software Customers: Register, Browse, Order Bookshop: Charge, Ship. Online Book Shop. Analysis: Identify Function Points Actors Customer Bookshop staff Use-cases Customer registers details

abner
Télécharger la présentation

Online Book Shop

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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 • 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. 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... Online Book Shop

  5. ACTIVITY DIAGRAM

  6. Design: Identify Classes 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 Online Book Shop

  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. Design: Identify Attributes of Classes Isolated class design - attributes Bookshop name BookshopStaff name 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 Online Book Shop

  11. CLASSES WITH ATTRIBUTES

  12. Online Book Shop • Attributes from Aggregation and Composition • Bookshop • Items • BookshopStaff • Customers • Orders • Customer • Shopping cart • Order • BillingAddress • ShippingAddress • Shopping cart • ItemOrders (composition) • Order • Customer • 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. Analysis: Identify Objects Customer browses and orders items System welcome message Customer loginGet customer object System validates password Failure? System error message Exit SuccessCustomer object initializedShopping cart created for customer Loop System displays item informationGet item from items listItem displays Customer selects number System adds to shopping cartShopping cart object updated Customer done System creates orderOrder object created from shopping cart System shows order and cost Customer agrees to payOrder object authorized System sends invoice to customerOrder object passed to shipping module Bookshop staff ships to customer Online Book Shop

  17. ACTIVITY DIAGRAM WITH OBJECTS

  18. Sequence Diagram

  19. Collaboration Diagram

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

  21. PACKAGES

  22. Deployment Diagram

More Related