Accorfing to prominent book of GoF there are two types of variants of "Chain of Responsibility" pattern:
1) "Handler Strategy" that includes:
a) Default Handler
b) Handle and Extend
c) Dynamic Handler
2) "Forwarding Strategy" that includes:
a) Handle by Default
b) Forward by Default
c) Ignore by Default
See, for example
My questions are:
1) Could you give an example for each item in "Forwarding Strategy"
2) What is the difference between "Default Handler" and "Handle by Default"
3) Could you give an example for "Dynamic Handler"
Aucun commentaire:
Enregistrer un commentaire