Search Results for: design patterns

Singleton design pattern in PHP, Learn design patterns

This article with guide you through the singleton pattern in PHP, with theory explanation, and the practical example as well. Singleton design pattern is one of the first design patterns that is explained in any design patterns book or tutorial. Singleton Design Pattern in PHP Nature wise, singleton pattern belongs to the category of creational…

Read More

What is Domain-Driven Design: The absolute beginners guide

What Is Domain-Driven Design The Absolute Beginners Guide With Examples.

This article will introduce you to a Domain Driven Design (DDD). Firstly, we talk about domain driven design and the common design concepts, something like DDD for dummies approach. Secondly, this article will introduce you to the relationship types in the domain driven design. If you are a busy reader you can skip to the…

Read More

Prototype design pattern, prototype pattern

Prototype design pattern is used when we want to create one object which can be used as a template (prototype) for creation of some other objects. Prototype pattern is one of the creational patterns (because it indicates a way of how we create objects). Creational patterns are: Factory pattern, Abstract factory pattern, Singleton pattern, Prototype…

Read More