Tag Archive: command

Jun 30

Design patterns: command

Command pattern diagram from Head First: Design Patterns

This month I’m writting about command pattern. This is another design pattern which helps us decoupling some actions in similar way to strategy pattern. To be more specific it makes us able to encapsulate method invocation. The last word made me thinking of PHP unit tests while reading — but I’ll get back to it …

Continue reading »

Permanent link to this article: http://blog.lukaszewski.it/2013/06/30/design-patterns-command/