Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 22, 2012 10:32 PM by Ramesh T
Jan 21, 2012 06:41 AM|LINK
I am developing an application kind of ecommerce where users can buy products online.
It has a workflow associated with it and certain part of the workflow changes based on various parameters.
e.g. If it is a group order or if the product subscription is monthly or annully, the part of workflow changes. So certain part is common while other part varies based on conditions.
Currently I have it implemented using procedural type programming, if else statements which I do not like.
Is there a better way to implement such scenario, more OO way? may be using some pattern? I have considered WF but that seems little too much for just one part of functionality.
I know its a very common scenario and many of you might have handled this better way.
Jan 22, 2012 10:32 PM|LINK
I would recommend you to use 'Template Method' pattern for this, please let me know if you need any help with this.