mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 12:10:10 +02:00
create TocTree index
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
Bridge
|
||||
======
|
||||
|
||||
Purpose
|
||||
-------
|
||||
|
||||
|
@@ -2,13 +2,13 @@ Composite
|
||||
=========
|
||||
|
||||
Purpose
|
||||
=======
|
||||
-------
|
||||
|
||||
To treat a group of objects the same way as a single instance of the
|
||||
object.
|
||||
|
||||
Examples
|
||||
========
|
||||
--------
|
||||
|
||||
- a form class instance handles all its form elements like a single
|
||||
instance of the form, when ``render()`` is called, it subsequently
|
||||
|
@@ -5,33 +5,16 @@ In Software Engineering, Structural Design Patterns are Design Patterns
|
||||
that ease the design by identifying a simple way to realize
|
||||
relationships between entities.
|
||||
|
||||
- `Adapter <Adapter>`__
|
||||
`:notebook: <http://en.wikipedia.org/wiki/Adapter_pattern>`__
|
||||
- `Bridge <Bridge>`__
|
||||
`:notebook: <http://en.wikipedia.org/wiki/Bridge_pattern>`__
|
||||
- `Composite <Composite>`__
|
||||
`:notebook: <http://en.wikipedia.org/wiki/Composite_pattern>`__
|
||||
- `DataMapper <DataMapper>`__
|
||||
`:notebook: <http://en.wikipedia.org/wiki/Data_mapper_pattern>`__
|
||||
- `Decorator <Decorator>`__
|
||||
`:notebook: <http://en.wikipedia.org/wiki/Decorator_pattern>`__
|
||||
- `DependencyInjection <DependencyInjection>`__
|
||||
`:notebook: <http://en.wikipedia.org/wiki/Dependency_injection>`__
|
||||
- `Facade <Facade>`__
|
||||
`:notebook: <http://en.wikipedia.org/wiki/Facade_pattern>`__
|
||||
- `FluentInterface <FluentInterface>`__
|
||||
`:notebook: <http://en.wikipedia.org/wiki/Fluent_interface>`__
|
||||
- `Proxy <Proxy>`__
|
||||
`:notebook: <http://en.wikipedia.org/wiki/Proxy_pattern>`__
|
||||
- `Registry <Registry>`__
|
||||
`:notebook: <http://en.wikipedia.org/wiki/Service_locator_pattern>`__
|
||||
.. toctree::
|
||||
:titlesonly:
|
||||
|
||||
Code
|
||||
----
|
||||
|
||||
You can also find these code on `GitHub`_
|
||||
|
||||
Test
|
||||
----
|
||||
|
||||
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Structural
|
||||
Adapter/index
|
||||
Bridge/index
|
||||
Composite/index
|
||||
DataMapper/index
|
||||
Decorator/index
|
||||
DependencyInjection/index
|
||||
Facade/index
|
||||
FluentInterface/index
|
||||
Proxy/index
|
||||
Registry/index
|
Reference in New Issue
Block a user