design pattern for this case ??

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
PHPycho
Forum Contributor
Posts: 336
Joined: Fri Jan 06, 2006 12:37 pm

design pattern for this case ??

Post by PHPycho »

Hello forums!!
I would like to know which design pattern would be useful in the following case:
There are many modules and each module consists of many actions(multi stage actions). for example:
Module A consists of action1.1, action1.2, action1.3 etc.
Module B consists of action2.1, action2.2, action2.3 etc.
The actions can be sequential(For example:action1.1-> action1.2-> action1.3) or can be altered as per preferences( For example:action1.1-> action1.3-> action1.2) within a module.

How this can be accomplished using OOP design pattern or else? Any ideas ??
Thanks in advance for the valueable help.
Post Reply