Hi, ppl
what design problem solved by Chain of Responsibility design pattern?
and
what are different scenarios where i can propose Chain of Responsibility Design pattern?
Thanks,
Mursaleen Fayyaz
Jr. Software Engineer
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Govindaraj RangarajPosted Feb 18, 2014, 9:09 AM
One instance where I use it is in workflow systems. You abstract the complete workflow functionality with in the COR and keep your code clean. Highly scalable and easy to maintain.
Another example I could think of is condition bases processing, where based on a state of an entity it is processed by different stake holder.
Govin
Ruchi HPosted Aug 5, 2013, 7:25 AM
Here is an real world example explained
http://www.dofactory.com/Patterns/PatternChain.aspx#_self2