₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,951 members, 8,514,661 topics. Date: Saturday, 07 November 2026 at 02:35 AM

Toggle theme

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
1 Reply

• 2 • 3 • 4

Laptop And Phones Power House • Computer For Banks • Caterers in Owerri City