Command Pattern
Command Pattern

Command Pattern The Command pattern encapsulates the request as an object thereby letting you parameterize other objects with different requests queue or log request and support undoable operations. The key thing to understand here is its not the sender who is sending the request nor the receiver who is consuming it is encapsulated, its the... » read more