Mod-4-asssignment

.docx

School

Southern New Hampshire University *

*We aren’t endorsed by this school

Course

350

Subject

Information Systems

Date

Apr 3, 2024

Type

docx

Pages

3

Uploaded by PrivateCrocodilePerson1080

Report
o What are the different functions of the online storefront? How are they represented in this type of model? - The functions included in the online storefront are: addCartItem(), updateQuantity(), updateProfile(), updateShippingInfo(), updateCatalog(), viewCartDetails(), checkOut(), placeOrder(), calcPrice(), register(), login(), and verifyLogin(). - Those functions are represented as public\private functions in the model. o What are the different classes of “users” represented by this object model? What are the associations between these classes? - The different classes of users are the Customer class and the Administrator class. The association between the two classes are the Name string, Address string, and Email string. o How would the objects “use” their respective variables and functions? - The different objects within the given model are made up of the ‘shopping cart’, the ‘order’, the ‘customer’, the ‘user’, the ‘administrator’, the ‘shipping information’, and the ‘order details’. The user classes such as, “Customer”, “User”, and “Administrator” must all have name, ID, address, logins, and email addresses that must be verified. Each user class must be able to register and update accounts and information as necessary. As for the ‘shopping cart’, it relates to its variables as each customer /user with a chopping car needs to be identified, the products inside the cart also need to have IDs, amounts of a product\products in the cart as well as when the product\s was added. Customers must be able to add products to their cart when needed, including updating how many of each product and an overview of everything in the cart. Then the customer must be able to checkout once they’re done shopping. Each order needs to be represented with a unique ID, record and log when it was created, when it will ship\has shipped, the customer name, and the shipping ID. The order must be able to be placed by the customer user class. Individual details of the shipping must include a unique ID, the type of shipping, the cost, and a region ID. Shipping details can be updated.
Order details will contain order IDs, product IDs, the name of that product and how many of that product are in the cart. The unit cost and subtotal must be available. Once the order detailed are figured, a price of the order will be calculated. o Does this object model capture all of Hamp Crafts’ desired functionality? Why or why not? - The object model does capture most of the desired functionality, however there is always room for improvement. The functions to place an order again based on previous order history, or even the ability to see and cancel current orders that have not shipped yet. Another function could be an order return function that allows a customer to return an order if there was a mistake. o The above diagram uses a solid diamond shape to represent a form of aggregation. What type of aggregation does this represent? What does it imply about the relationship between the classes? Why is a solid diamond the appropriate choice here? - A solid diamond shape represents composition, the relationship between the classes implies that an aspect contains another aspect. Hence, for each customer instance it contains a shopping cart, and an order. Therefore, each order instance contains order details as well as shipping information. 3. Finally, think through the two different models you’ve explored for Hamp Crafts’ systems: a process model and an object model. Then compare these models by responding to the following prompts: o How well do you think a process model describes the system? What information does it make easier to understand? What aspects of the system are more difficult to understand or are not represented?
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help