M
M
Morienter2016-08-25 11:30:11
PHP
Morienter, 2016-08-25 11:30:11

What design pattern is appropriate for data storage?

Hello!
Question: Please tell me what is the name of the design pattern that is best suited for the task described below, or advise how best (and again with the help of which pattern) to implement it?
Problem: There are several services. It is necessary to make sure that the standard service settings (class attributes) are stored, for example, in some parent class (eg Parent) and the services themselves with their unique settings in child classes (eg ServiceA, ServiceB, ..., ServiceN). It is allowed to create several parent classes (ParentA, ParentB, ..., ParentN).
Thanks ;)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2016-08-25
@miraage

https://github.com/domnikl/DesignPatternsPHP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question