Skip to content

Commit

Permalink
Categorize and tag all patterns iluwatar#213
Browse files Browse the repository at this point in the history
  • Loading branch information
iluwatar committed Dec 28, 2015
1 parent fefb51c commit 7ac7e3b
Show file tree
Hide file tree
Showing 55 changed files with 147 additions and 48 deletions.
1 change: 1 addition & 0 deletions abstract-factory/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ categories: Creational
tags:
- Java
- Gang Of Four
- Difficulty-Intermediate
---

**Also known as:** Kit
Expand Down
1 change: 1 addition & 0 deletions adapter/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ categories: Structural
tags:
- Java
- Gang Of Four
- Difficulty-Beginner
---

**Also known as:** Wrapper
Expand Down
5 changes: 4 additions & 1 deletion async-method-invocation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ title: Async Method Invocation
folder: async-method-invocation
permalink: /patterns/async-method-invocation/
categories: Concurrency
tags: Java
tags:
- Java
- Difficulty-Intermediate
- Functional
---

**Intent:** Asynchronous method invocation is pattern where the calling thread
Expand Down
1 change: 1 addition & 0 deletions bridge/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ categories: Structural
tags:
- Java
- Gang Of Four
- Difficulty-Intermediate
---

**Also known as:** Handle/Body
Expand Down
1 change: 1 addition & 0 deletions builder/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ categories: Creational
tags:
- Java
- Gang Of Four
- Difficulty-Intermediate
---

**Intent:** Separate the construction of a complex object from its
Expand Down
4 changes: 3 additions & 1 deletion business-delegate/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ title: Business Delegate
folder: business-delegate
permalink: /patterns/business-delegate/
categories: Business Tier
tags: Java
tags:
- Java
- Difficulty-Intermediate
---

**Intent:** The Business Delegate pattern adds an abstraction layer between
Expand Down
2 changes: 2 additions & 0 deletions caching/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ permalink: /patterns/caching/
categories: Other
tags:
- Java
- Difficulty-Intermediate
- Caching
---

**Intent:** To avoid expensive re-acquisition of resources by not releasing
Expand Down
6 changes: 5 additions & 1 deletion callback/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ title: Callback
folder: callback
permalink: /patterns/callback/
categories: Other
tags: Java
tags:
- Java
- Difficulty-Beginner
- Functional
- Idiom
---

**Intent:** Callback is a piece of executable code that is passed as an
Expand Down
1 change: 1 addition & 0 deletions chain/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ categories: Behavioral
tags:
- Java
- Gang Of Four
- Difficulty-Intermediate
---

**Intent:** Avoid coupling the sender of a request to its receiver by giving
Expand Down
1 change: 1 addition & 0 deletions command/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ categories: Behavioral
tags:
- Java
- Gang Of Four
- Difficulty-Intermediate
---

**Also known as:** Action, Transaction
Expand Down
1 change: 1 addition & 0 deletions composite/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ categories: Structural
tags:
- Java
- Gang Of Four
- Difficulty-Intermediate
---

**Intent:** Compose objects into tree structures to represent part-whole
Expand Down
2 changes: 1 addition & 1 deletion dao/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: pattern
title: Data Access Object
folder: dao
permalink: /patterns/dao/
categories: Architectural
categories: Persistence Tier
tags:
- Java
- Difficulty-Beginner
Expand Down
1 change: 1 addition & 0 deletions decorator/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ categories: Structural
tags:
- Java
- Gang Of Four
- Difficulty-Beginner
---

**Also known as:** Wrapper
Expand Down
4 changes: 3 additions & 1 deletion dependency-injection/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ title: Dependency Injection
folder: dependency-injection
permalink: /patterns/dependency-injection/
categories: Behavioral
tags: Java
tags:
- Java
- Difficulty-Beginner
---

