Command Pattern: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
=Overview= | =Overview= | ||
The Command pattern consists in encapsulating a request as an object, thereby letting you parameterize clients with different requests. The client does not necessarily need to know what exactly the request does or how is carried out, or who the target is, it only needs to know how to signal that the request has to be carried out. | The Command pattern is a behavioral pattern that consists in encapsulating a request as an object, thereby letting you parameterize clients with different requests. The client does not necessarily need to know what exactly the request does or how is carried out, or who the target is, it only needs to know how to signal that the request has to be carried out. |
Latest revision as of 15:40, 25 May 2018
Internal
Overview
The Command pattern is a behavioral pattern that consists in encapsulating a request as an object, thereby letting you parameterize clients with different requests. The client does not necessarily need to know what exactly the request does or how is carried out, or who the target is, it only needs to know how to signal that the request has to be carried out.