49 Commits

Author SHA1 Message Date
Dominik Liebler
58f0fc6d5f Merge pull request #137 from KIVagant/memento
Memento pattern: full and understandable implementation
2015-09-09 07:33:58 +02:00
Nils Rückmann
274d7b2d7a Refactor DesignPatterns\Behavioral\Iterator 2015-09-08 23:55:13 +02:00
Евгений Глотов
5d11bc5a87 Memento. Note: not equals to English version! 2015-09-08 19:17:51 +03:00
Nils Rückmann
c6f9dccff1 Changes to take care of unwanted (negative) indices 2015-09-07 02:17:17 +02:00
Serghei Iakovlev
17411e7acc Update Plus.php 2015-07-10 02:28:44 +03:00
ibandominguez
1a6152772d add visibility declaration to __construct 2015-06-20 20:01:16 +01:00
Dominik Liebler
7e707cc0fc Merge pull request #135 from bocharsky-bw/patch-1
Replace array storage with SplObjectStorage
2015-06-01 11:47:23 +02:00
Victor
2af532c8ee Fix observer attach/detach tests 2015-06-01 01:05:23 +03:00
Faust
9c3f4f4f3b add wikipedia links on cataloge of pattern 2015-05-31 13:25:04 +02:00
Евгений Глотов
0ebafc5eaa Memento pattern.
- Caretaker should save history for normal pattern implementation.
- Importent notes in code of Originator.
- Readme with full pattern philosophy.
- Tests and example of usage inside test.
2015-05-30 05:35:54 +03:00
Faust
fa36638e88 use Anonymous Hyperlinks for wikipedia link 2015-05-29 12:11:16 +02:00
Bocharsky Victor
db7dab5b0d Replace array storage with SplObjectStorage
If you already use SPL interfaces in your example, maybe better to use `SplObjectStorage` too instead of `array` to store observers with `attach` and `detach` convenient methods?
What do you think?
2015-05-27 21:37:19 +03:00
SHANG Guokan
23d8483738 Update README.rst 2015-04-29 13:41:02 +02:00
Jérémy Huet
4c5f2ca113 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.
2015-04-25 20:31:32 +02:00
Dominik Liebler
8eed6f9c21 Merge pull request #130 from nueckman/codestyle-1
codestyle - remove trailing whitespaces
2015-04-09 21:40:48 +02:00
Faust
65cc90e974 sort php files Behavioral and More 2015-04-08 23:19:24 +02:00
Faust
23abee8078 sort php files Creational 2015-04-07 22:00:12 +02:00
Faust
ff327e3a0c Change index.rst to README.rst
remove all pattern's README.md
2015-04-05 06:05:24 +02:00
Faust
818c221c78 fix wikipedia links for pdf version 2015-04-05 03:29:00 +02:00
Faust
c609ef5952 add wikipedia link 2015-04-03 10:57:00 +02:00
Faust
9fd800b9f6 fix embed some files and add download link to README.md 2015-04-03 00:24:24 +02:00
Faust
9d91da4153 create TocTree index 2015-04-02 00:16:16 +02:00
Faust
bba8b0df43 execute read-the-docs.sh 2015-04-02 00:03:33 +02:00
Nils Rückmann
2bc3d20e5e codestyle - remove trailing whitespaces 2015-03-27 12:19:20 +01:00
dingoEgret
18071865af Update Colleague.php 2015-03-26 13:10:16 -04:00
ftwbzhao
53f4d364c0 fix booklist remove function 2015-03-07 14:11:42 +08:00
Anew_G.
ebda65504b Update ShippingOrder.php 2015-02-20 15:30:47 +08:00
Vladimir Komissarov
4aafc3db53 Fixed typo 2015-01-28 13:14:18 +05:00
Bilge
b71b988fc0 Copy edit for NullObject readme 2014-10-06 02:16:35 +01:00
dan-lyn
b4d7824a2b fixed typo and blank line 2014-08-30 14:34:15 +02:00
dan-lyn
f50a4c6690 fixed typos and trailing slashes 2014-08-30 11:20:04 +02:00
Dominik Liebler
bc2f33e812 Merge branch 'pr/107' into master 2014-08-24 15:54:50 +02:00
Dominik Liebler
ba292f1117 Merge pull request #101 from ParamountSoft/patch-2
Update README.md
2014-08-06 17:12:33 +02:00
John Webb
1dabe3c6ed Added Behavioral pattern UMLs 2014-07-31 14:47:55 -05:00
John Webb
de431c5126 Added More pattern UMLs 2014-07-31 14:13:53 -05:00
ParamountSoft
f37dbf8be8 Update README.md 2014-06-29 18:38:56 +02:00
dongww
f9f008d5fb Update User.php 2014-06-20 15:36:24 +08:00
Jessie Siat
c597d895d6 removes unnecessary newline in comments 2014-06-11 14:05:03 +08:00
Dominik Liebler
c98bc8326f Merge commit 'refs/pull/origin/86' 2014-06-06 09:17:33 +02:00
Antonio Spinelli
0c774a89e4 create a Test folder for each pattern 2014-05-05 12:02:29 -03:00
Antonio Spinelli
14a9dfe7cf merge from master 2014-05-02 12:33:44 -03:00
Antonio Spinelli
fc3b6a1608 cs fix 2014-04-16 17:59:03 -03:00
Antonio Spinelli
f1af89ecc6 add simple explanation about behavioral 2014-04-16 14:54:31 -03:00
Antonio Spinelli
06fc97713a add README files 2014-04-16 14:51:11 -03:00
Antonio Spinelli
646e0e2fd9 it was created the Behavioral namespace and append its patterns 2014-04-15 22:59:16 -03:00
Antonio Spinelli
2f7837927f merged from master 2014-04-15 22:07:48 -03:00
Antonio Spinelli
d225a43de7 Behavioral\Iterator restructured 2014-03-24 10:40:08 -03:00
Antonio Spinelli
3e515daa0f Behavioral\Command restructured 2014-03-24 09:14:05 -03:00
Antonio Spinelli
e59d70a0ac start a restructure 2014-03-21 18:03:45 -03:00