Added More pattern UMLs

This commit is contained in:
John Webb
2014-07-31 14:13:53 -05:00
parent 3a35fa7ef6
commit de431c5126
33 changed files with 1508 additions and 2 deletions

13
More/Delegation/README.md Normal file
View File

@@ -0,0 +1,13 @@
# Delegation
## Purpose
...
## Examples
...
## UML Diagram
![Alt Delegation UML Diagram](uml/uml.png)

View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

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

View File

@@ -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
![Alt Repository UML Diagram](uml/uml.png)

View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

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

View File

@@ -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
![Alt ServiceLocator UML Diagram](uml/uml.png)

View 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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 53 KiB