From 8124fd07717a67585533fcbcea6afea855836c05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilkka=20Sepp=C3=A4l=C3=A4?= Date: Thu, 21 Jul 2016 09:27:48 +0300 Subject: [PATCH 1/2] Adjust pattern categories and tags --- async-method-invocation/README.md | 1 + command/README.md | 1 + event-aggregator/README.md | 1 + event-driven-architecture/README.md | 7 +++++++ monad/README.md | 2 +- mute-idiom/README.md | 4 ++-- mutex/README.md | 4 ++-- observer/README.md | 1 + page-object/README.md | 3 --- poison-pill/README.md | 1 + producer-consumer/README.md | 1 + reader-writer-lock/README.md | 7 +++++-- semaphore/README.md | 4 ++-- specification/README.md | 4 ++++ 14 files changed, 29 insertions(+), 12 deletions(-) diff --git a/async-method-invocation/README.md b/async-method-invocation/README.md index 93c0249d9..2d99820c5 100644 --- a/async-method-invocation/README.md +++ b/async-method-invocation/README.md @@ -8,6 +8,7 @@ tags: - Java - Difficulty-Intermediate - Functional + - Reactive --- ## Intent diff --git a/command/README.md b/command/README.md index ee0003ab7..a5478394c 100644 --- a/command/README.md +++ b/command/README.md @@ -8,6 +8,7 @@ tags: - Java - Gang Of Four - Difficulty-Intermediate + - Functional --- ## Also known as diff --git a/event-aggregator/README.md b/event-aggregator/README.md index 5462a2a5d..ac07869e7 100644 --- a/event-aggregator/README.md +++ b/event-aggregator/README.md @@ -7,6 +7,7 @@ categories: Structural tags: - Java - Difficulty-Beginner + - Reactive --- ## Intent diff --git a/event-driven-architecture/README.md b/event-driven-architecture/README.md index 7c786b76c..c779fd430 100644 --- a/event-driven-architecture/README.md +++ b/event-driven-architecture/README.md @@ -1,7 +1,14 @@ +--- layout: pattern title: Event Driven Architecture folder: event-driven-architecture permalink: /patterns/event-driven-architecture +categories: Architectural +tags: + - Java + - Difficulty-Intermediate + - Reactive +--- ## Intent Send and notify state changes of your objects to other applications using an Event-driven Architecture. diff --git a/monad/README.md b/monad/README.md index ffc67a354..41edd3d92 100644 --- a/monad/README.md +++ b/monad/README.md @@ -6,7 +6,7 @@ permalink: /patterns/monad/ categories: Other tags: - Java - - Difficulty-Advanced + - Difficulty-Expert - Functional --- diff --git a/mute-idiom/README.md b/mute-idiom/README.md index efc09f306..bb674b648 100644 --- a/mute-idiom/README.md +++ b/mute-idiom/README.md @@ -11,7 +11,7 @@ tags: --- ## Intent -Provide a template to supress any exceptions that either are declared but cannot occur or should only be logged; +Provide a template to suppress any exceptions that either are declared but cannot occur or should only be logged; while executing some business logic. The template removes the need to write repeated `try-catch` blocks. @@ -20,7 +20,7 @@ while executing some business logic. The template removes the need to write repe ## Applicability Use this idiom when -* an API declares some exception but can never throw that exception. Eg. ByteArrayOutputStream bulk write method. +* an API declares some exception but can never throw that exception eg. ByteArrayOutputStream bulk write method. * you need to suppress some exception just by logging it, such as closing a resource. ## Credits diff --git a/mutex/README.md b/mutex/README.md index 24edad7eb..84755872f 100644 --- a/mutex/README.md +++ b/mutex/README.md @@ -3,10 +3,10 @@ layout: pattern title: Mutex folder: mutex permalink: /patterns/mutex/ -categories: Lock +categories: Concurrency tags: - Java - - Difficulty-Beginner + - Difficulty-Intermediate --- ## Also known as diff --git a/observer/README.md b/observer/README.md index db6320a1d..6fbe3cdab 100644 --- a/observer/README.md +++ b/observer/README.md @@ -8,6 +8,7 @@ tags: - Java - Difficulty-Beginner - Gang Of Four + - Reactive --- ## Also known as diff --git a/page-object/README.md b/page-object/README.md index ee1f827da..b4f8246f1 100644 --- a/page-object/README.md +++ b/page-object/README.md @@ -7,9 +7,6 @@ categories: Testing tags: - Java - Difficulty-Intermediate -- Testing -- Web Development -- Encapsulation --- ## Intent diff --git a/poison-pill/README.md b/poison-pill/README.md index eb37c5ada..0815b376e 100644 --- a/poison-pill/README.md +++ b/poison-pill/README.md @@ -7,6 +7,7 @@ categories: Other tags: - Java - Difficulty-Intermediate + - Reactive --- ## Intent diff --git a/producer-consumer/README.md b/producer-consumer/README.md index c666ab12e..1bb84c35f 100644 --- a/producer-consumer/README.md +++ b/producer-consumer/README.md @@ -8,6 +8,7 @@ tags: - Java - Difficulty-Intermediate - I/O + - Reactive --- ## Intent diff --git a/reader-writer-lock/README.md b/reader-writer-lock/README.md index 91d16892c..40b711361 100644 --- a/reader-writer-lock/README.md +++ b/reader-writer-lock/README.md @@ -3,9 +3,12 @@ layout: pattern title: Reader Writer Lock folder: reader-writer-lock permalink: /patterns/reader-writer-lock/ -categories: Concurrent +categories: Concurrency tags: -- Java + - Java + - Difficulty-Intermediate + - I/O + - Performance --- **Intent:** diff --git a/semaphore/README.md b/semaphore/README.md index e3e215d5a..46ccd7b8e 100644 --- a/semaphore/README.md +++ b/semaphore/README.md @@ -3,10 +3,10 @@ layout: pattern title: Semaphore folder: semaphore permalink: /patterns/semaphore/ -categories: Lock +categories: Concurrency tags: - Java - - Difficulty-Beginner + - Difficulty-Intermediate --- ## Also known as diff --git a/specification/README.md b/specification/README.md index 5f9aa4a36..564830653 100644 --- a/specification/README.md +++ b/specification/README.md @@ -26,6 +26,10 @@ Use the Specification pattern when * you need to select a subset of objects based on some criteria, and to refresh the selection at various times * you need to check that only suitable objects are used for a certain role (validation) +## Related patterns + +* Repository + ## Credits * [Martin Fowler - Specifications](http://martinfowler.com/apsupp/spec.pdf) From bc94d0fc26688a20480851f5c974f46396179a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilkka=20Sepp=C3=A4l=C3=A4?= Date: Thu, 21 Jul 2016 20:21:36 +0300 Subject: [PATCH 2/2] Fix link --- event-driven-architecture/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event-driven-architecture/README.md b/event-driven-architecture/README.md index c779fd430..843e4c268 100644 --- a/event-driven-architecture/README.md +++ b/event-driven-architecture/README.md @@ -2,7 +2,7 @@ layout: pattern title: Event Driven Architecture folder: event-driven-architecture -permalink: /patterns/event-driven-architecture +permalink: /patterns/event-driven-architecture/ categories: Architectural tags: - Java