The Command Design Pattern in PHP 5



New on November 29, 2005 for www.FluffyCat.com PHP 5 Design Pattern
Examples - the Command Pattern.

Since you all enjoyed the Visitor Pattern so much yesterday, today I
have the Command Pattern for you. This one is pretty straight
forward. In the Command Pattern an object encapsulates everything
needed to execute a method in another object.

http://www.fluffycat.com/SDCMSv2/PHP-Design-Patterns-Command/
.



Relevant Pages

  • Re: The Command Design Pattern in PHP 5
    ... > Since you all enjoyed the Visitor Pattern so much yesterday, ... > have the Command Pattern for you. ... In the Command Pattern an object encapsulates everything ... stars was in the BookStarsOnCommand and BookStarsOffCommand classes, ...
    (comp.lang.php)
  • Re: Command pattern
    ... Omar del Valle wrote: ... > Any person know one class that implement the command pattern in .NET ... Just to get this straight: You need a .NET FCL class that implements the ... Joerg Jooss ...
    (microsoft.public.dotnet.framework)