Question: Mediator pattern 1. Distinguish between object behavior and coordinating behavior. Proxy pattern 1. Distinguish between the intentions of the Proxy and the Adapter patterns. 2.

Mediator pattern

1. Distinguish between object behavior and coordinating behavior.

Proxy pattern

1. Distinguish between the intentions of the Proxy and the Adapter patterns.

2. Distinguish between the intentions for Proxy and Decorator even though they are structurally similar.

3. Explain the use of Proxy for copy-on-write operations.

Decorator pattern

1. Contrast the added flexibility of the Decorator pattern using object structure to the way in which the intention of Decorator can be achieved using class structure.

2. Explain why the decorator and the concrete component must adhere to the same interface. Describe the mechanism for extending the interface of the concrete decorators.

3. Explain the problem with accessing extended functionality provided by all decorators in a chain.

4. Draw sequence diagrams for operations performed through chains of decorators.

5. Distinguish when Strategy vs. Decorator is the appropriate pattern to use.

Factory Method

1. Describe how the template mechanism of C++ can be used to avoid subclassing when using factory methods.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!