**Intent:** Dependency Injection is a software design pattern in which one or
Expand Down
5 changes: 4 additions & 1 deletion double-checked-locking/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ title: Double Checked Locking
folder: double-checked-locking
permalink: /patterns/double-checked-locking/
categories: Concurrency
tags: Java
tags:
- Java
- Difficulty-Beginner
- Idiom
---

**Intent:** Reduce the overhead of acquiring a lock by first testing the
Expand Down
5 changes: 4 additions & 1 deletion double-dispatch/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ title: Double Dispatch
folder: double-dispatch
permalink: /patterns/double-dispatch/
categories: Other
tags: Java
tags:
- Java
- Difficulty-Intermediate
- Idiom
---

**Intent:** Double Dispatch pattern is a way to create maintainable dynamic
Expand Down
4 changes: 3 additions & 1 deletion event-aggregator/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ title: Event Aggregator
folder: event-aggregator
permalink: /patterns/event-aggregator/
categories: Structural
tags: Java
tags:
- Java
- Difficulty-Beginner
---

**Intent:** A system with lots of objects can lead to complexities when a
Expand Down
5 changes: 4 additions & 1 deletion execute-around/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ title: Execute Around
folder: execute-around
permalink: /patterns/execute-around/
categories: Other
tags: Java
tags:
- Java
- Difficulty-Beginner
- Idiom
---

**Intent:** Execute Around idiom frees the user from certain actions that
Expand Down
1 change: 1 addition & 0 deletions facade/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ categories: Structural
tags:
- Java
- Gang Of Four
- Difficulty-Beginner
---

**Intent:** Provide a unified interface to a set of interfaces in a subsystem.
Expand Down
1 change: 1 addition & 0 deletions fluentinterface/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ categories: Other
tags:
- Java
- Difficulty-Intermediate
- Functional
---

**Intent:** A fluent interface provides an easy-readable, flowing interface, that often mimics a domain specific language. Using this pattern results in code that can be read nearly as human language.
Expand Down
4 changes: 3 additions & 1 deletion flux/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ title: Flux
folder: flux
permalink: /patterns/flux/
categories: Presentation Tier
tags: Java
tags:
- Java
- Difficulty-Intermediate
---

**Intent:** Flux eschews MVC in favor of a unidirectional data flow. When a
Expand Down
2 changes: 2 additions & 0 deletions flyweight/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ categories: Structural
tags:
- Java
- Gang Of Four
- Difficulty-Intermediate
- Caching
---

**Intent:** Use sharing to support large numbers of fine-grained objects
Expand Down
4 changes: 3 additions & 1 deletion front-controller/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ title: Front Controller
folder: front-controller
permalink: /patterns/front-controller/
categories: Presentation Tier
tags: Java
tags:
- Java
- Difficulty-Intermediate
---

**Intent:** Introduce a common handler for all requests for a web site. This
Expand Down
4 changes: 3 additions & 1 deletion half-sync-half-async/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ title: Half-Sync/Half-Async
folder: half-sync-half-async
permalink: /patterns/half-sync-half-async/
categories: Concurrency
tags: Java
tags:
- Java
- Difficulty-Intermediate
---

**Intent:** The Half-Sync/Half-Async pattern decouples synchronous I/O from
Expand Down
4 changes: 3 additions & 1 deletion intercepting-filter/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ title: Intercepting Filter
folder: intercepting-filter
permalink: /patterns/intercepting-filter/
categories: Behavioral
tags: Java
tags:
- Java
- Difficulty-Intermediate
---

**Intent:** Provide pluggable filters to conduct necessary pre-processing and
Expand Down
1 change: 1 addition & 0 deletions interpreter/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ categories: Behavioral
tags:
- Java
- Gang Of Four
- Difficulty-Intermediate
---

**Intent:** Given a language, define a representation for its grammar along
Expand Down
5 changes: 4 additions & 1 deletion layers/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ title: Layers
folder: layers
permalink: /patterns/layers/
categories: Architectural
tags: Java
tags:
- Java
- Difficulty-Intermediate
- Spring
---

