Skip to content

konstantinos-tsatsarounos/PHP-Design-Patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

#PHP Design Patterns (Theory and examples)

###Singleton

Singleton pattern, is a very simple pattern. Purposed to provide only one instance of a class either to conserve memory, or to make use of the instance as global object.

###Factory

Factory pattern, is a good solution for creating agnostically classes with a common interface. It's use is for generalizing the object creation by providing a middle negotiator!

About

PHP Design Patterns Notes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages