GoF Design Patterns – Command Design Pattern


The Command pattern is a behavioral design pattern that allows developers to encapsulate requests or operations as objects. It allows for the separation of concerns by representing requests or operations as stand-alone objects that contain all required information to execute a given task. The main idea behind the Command pattern is to decouple an object that invokes an operation from the object that actually performs it.

More on this pattern…

To read more on this and the other patterns, get “GoF Design Patterns Distilled” book from Amazon or Leanpub: