What is the Action Design Pattern?

hhafez picture hhafez · Dec 19, 2008 · Viewed 9.9k times · Source

What is the Action Design Pattern, I haven't heard of it before? I am suspecting it is the same as the Command Design pattern [wikipedia] but I can't find any resources on it.

Answer

GaryF picture GaryF · Dec 19, 2008

You're right, action pattern == command pattern. You hear it called the action pattern more often in GUI design, in the form "on some button pressed, perform this action". In the code the button would be wired up with an action object of some kind.