Adding RulerZ as a sample

RulerZ is a PHP implementation of the Specification pattern which puts the emphasis on three main aspects:

  - an easy and data-agnostic DSL to define business rules and specifications,
  - the ability to check if a candidate satisfies a specification,
  - the ability to filter or query any datasource to only retrieve candidates matching a specification.
This commit is contained in:
Jérémy Huet
2015-04-25 20:31:32 +02:00
parent 0213028e4d
commit 4c5f2ca113

View File

@@ -9,6 +9,11 @@ checked against. The composite specification class has one method called
``isSatisfiedBy`` that returns either true or false depending on whether
the given object satisfies the specification.
Sample:
^^^^^^^
- `RulerZ <https://github.com/K-Phoen/rulerz>`__
UML Diagram
-----------
@@ -73,4 +78,4 @@ Tests/SpecificationTest.php
:linenos:
.. _`GitHub`: https://github.com/domnikl/DesignPatternsPHP/tree/master/Behavioral/Specification
.. _`Specification`: http://en.wikipedia.org/wiki/Specification_pattern
.. _`Specification`: http://en.wikipedia.org/wiki/Specification_pattern