mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-10 17:04:01 +02:00
Added More pattern UMLs
This commit is contained in:
13
More/Delegation/README.md
Normal file
13
More/Delegation/README.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Delegation
|
||||
|
||||
## Purpose
|
||||
|
||||
...
|
||||
|
||||
## Examples
|
||||
|
||||
...
|
||||
|
||||
## UML Diagram
|
||||
|
||||

|
21
More/Delegation/uml/Delegation.uml
Normal file
21
More/Delegation/uml/Delegation.uml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Diagram>
|
||||
<ID>PHP</ID>
|
||||
<OriginalElement>\DesignPatterns\More\Delegation\JuniorDeveloper</OriginalElement>
|
||||
<nodes>
|
||||
<node x="-8.0" y="134.0">\DesignPatterns\More\Delegation\JuniorDeveloper</node>
|
||||
<node x="0.0" y="0.0">\DesignPatterns\More\Delegation\TeamLead</node>
|
||||
</nodes>
|
||||
<notes />
|
||||
<edges />
|
||||
<settings layout="Hierarchic Group" zoom="1.0" x="68.5" y="90.5" />
|
||||
<SelectedNodes />
|
||||
<Categories>
|
||||
<Category>Fields</Category>
|
||||
<Category>Constants</Category>
|
||||
<Category>Constructors</Category>
|
||||
<Category>Methods</Category>
|
||||
</Categories>
|
||||
<VISIBILITY>private</VISIBILITY>
|
||||
</Diagram>
|
||||
|
BIN
More/Delegation/uml/uml.png
Normal file
BIN
More/Delegation/uml/uml.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.8 KiB |
196
More/Delegation/uml/uml.svg
Normal file
196
More/Delegation/uml/uml.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 28 KiB |
@@ -10,3 +10,7 @@ Repository also supports the objective of achieving a clean separation and one-w
|
||||
|
||||
* Doctrine 2 ORM: there is Repository that mediates between Entity and DBAL and contains methods to retrieve objects
|
||||
* Laravel Framework
|
||||
|
||||
## UML Diagram
|
||||
|
||||

|
28
More/Repository/uml/Repository.uml
Normal file
28
More/Repository/uml/Repository.uml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Diagram>
|
||||
<ID>PHP</ID>
|
||||
<OriginalElement>\DesignPatterns\Repository\PostRepository</OriginalElement>
|
||||
<nodes>
|
||||
<node x="415.0" y="0.0">\DesignPatterns\Repository\Storage</node>
|
||||
<node x="405.0" y="137.0">\DesignPatterns\Repository\MemoryStorage</node>
|
||||
<node x="0.0" y="0.0">\DesignPatterns\Repository\Post</node>
|
||||
<node x="0.0" y="373.0">\DesignPatterns\Repository\PostRepository</node>
|
||||
</nodes>
|
||||
<notes />
|
||||
<edges>
|
||||
<edge source="\DesignPatterns\Repository\MemoryStorage" target="\DesignPatterns\Repository\Storage">
|
||||
<point x="0.0" y="-74.5" />
|
||||
<point x="0.0" y="43.5" />
|
||||
</edge>
|
||||
</edges>
|
||||
<settings layout="Hierarchic Group" zoom="0.7394636015325671" x="299.5" y="251.0" />
|
||||
<SelectedNodes />
|
||||
<Categories>
|
||||
<Category>Fields</Category>
|
||||
<Category>Constants</Category>
|
||||
<Category>Constructors</Category>
|
||||
<Category>Methods</Category>
|
||||
</Categories>
|
||||
<VISIBILITY>private</VISIBILITY>
|
||||
</Diagram>
|
||||
|
BIN
More/Repository/uml/uml.png
Normal file
BIN
More/Repository/uml/uml.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
687
More/Repository/uml/uml.svg
Normal file
687
More/Repository/uml/uml.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 89 KiB |
@@ -14,3 +14,7 @@ Service Locator object on bootstrap.
|
||||
## Examples
|
||||
|
||||
* Zend Framework 2 uses Service Locator to create and share services used in the framework(i.e. EventManager, ModuleManager, all custom user services provided by modules, etc...)
|
||||
|
||||
## UML Diagram
|
||||
|
||||

|
38
More/ServiceLocator/uml/ServiceLocator.uml
Normal file
38
More/ServiceLocator/uml/ServiceLocator.uml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Diagram>
|
||||
<ID>PHP</ID>
|
||||
<OriginalElement>\DesignPatterns\More\ServiceLocator\DatabaseServiceInterface</OriginalElement>
|
||||
<nodes>
|
||||
<node x="276.0" y="0.0">\DesignPatterns\More\ServiceLocator\DatabaseServiceInterface</node>
|
||||
<node x="22.5" y="408.0">\DesignPatterns\More\ServiceLocator\LogService</node>
|
||||
<node x="0.0" y="117.0">\DesignPatterns\More\ServiceLocator\ServiceLocator</node>
|
||||
<node x="41.5" y="0.0">\DesignPatterns\More\ServiceLocator\ServiceLocatorInterface</node>
|
||||
<node x="0.0" y="331.0">\DesignPatterns\More\ServiceLocator\LogServiceInterface</node>
|
||||
<node x="298.5" y="77.0">\DesignPatterns\More\ServiceLocator\DatabaseService</node>
|
||||
</nodes>
|
||||
<notes />
|
||||
<edges>
|
||||
<edge source="\DesignPatterns\More\ServiceLocator\ServiceLocator" target="\DesignPatterns\More\ServiceLocator\ServiceLocatorInterface">
|
||||
<point x="0.0" y="-84.5" />
|
||||
<point x="0.0" y="33.5" />
|
||||
</edge>
|
||||
<edge source="\DesignPatterns\More\ServiceLocator\DatabaseService" target="\DesignPatterns\More\ServiceLocator\DatabaseServiceInterface">
|
||||
<point x="0.0" y="-13.5" />
|
||||
<point x="0.0" y="13.5" />
|
||||
</edge>
|
||||
<edge source="\DesignPatterns\More\ServiceLocator\LogService" target="\DesignPatterns\More\ServiceLocator\LogServiceInterface">
|
||||
<point x="0.0" y="-13.5" />
|
||||
<point x="0.0" y="13.5" />
|
||||
</edge>
|
||||
</edges>
|
||||
<settings layout="Hierarchic Group" zoom="0.8483516483516483" x="217.0" y="217.5" />
|
||||
<SelectedNodes />
|
||||
<Categories>
|
||||
<Category>Fields</Category>
|
||||
<Category>Constants</Category>
|
||||
<Category>Constructors</Category>
|
||||
<Category>Methods</Category>
|
||||
</Categories>
|
||||
<VISIBILITY>private</VISIBILITY>
|
||||
</Diagram>
|
||||
|
BIN
More/ServiceLocator/uml/uml.png
Normal file
BIN
More/ServiceLocator/uml/uml.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
432
More/ServiceLocator/uml/uml.svg
Normal file
432
More/ServiceLocator/uml/uml.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 53 KiB |
Reference in New Issue
Block a user