Articles 3
Evgenii Legotckoi
Evgenii LegotckoiSept. 25, 2018, 4:16 p.m.
Example - Factory method in PHP In the Factory Method Pattern, a factory method defines what functions must be available in the non-abstract or concrete factory. These functions must be able to create objects that are extensio…
Evgenii Legotckoi
Evgenii LegotckoiSept. 21, 2018, 1:18 p.m.
Example - "Builder" design pattern in PHP In the Builder Pattern a director and a builder work together to build an object. The director controls the building and specifies what parts and variations will go into an object. The builder k…
Evgenii Legotckoi
Evgenii LegotckoiSept. 17, 2018, 5:48 p.m.
Example - Abstract Factory in PHP An example of a design pattern An abstract factory in PHP <?php/* * Abstract Factory classes */abstract class DB_Abstraction_Factory { protected $settings = array(); prote…
Comments 0
Nothing found
Forum topics 0
Nothing found
Forum posts 0
Nothing found
Test 0
Nothing found
Shared codes 0
Nothing found

Follow us in social networks