PHP Design Patterns - Computers - Nairaland
Nairaland Forum › Science/Technology › Computers › PHP Design Patterns (567 Views)
1 Reply
| PHP Design Patterns by emmamartins(op): 4:59pm On Jun 22, 2015 |
[img]http://1.bp..com/-bozhgFVR5tc/VYgHXYOBt2I/AAAAAAAAAQM/6IQpQIoyydI/s1600/oop_php.gif[/img] After covering a few creational and structural design patterns, we have started behavioral patterns now. You can see the first article in this category of the strategy pattern. With creational patterns, we learned how we should create our objects, and from structural patterns we learned how we should structure our classes and objects to help build a better application. In this article, we will be going through the command design pattern. As the name says, in this pattern we will be dealing with executing various commands. Let me take a word about this pattern from Wikipedia: The command pattern is a behavioral design pattern in which an object is used to represent and encapsulate all the information needed to call a method at a later time. This information includes the method name, the object that owns the method and values for the method parameters. Read more: http://e-solutionsgroups..com/2015/06/php-design-patterns_22.html |
Laptop And Phones Power House • Computer For Banks • Caterers in Owerri City