create TocTree index

This commit is contained in:
Faust
2015-04-02 00:16:16 +02:00
parent 1f38f34fc9
commit 9d91da4153
10 changed files with 58 additions and 184 deletions

View File

@@ -5,13 +5,13 @@ Multiton
MAINTAINABILITY USE DEPENDENCY INJECTION!**
Purpose
=======
-------
To have only a list of named instances that are used, like a singleton
but with n instances.
Examples
========
--------
- 2 DB Connectors, e.g. one for MySQL, the other for SQLite
- multiple Loggers (one for debug messages, one for errors)

View File

@@ -8,29 +8,15 @@ could result in design problems or added complexity to the design.
Creational design patterns solve this problem by somehow controlling
this object creation.
- `AbstractFactory <AbstractFactory>`__
`:notebook: <http://en.wikipedia.org/wiki/Abstract_factory_pattern>`__
- `Builder <Builder>`__
`:notebook: <http://en.wikipedia.org/wiki/Builder_pattern>`__
- `FactoryMethod <FactoryMethod>`__
`:notebook: <http://en.wikipedia.org/wiki/Factory_method_pattern>`__
- `Multiton <Multiton>`__ (is considered an anti-pattern! :no\_entry:)
- `Pool <Pool>`__
`:notebook: <http://en.wikipedia.org/wiki/Object_pool_pattern>`__
- `Prototype <Prototype>`__
`:notebook: <http://en.wikipedia.org/wiki/Prototype_pattern>`__
- `SimpleFactory <SimpleFactory>`__
- `Singleton <Singleton>`__
`:notebook: <http://en.wikipedia.org/wiki/Singleton_pattern>`__ (is
considered an anti-pattern! :no\_entry:)
- `StaticFactory <StaticFactory>`__
.. toctree::
:titlesonly:
Code
----
You can also find these code on `GitHub`_
Test
----
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational
AbstractFactory/index
Builder/index
FactoryMethod/index
Multiton/index
Pool/index
Prototype/index
SimpleFactory/index
Singleton/index
StaticFactory/index