Exercise 11 - Proxy Pattern

Mario Trageser
Windoof-User
Windoof-User
Beiträge: 40
Registriert: 20. Jul 2013 14:28

Exercise 11 - Proxy Pattern

Beitrag von Mario Trageser » 30. Jan 2018 17:08

Hi,

In exercise 11, I used the proxy pattern. However, there are no annotations for this pattern in the template.
Shall I use the ones for the decorator pattern, since the proxy pattern is structurally equivalent to the decorator pattern?

Kind regards,
Mario

meichholz
Endlosschleifenbastler
Endlosschleifenbastler
Beiträge: 167
Registriert: 30. Mär 2016 08:28

Re: Exercise 11 - Proxy Pattern

Beitrag von meichholz » 1. Feb 2018 13:27

Hi,

since there is actually a difference between the Proxy and the Decorator pattern (see GoF book), you don't have to annotate it, since there are not annotations provided.

Best,
Matthias

Antworten

Zurück zu „Archiv“