Hi Juval Lowy. How can I find code example of The Method. I am reading your book.
a particular use case can change in only two ways: Either the sequence
itself changes or the activities within the use case change.
...
Manager components encapsulate the volatility in the sequence, whereas
Engine components encapsulate the volatility in the activity.
...
Since use cases are often related, Managers tend to encapsulate a
family of logically related use cases, such as those in a particular
subsystem.
...
Managers may use zero or more Engines. Engines may be shared between Managers.
...
Managers can directly call Engines.
...
Engines are really just an expression of the Strategy design pattern used to implement
the activities within the Managers’ workflows.
In the book I did not find any code example so not understanding how to implement it or how the Manager or Engine actually look like in The Method.
I understand that I have to somehow use the strategy
pattern. But, I am not understanding how to do it?
Please help.