Chain-of-responsibility Pattern

In computer programming, the chain-of-responsibility pattern is a design pattern consisting of a source of command objects and a series of processing objects. Each processing object contains a set of logic that describes the types of command objects that it can handle, and how to pass off those that it cannot to the next processing object in the chain. A mechanism also exists for adding new processing objects to the end of this chain. Permutations: Commands may be sent in alternate directions out, forming a tree of responsibility. Recursion could continue until the command is processed, or the entire tree has been explored. An XML interpreter (parsed, but not yet executed) might be a fitting example. This pattern promotes the idea of loose coupling, a programming practice. The article is originally from Perl Design Patterns Book

Disambiguation

 

<< PreviousWord BrowserNext >>
odilon redon
itzpapalotl
lilo & stitch
tomoanchan
saxtead green post mill
rope dress
builder pattern
factory method pattern
prototype pattern
composite pattern
decorator pattern
proxy pattern
command pattern
interpreter pattern
mediator pattern
observer pattern
state pattern
strategy pattern
template method pattern
mrkisch oderland
hierarchical visitor pattern
balking pattern
guarded suspension
scheduler pattern
read write lock pattern
double checked locking
disable job requests while running job pattern
alderaan
thomas fuller
swing (genre)
scheduled task pattern
optimus prime (person)
lanarkshire
heavy fighter
ali ahmeti
izaak walton
three domain system
posttranslational modification
general mills
night fighter
thomas overbury
serena williams
glycoprotein
1969 in television