https://github.com/bedus-creation/php-design-pattern
This is the repository implementing different design pattern in php.
https://github.com/bedus-creation/php-design-pattern
Last synced: about 1 year ago
JSON representation
This is the repository implementing different design pattern in php.
- Host: GitHub
- URL: https://github.com/bedus-creation/php-design-pattern
- Owner: bedus-creation
- Created: 2019-06-21T18:26:03.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-22T21:02:52.000Z (about 5 years ago)
- Last Synced: 2025-02-13T22:37:12.888Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP-Design-Pattern
* Design patterns are typical solutions to commonly occurring problems in software design.
* It's like pre-made blueprints that you can customize to solve a recurring design problem in your code.
* The pattern is not a specific piece of code, but a general concept for solving a particular problem.
* It's not a finish solution
* A template or recipe for solving problems
# Classification of patterns
* **Creational patterns** provide object creation mechanisms that increase flexibility and reuse of existing code.
* **Structural patterns** explain how to assemble objects and classes into larger structures, while keeping the structures flexible and efficient.
* **Behavioral patterns** take care of effective communication and the assignment of responsibilities between objects.
# Implemented
- **Creational patterns**
[x] Factory
[x] Prototype
- **Structural Patterns**
[ ] Adapter
[ ] Bridge
[ ] Filter
[ ] Composite