Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,154,757 members, 7,824,172 topics. Date: Saturday, 11 May 2024 at 02:33 AM

PHP Design Patterns - Computers - Nairaland

Nairaland Forum / Science/Technology / Computers / PHP Design Patterns (486 Views)

(2) (3) (4)

(1) (Reply)

PHP Design Patterns by emmamartins(m): 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)

ZTE Modem Unlock Problem / Effects And Ways To Protect Your Eye From Digital Screens / Help Needed: Forgotten Laptop Password

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.