**Intent:** Layers is an architectural style where software responsibilities are
Expand Down
6 changes: 5 additions & 1 deletion lazy-loading/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ title: Lazy Loading
folder: lazy-loading
permalink: /patterns/lazy-loading/
categories: Other
tags: Java
tags:
- Java
- Difficulty-Beginner
- Idiom
- Caching
---

**Intent:** Lazy loading is a design pattern commonly used to defer
Expand Down
1 change: 1 addition & 0 deletions memento/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ categories: Behavioral
tags:
- Java
- Gang Of Four
- Difficulty-Intermediate
---

**Also known as:** Token
Expand Down
1 change: 1 addition & 0 deletions message-channel/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ categories: Integration
tags:
- Java
- EIP
- Camel
---

**Intent:** When two applications communicate using a messaging system they do it by using logical addresses
Expand Down
4 changes: 3 additions & 1 deletion model-view-controller/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ title: Model-View-Controller
folder: model-view-controller
permalink: /patterns/model-view-controller/
categories: Presentation Tier
tags: Java
tags:
- Java
- Difficulty-Intermediate
---

**Intent:** Separate the user interface into three interconnected components:
Expand Down
4 changes: 3 additions & 1 deletion model-view-presenter/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ title: Model-View-Presenter
folder: model-view-presenter
permalink: /patterns/model-view-presenter/
categories: Presentation Tier
tags: Java
tags:
- Java
- Difficulty-Intermediate
---

**Intent:** Apply a "Separation of Concerns" principle in a way that allows
Expand Down
4 changes: 3 additions & 1 deletion monostate/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ title: MonoState
folder: monostate
permalink: /patterns/monostate/
categories: Creational
tags: Java
tags:
- Java
- Difficulty-Beginner
---

**Intent:** Enforces a behaviour like sharing the same state amongst all instances.
Expand Down
4 changes: 3 additions & 1 deletion multiton/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ title: Multiton
folder: multiton
permalink: /patterns/multiton/
categories: Creational
tags: Java
tags:
- Java
- Difficulty-Beginner
---

**Intent:** Ensure a class only has limited number of instances, and provide a
Expand Down
4 changes: 3 additions & 1 deletion naked-objects/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ title: Naked Objects
folder: naked-objects
permalink: /patterns/naked-objects/
categories: Architectural
tags: Java
tags:
- Java
- Difficulty-Expert
---

**Intent:** The Naked Objects architectural pattern is well suited for rapid
Expand Down
4 changes: 3 additions & 1 deletion null-object/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ title: Null Object
folder: null-object
permalink: /patterns/null-object/
categories: Behavioral
tags: Java
tags:
- Java
- Difficulty-Beginner
---

**Intent:** In most object-oriented languages, such as Java or C#, references
Expand Down
5 changes: 4 additions & 1 deletion object-pool/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ title: Object Pool
folder: object-pool
permalink: /patterns/object-pool/
categories: Creational
tags: Java
tags:
- Java
- Difficulty-Beginner
- Caching
---

**Intent:** When objects are expensive to create and they are needed only for
Expand Down
4 changes: 3 additions & 1 deletion poison-pill/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ title: Poison Pill
folder: poison-pill
permalink: /patterns/poison-pill/
categories: Other
tags: Java
tags:
- Java
- Difficulty-Intermediate
---

**Intent:** Poison Pill is known predefined data item that allows to provide
Expand Down
5 changes: 4 additions & 1 deletion private-class-data/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ title: Private Class Data
folder: private-class-data
permalink: /patterns/private-class-data/
categories: Other
tags: Java
tags:
- Java
- Difficulty-Beginner
- Idiom
---

**Intent:** Private Class Data design pattern seeks to reduce exposure of
Expand Down
Loading

0 comments on commit 7ac7e3b

Please sign in to comment.