add wikipedia link

This commit is contained in:
Faust
2015-04-03 10:57:00 +02:00
parent 9fd800b9f6
commit c609ef5952
34 changed files with 188 additions and 64 deletions

View File

@@ -1,5 +1,5 @@
Abstract Factory
================
Abstract Factory |Wikipedia|_
=============================
Purpose
-------
@@ -91,3 +91,7 @@ Tests/AbstractFactoryTest.php
:linenos:
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/AbstractFactory
.. |Wikipedia| image:: /_static/Wikipedia-logo.png
:height: 30 px
:width: 30 px
.. _Wikipedia: http://en.wikipedia.org/wiki/Abstract_factory_pattern

View File

@@ -1,5 +1,5 @@
Builder
=======
Builder |Wikipedia|_
====================
Purpose
-------
@@ -102,3 +102,7 @@ Tests/DirectorTest.php
:linenos:
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Builder
.. |Wikipedia| image:: /_static/Wikipedia-logo.png
:height: 30 px
:width: 30 px
.. _Wikipedia: http://en.wikipedia.org/wiki/Builder_pattern

View File

@@ -1,5 +1,5 @@
Factory Method
==============
Factory Method |Wikipedia|_
===========================
Purpose
-------
@@ -80,3 +80,7 @@ Tests/FactoryMethodTest.php
:linenos:
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/FactoryMethod
.. |Wikipedia| image:: /_static/Wikipedia-logo.png
:height: 30 px
:width: 30 px
.. _Wikipedia: http://en.wikipedia.org/wiki/Factory_method_pattern

View File

@@ -1,5 +1,5 @@
Pool
====
Pool |Wikipedia|_
=================
The **object pool pattern** is a software creational design pattern that
uses a set of initialized objects kept ready to use a "pool" rather
@@ -67,3 +67,7 @@ Tests/PoolTest.php
:linenos:
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Pool
.. |Wikipedia| image:: /_static/Wikipedia-logo.png
:height: 30 px
:width: 30 px
.. _Wikipedia: http://en.wikipedia.org/wiki/Object_pool_pattern

View File

@@ -1,5 +1,5 @@
Prototype
=========
Prototype |Wikipedia|_
======================
Purpose
-------
@@ -53,3 +53,7 @@ Test
----
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Prototype
.. |Wikipedia| image:: /_static/Wikipedia-logo.png
:height: 30 px
:width: 30 px
.. _Wikipedia: http://en.wikipedia.org/wiki/Prototype_pattern

View File

@@ -1,5 +1,5 @@
Singleton
=========
Singleton |Wikipedia|_
======================
**THIS IS CONSIDERED TO BE AN ANTI-PATTERN! FOR BETTER TESTABILITY AND
MAINTAINABILITY USE DEPENDENCY INJECTION!**
@@ -47,3 +47,7 @@ Tests/SingletonTest.php
:linenos:
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Creational/Singleton
.. |Wikipedia| image:: /_static/Wikipedia-logo.png
:height: 30 px
:width: 30 px
.. _Wikipedia: http://en.wikipedia.org/wiki/Singleton_pattern