Why you made the decision to incorporate the use of pattern

Assignment Help Computer Engineering
Reference no: EM131458310

PROJECT- Implementing an Online Shopping System

with Use of the Decorator, Strategy, and Command Patterns

PROBLEM

You are to design and implement an Amazon.com-like online shopping system. You may include actual features of Amazon (e.g., Prime customers), or you may include your own features. The capabilities of the system MUST INCLUDE the following:

• generation of a receipt of some kind for all of the orders placed, and the inclusion of items on the receipt that are a result of the particular items purchased (by use of the Decorator design pattern).

• the use of the Command design pattern for implementation of the overall command-driven aspect of the system.

• the use of the Strategy design pattern for any part of the system the demonstrates its appropriate use

In addition, utilize any other design patterns that can be appropriately applied.Be creative in the features supported by the inclusion of such design patterns. For example, the Decorator design pattern can be used for any situation in which there are various combinations of behavior that cannot be determined until runtime (not just the printing of a receipt). For example, the total amount of an order may utilimately be based on (a) the items ordered, (b) the shipping option selected, (c) whether a preferred ("prime") customer or not, (d) whether you have any credit from previous purchases/returns, (e) whether you are purchasing items that are currently on sale, (f) whether the purchase of a given item gives you a free associated item, etc. The same is true of the Strategy pattern, it can be used in any situation in which a section of code (algorithm) can vary, and especially if it can be judged that it may vary in the future.

DECORATOR AND COMMAND PATTERN MATERIALS

Materials are provided giving details on the design and example use of the Decorator pattern (from a previous Best Buy assignment(Decorator)) and the Command pattern (from a previous automated restaurant system assignment(Restaurant)). These should be used for studying the details of the GENERAL use of these patterns.

SYSTEM INTERFACE / USER INTERFACE

Your system must be designed with the use of a system interface class, as demonstrated in the automated restaurant system assignment. The methods of the system interface must only return values of type String for a separate user interface to call .The user interface may be text-based, or a GUI interface.

WHAT TO SUBMIT

Please submit one pdf document along with your code. (Export all class diagrams to pdf. Do not submit file formats of the particular UML drawing tool used.)and also Your code separately. Your submission should include,

• A use case diagram of your system. There is no set number of use cases to include - that will vary based on the particular system designing. Include an explanation of each use case. (Scenarios do not need to be provided.)

• The class diagram for your system. Make sure to include all of the classes and interfaces. The class diagram should include the relationships of association, composition, aggregation, generalization (inheritance), and dependency where they exist; notation of multiplicity, navigation, and role names where appropriate; and the inclusion of the methods within each class, including access modifiers (public, protected, private), parameters, and return type (instance variables do not need to be included).

• Discussion of the use of each design pattern within your design, including

o why you made the decision to incorporate the use of the pattern
o the benefits of the included pattern
o what specific aspects of the system can be easily modified as a result of the use of design patterns in the design

• Program code, with sufficient in-code documentation

• List of commands the system provides, with a brief explanation of each.

Reference no: EM131458310

Questions Cloud

What is caplet-floorlet parity : How would one price an interest rate futures in the HJM libor model?
How much of a monthly payment they can afford : Use the GDS ratio to determine how much of a monthly payment they can afford.
Analyse the role of real interest rate in affecting supply : Macroeconomics/ BUS 205 Assignment. analyse the role of real interest rate in affecting the supply for savings and demand for investment in an economy
How expatriates experience reverse culture shock : What can companies do to help expatriates continue to be part of their home communities?
Why you made the decision to incorporate the use of pattern : why you made the decision to incorporate the use of pattern? What specific aspects of the system can be easily modified as a result of use of design patterns.
Compute the eurodollar futures rate : Compute the Eurodollar futures rates for a contract maturing at time 2 and compare them to the forward rate agreement rate for a contract maturing at time 3.
Process of researching a business development idea : You are an entrepreneur in the process of researching a business development idea. As you create a high-level Information Technology.
Summarize the article & attack type : Does the vulnerability exist in other IoT items? What are the implications for society & security professionals? Has the vulnerability been fixed?
Describe the elements of an information security plan : Identify, define, and describe the three or four most important elements of an Information Security Plan.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd