diff --git a/abstract-document/README.md b/abstract-document/README.md index 9452c0332..0a610ea49 100644 --- a/abstract-document/README.md +++ b/abstract-document/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Abstract Document -folder: abstract-document -permalink: /patterns/abstract-document/ -categories: Structural +category: Structural language: en tags: - Extensibility diff --git a/abstract-factory/README.md b/abstract-factory/README.md index 2089015b7..fe7ae33ad 100644 --- a/abstract-factory/README.md +++ b/abstract-factory/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Abstract Factory -folder: abstract-factory -permalink: /patterns/abstract-factory/ -categories: Creational +category: Creational language: en tags: - Gang of Four diff --git a/active-object/README.md b/active-object/README.md index 2be33bdb2..4a5380663 100644 --- a/active-object/README.md +++ b/active-object/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Active Object -folder: active-object -permalink: /patterns/active-object/ -categories: Concurrency +category: Concurrency language: en tags: - Performance diff --git a/acyclic-visitor/README.md b/acyclic-visitor/README.md index 0a90836ab..1eee51ebb 100644 --- a/acyclic-visitor/README.md +++ b/acyclic-visitor/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Acyclic Visitor -folder: acyclic-visitor -permalink: /patterns/acyclic-visitor/ -categories: Behavioral +category: Behavioral language: en tags: - Extensibility diff --git a/adapter/README.md b/adapter/README.md index 11fb7581b..2539d0b45 100644 --- a/adapter/README.md +++ b/adapter/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Adapter -folder: adapter -permalink: /patterns/adapter/ -categories: Structural +category: Structural language: en tags: - Gang of Four diff --git a/aggregator-microservices/README.md b/aggregator-microservices/README.md index af69b03f5..aeafec019 100644 --- a/aggregator-microservices/README.md +++ b/aggregator-microservices/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Aggregator Microservices -folder: aggregator-microservices -permalink: /patterns/aggregator-microservices/ -categories: Architectural +category: Architectural language: en tags: - Cloud distributed diff --git a/ambassador/README.md b/ambassador/README.md index 4d304b67f..dd24d1b2a 100644 --- a/ambassador/README.md +++ b/ambassador/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Ambassador -folder: ambassador -permalink: /patterns/ambassador/ -categories: Structural +category: Structural language: en tags: - Decoupling diff --git a/api-gateway/README.md b/api-gateway/README.md index 4df96d5d5..4416d23c2 100644 --- a/api-gateway/README.md +++ b/api-gateway/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: API Gateway -folder: api-gateway -permalink: /patterns/api-gateway/ -categories: Architectural +category: Architectural language: en tags: - Cloud distributed diff --git a/arrange-act-assert/README.md b/arrange-act-assert/README.md index 6afbe3df1..8e01d1576 100644 --- a/arrange-act-assert/README.md +++ b/arrange-act-assert/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Arrange/Act/Assert -folder: arrange-act-assert -permalink: /patterns/arrange-act-assert/ -categories: Idiom +category: Idiom language: en tags: - Testing diff --git a/async-method-invocation/README.md b/async-method-invocation/README.md index ac019f674..d0b959c15 100644 --- a/async-method-invocation/README.md +++ b/async-method-invocation/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Async Method Invocation -folder: async-method-invocation -permalink: /patterns/async-method-invocation/ -categories: Concurrency +category: Concurrency language: en tags: - Reactive diff --git a/balking/README.md b/balking/README.md index 508d9724d..46739d5c6 100644 --- a/balking/README.md +++ b/balking/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Balking -folder: balking -permalink: /patterns/balking/ -categories: Concurrency +category: Concurrency language: en tags: - Decoupling diff --git a/bridge/README.md b/bridge/README.md index 1c5ccb8ae..ea811e499 100644 --- a/bridge/README.md +++ b/bridge/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Bridge -folder: bridge -permalink: /patterns/bridge/ -categories: Structural +category: Structural language: en tags: - Gang of Four diff --git a/builder/README.md b/builder/README.md index d8776990d..6ab049304 100644 --- a/builder/README.md +++ b/builder/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Builder -folder: builder -permalink: /patterns/builder/ -categories: Creational +category: Creational language: en tags: - Gang of Four diff --git a/business-delegate/README.md b/business-delegate/README.md index ff46e3479..1e8419c58 100644 --- a/business-delegate/README.md +++ b/business-delegate/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Business Delegate -folder: business-delegate -permalink: /patterns/business-delegate/ -categories: Structural +category: Structural language: en tags: - Decoupling diff --git a/bytecode/README.md b/bytecode/README.md index 4652e1981..3158ca37a 100644 --- a/bytecode/README.md +++ b/bytecode/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Bytecode -folder: bytecode -permalink: /patterns/bytecode/ -categories: Behavioral +category: Behavioral language: en tags: - Game programming diff --git a/caching/README.md b/caching/README.md index 9c4d11b9e..e7b472a5f 100644 --- a/caching/README.md +++ b/caching/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Caching -folder: caching -permalink: /patterns/caching/ -categories: Behavioral +category: Behavioral language: en tags: - Performance diff --git a/caching/etc/caching.png b/caching/etc/caching.png new file mode 100644 index 000000000..5be2dc0ea Binary files /dev/null and b/caching/etc/caching.png differ diff --git a/callback/README.md b/callback/README.md index 37761a7b7..24821e52a 100644 --- a/callback/README.md +++ b/callback/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Callback -folder: callback -permalink: /patterns/callback/ -categories: Idiom +category: Idiom language: en tags: - Reactive diff --git a/chain-of-responsibility/README.md b/chain-of-responsibility/README.md index a6d94499c..409915209 100644 --- a/chain-of-responsibility/README.md +++ b/chain-of-responsibility/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Chain of responsibility -folder: chain-of-responsibility -permalink: /patterns/chain-of-responsibility/ -categories: Behavioral +category: Behavioral language: en tags: - Gang of Four diff --git a/circuit-breaker/README.md b/circuit-breaker/README.md index 0f4ab47a5..8787963a1 100644 --- a/circuit-breaker/README.md +++ b/circuit-breaker/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Circuit Breaker -folder: circuit-breaker -permalink: /patterns/circuit-breaker/ -categories: Behavioral +category: Behavioral language: en tags: - Performance diff --git a/cloud-claim-check-pattern/README.md b/cloud-claim-check-pattern/README.md index 81f49e068..e95cbdbb9 100644 --- a/cloud-claim-check-pattern/README.md +++ b/cloud-claim-check-pattern/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Claim Check Pattern -folder: cloud-claim-check-pattern -permalink: /patterns/cloud-claim-check-pattern/ -categories: Cloud +category: Cloud language: en tags: - Cloud distributed diff --git a/cloud-static-content-hosting/README.md b/cloud-static-content-hosting/README.md index 12b3fd7cd..daf33e445 100644 --- a/cloud-static-content-hosting/README.md +++ b/cloud-static-content-hosting/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Static Content Hosting -folder: cloud-static-content-hosting -permalink: /patterns/cloud-static-content-hosting/ -categories: Cloud +category: Cloud language: en tags: - Cloud distributed diff --git a/collection-pipeline/README.md b/collection-pipeline/README.md index 1edec0889..cbaf0254d 100644 --- a/collection-pipeline/README.md +++ b/collection-pipeline/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Collection Pipeline -folder: collection-pipeline -permalink: /patterns/collection-pipeline/ -categories: Functional +category: Functional language: en tags: - Reactive diff --git a/combinator/README.md b/combinator/README.md index be136d359..a91b05172 100644 --- a/combinator/README.md +++ b/combinator/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Combinator -folder: combinator -permalink: /patterns/combinator/ -categories: Idiom +category: Idiom language: en tags: - Reactive diff --git a/command/README.md b/command/README.md index 50e1ea47d..3aafcc48a 100644 --- a/command/README.md +++ b/command/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Command -folder: command -permalink: /patterns/command/ -categories: Behavioral +category: Behavioral language: en tags: - Gang of Four diff --git a/commander/README.md b/commander/README.md index f2469962b..54a11fd6b 100644 --- a/commander/README.md +++ b/commander/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Commander -folder: commander -permalink: /patterns/commander/ -categories: Concurrency +category: Concurrency language: en tags: - Cloud distributed diff --git a/composite-entity/README.md b/composite-entity/README.md index 4409b4f6a..2f1a3a753 100644 --- a/composite-entity/README.md +++ b/composite-entity/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Composite Entity -folder: composite-entity -permalink: /patterns/composite-entity/ -categories: Structural +category: Structural language: en tags: - Enterprise Integration Pattern diff --git a/composite-view/README.md b/composite-view/README.md index e4ccced28..6f09630cf 100644 --- a/composite-view/README.md +++ b/composite-view/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Composite View -folder: composite-view -permalink: /patterns/composite-view/ -categories: Structural +category: Structural language: en tags: - Enterprise Integration Pattern @@ -262,9 +259,9 @@ Here are two examples of the mock atomic subviews used in the composite: The results are as such: 1) The user has put their name as `Tammy` in the request parameters and no preferences: -![alt text](etc/images/noparam.PNG) +![alt text](etc/images/noparam.png) 2) The user has put their name as `Johnny` in the request parameters and has a preference for world, business, and science news: -![alt text](etc/images/threeparams.PNG) +![alt text](etc/images/threeparams.png) The different subviews such as `worldNews.jsp`, `businessNews.jsp`, etc. are included conditionally based on the request parameters. diff --git a/composite-view/etc/images/noparam.PNG b/composite-view/etc/images/noparam.png similarity index 100% rename from composite-view/etc/images/noparam.PNG rename to composite-view/etc/images/noparam.png diff --git a/composite-view/etc/images/threeparams.PNG b/composite-view/etc/images/threeparams.png similarity index 100% rename from composite-view/etc/images/threeparams.PNG rename to composite-view/etc/images/threeparams.png diff --git a/composite/README.md b/composite/README.md index 3ce7bc951..6a8cc1ff2 100644 --- a/composite/README.md +++ b/composite/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Composite -folder: composite -permalink: /patterns/composite/ -categories: Structural +category: Structural language: en tags: - Gang of Four diff --git a/converter/README.md b/converter/README.md index cbba3344d..1a841d069 100644 --- a/converter/README.md +++ b/converter/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Converter -folder: converter -permalink: /patterns/converter/ -categories: Creational +category: Creational language: en tags: - Decoupling diff --git a/cqrs/README.md b/cqrs/README.md index 3db747c88..6199ba24a 100644 --- a/cqrs/README.md +++ b/cqrs/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: CQRS -folder: cqrs -permalink: /patterns/cqrs/ -categories: Architectural +category: Architectural language: en tags: - Performance diff --git a/dao/README.md b/dao/README.md index da8b3105c..66236bf45 100644 --- a/dao/README.md +++ b/dao/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Data Access Object -folder: dao -permalink: /patterns/dao/ -categories: Architectural +category: Architectural language: en tags: - Data access diff --git a/data-bus/README.md b/data-bus/README.md index 839af7ad5..36f6a4f0f 100644 --- a/data-bus/README.md +++ b/data-bus/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Data Bus -folder: data-bus -permalink: /patterns/data-bus/ -categories: Architectural +category: Architectural language: en tags: - Decoupling diff --git a/data-locality/README.md b/data-locality/README.md index 28fe61f23..fe1d06fe9 100644 --- a/data-locality/README.md +++ b/data-locality/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Data Locality -folder: data-locality -permalink: /patterns/data-locality/ -categories: Behavioral +category: Behavioral language: en tags: - Game programming diff --git a/data-mapper/README.md b/data-mapper/README.md index 0b483cb43..7766ca0b6 100644 --- a/data-mapper/README.md +++ b/data-mapper/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Data Mapper -folder: data-mapper -permalink: /patterns/data-mapper/ -categories: Architectural +category: Architectural language: en tags: - Decoupling diff --git a/data-transfer-object/README.md b/data-transfer-object/README.md index 995e67323..504823891 100644 --- a/data-transfer-object/README.md +++ b/data-transfer-object/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Data Transfer Object -folder: data-transfer-object -permalink: /patterns/data-transfer-object/ -categories: Architectural +category: Architectural language: en tags: - Performance diff --git a/decorator/README.md b/decorator/README.md index bc5623726..0bdd09e21 100644 --- a/decorator/README.md +++ b/decorator/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Decorator -folder: decorator -permalink: /patterns/decorator/ -categories: Structural +category: Structural language: en tags: - Gang of Four diff --git a/delegation/README.md b/delegation/README.md index 7a6a7e41f..8556c5a89 100644 --- a/delegation/README.md +++ b/delegation/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Delegation -folder: delegation -permalink: /patterns/delegation/ -categories: Structural +category: Structural language: en tags: - Decoupling diff --git a/dependency-injection/README.md b/dependency-injection/README.md index 2959b7dac..59c588740 100644 --- a/dependency-injection/README.md +++ b/dependency-injection/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Dependency Injection -folder: dependency-injection -permalink: /patterns/dependency-injection/ -categories: Creational +category: Creational language: en tags: - Decoupling diff --git a/dirty-flag/README.md b/dirty-flag/README.md index d18109d5b..4326cf135 100644 --- a/dirty-flag/README.md +++ b/dirty-flag/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Dirty Flag -folder: dirty-flag -permalink: /patterns/dirty-flag/ -categories: Behavioral +category: Behavioral language: en tags: - Game programming diff --git a/domain-model/README.md b/domain-model/README.md index 696fc41fd..b97687ebe 100644 --- a/domain-model/README.md +++ b/domain-model/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Domain Model -folder: domain-model -permalink: /patterns/domain-model/ -categories: Architectural +category: Architectural language: en tags: - Domain diff --git a/double-buffer/README.md b/double-buffer/README.md index 0d74328d6..596d05efd 100644 --- a/double-buffer/README.md +++ b/double-buffer/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Double Buffer -folder: double-buffer -permalink: /patterns/double-buffer/ -categories: Behavioral +category: Behavioral language: en tags: - Performance diff --git a/double-checked-locking/README.md b/double-checked-locking/README.md index f64b7088d..3d31bc341 100644 --- a/double-checked-locking/README.md +++ b/double-checked-locking/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Double Checked Locking -folder: double-checked-locking -permalink: /patterns/double-checked-locking/ -categories: Idiom +category: Idiom language: en tags: - Performance diff --git a/double-dispatch/README.md b/double-dispatch/README.md index 28c1ee656..4f5bf028c 100644 --- a/double-dispatch/README.md +++ b/double-dispatch/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Double Dispatch -folder: double-dispatch -permalink: /patterns/double-dispatch/ -categories: Idiom +category: Idiom language: en tags: - Extensibility diff --git a/eip-aggregator/README.md b/eip-aggregator/README.md index b2be8db5b..33d54651c 100644 --- a/eip-aggregator/README.md +++ b/eip-aggregator/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: EIP Aggregator -folder: eip-aggregator -permalink: /patterns/eip-aggregator/ -categories: Integration +category: Integration language: en tags: - Enterprise Integration Pattern diff --git a/eip-message-channel/README.md b/eip-message-channel/README.md index 34316a0ed..dd99327cc 100644 --- a/eip-message-channel/README.md +++ b/eip-message-channel/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: EIP Message Channel -folder: eip-message-channel -permalink: /patterns/eip-message-channel/ -categories: Integration +category: Integration language: en tags: - Enterprise Integration Pattern diff --git a/eip-publish-subscribe/README.md b/eip-publish-subscribe/README.md index 9d8f10ae1..aa7e3cccf 100644 --- a/eip-publish-subscribe/README.md +++ b/eip-publish-subscribe/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: EIP Publish Subscribe -folder: eip-publish-subscribe -permalink: /patterns/eip-publish-subscribe/ -categories: Integration +category: Integration language: en tags: - Enterprise Integration Pattern diff --git a/eip-splitter/README.md b/eip-splitter/README.md index a9c86e309..99f6e8063 100644 --- a/eip-splitter/README.md +++ b/eip-splitter/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: EIP Splitter -folder: eip-splitter -permalink: /patterns/eip-splitter/ -categories: Integration +category: Integration language: en tags: - Enterprise Integration Pattern diff --git a/eip-wire-tap/README.md b/eip-wire-tap/README.md index 808a8b268..aa7527eb3 100644 --- a/eip-wire-tap/README.md +++ b/eip-wire-tap/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: EIP Wire Tap -folder: eip-wire-tap -permalink: /patterns/eip-wire-tap/ -categories: Integration +category: Integration language: en tags: - Enterprise Integration Pattern diff --git a/etc/Java Design Patterns.urm.puml b/etc/Java Design Patterns.urm.puml deleted file mode 100644 index 02af47ddf..000000000 --- a/etc/Java Design Patterns.urm.puml +++ /dev/null @@ -1,2 +0,0 @@ -@startuml -@enduml \ No newline at end of file diff --git a/etc/java-design-patterns.urm.puml b/etc/java-design-patterns.urm.puml deleted file mode 100644 index 02af47ddf..000000000 --- a/etc/java-design-patterns.urm.puml +++ /dev/null @@ -1,2 +0,0 @@ -@startuml -@enduml \ No newline at end of file diff --git a/event-aggregator/README.md b/event-aggregator/README.md index f3b941497..2328f83cb 100644 --- a/event-aggregator/README.md +++ b/event-aggregator/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Event Aggregator -folder: event-aggregator -permalink: /patterns/event-aggregator/ -categories: Structural +category: Structural language: en tags: - Reactive diff --git a/event-asynchronous/README.md b/event-asynchronous/README.md index 8ec08e978..ac3deca5c 100644 --- a/event-asynchronous/README.md +++ b/event-asynchronous/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Event-based Asynchronous -folder: event-asynchronous -permalink: /patterns/event-asynchronous/ -categories: Concurrency +category: Concurrency language: en tags: - Reactive diff --git a/event-driven-architecture/README.md b/event-driven-architecture/README.md index 295d23334..3dd262132 100644 --- a/event-driven-architecture/README.md +++ b/event-driven-architecture/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Event Driven Architecture -folder: event-driven-architecture -permalink: /patterns/event-driven-architecture/ -categories: Architectural +category: Architectural language: en tags: - Reactive diff --git a/event-queue/README.md b/event-queue/README.md index 2d1091f10..c2b8388c2 100644 --- a/event-queue/README.md +++ b/event-queue/README.md @@ -1,14 +1,9 @@ --- -layout: pattern title: Event Queue -folder: event-queue -permalink: /patterns/event-queue/ -categories: Concurrency +category: Concurrency language: en tags: - Game programming - - GUI - - code flow --- ## Intent diff --git a/event-sourcing/README.md b/event-sourcing/README.md index ba275528b..b3eadcd01 100644 --- a/event-sourcing/README.md +++ b/event-sourcing/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Event Sourcing -folder: event-sourcing -permalink: /patterns/event-sourcing/ -categories: Architectural +category: Architectural language: en tags: - Performance diff --git a/execute-around/README.md b/execute-around/README.md index 06b0b2154..e92291feb 100644 --- a/execute-around/README.md +++ b/execute-around/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Execute Around -folder: execute-around -permalink: /patterns/execute-around/ -categories: Idiom +category: Idiom language: en tags: - Extensibility diff --git a/extension-objects/README.md b/extension-objects/README.md index e50fa3913..8584b9aed 100644 --- a/extension-objects/README.md +++ b/extension-objects/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Extension objects -folder: extension-objects -permalink: /patterns/extension-objects/ -categories: Behavioral +category: Behavioral language: en tags: - Extensibility diff --git a/facade/README.md b/facade/README.md index 50f5091f7..14056f387 100644 --- a/facade/README.md +++ b/facade/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Facade -folder: facade -permalink: /patterns/facade/ -categories: Structural +category: Structural language: en tags: - Gang Of Four diff --git a/factory-kit/README.md b/factory-kit/README.md index 861ddb862..d746a766e 100644 --- a/factory-kit/README.md +++ b/factory-kit/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Factory Kit -folder: factory-kit -permalink: /patterns/factory-kit/ -categories: Creational +category: Creational language: en tags: - Extensibility diff --git a/factory-method/README.md b/factory-method/README.md index 813a68445..d216aa1c2 100644 --- a/factory-method/README.md +++ b/factory-method/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Factory Method -folder: factory-method -permalink: /patterns/factory-method/ -categories: Creational +category: Creational language: en tags: - Extensibility diff --git a/factory/README.md b/factory/README.md index dd5582bec..0d87d1ac1 100644 --- a/factory/README.md +++ b/factory/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Factory -folder: factory -permalink: /patterns/factory/ -categories: Creational +category: Creational language: en tags: - Gang of Four diff --git a/fanout-fanin/README.md b/fanout-fanin/README.md index 5f9cc8df5..50780cab9 100644 --- a/fanout-fanin/README.md +++ b/fanout-fanin/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Fan-Out/Fan-In -folder: fanout-fanin -permalink: /patterns/fanout-fanin/ -categories: Integration +category: Integration language: en tags: - Microservices diff --git a/feature-toggle/README.md b/feature-toggle/README.md index 2dd53b225..a05932ea6 100644 --- a/feature-toggle/README.md +++ b/feature-toggle/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Feature Toggle -folder: feature-toggle -permalink: /patterns/feature-toggle/ -categories: Behavioral +category: Behavioral language: en tags: - Extensibility diff --git a/filterer/README.md b/filterer/README.md index 0e093346b..8953b896f 100644 --- a/filterer/README.md +++ b/filterer/README.md @@ -1,10 +1,7 @@ --- -layout: pattern title: Filterer -folder: filterer -permalink: /patterns/filterer/ language: en -categories: Functional +category: Functional tags: - Extensibility --- diff --git a/fluentinterface/README.md b/fluentinterface/README.md index 07561276c..8f23256cf 100644 --- a/fluentinterface/README.md +++ b/fluentinterface/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Fluent Interface -folder: fluentinterface -permalink: /patterns/fluentinterface/ -categories: Functional +category: Functional language: en tags: - Reactive diff --git a/flux/README.md b/flux/README.md index 8d241cb9d..a80f40b66 100644 --- a/flux/README.md +++ b/flux/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Flux -folder: flux -permalink: /patterns/flux/ -categories: Structural +category: Structural language: en tags: - Decoupling diff --git a/flyweight/README.md b/flyweight/README.md index 79ca511ba..69bca1ae2 100644 --- a/flyweight/README.md +++ b/flyweight/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Flyweight -folder: flyweight -permalink: /patterns/flyweight/ -categories: Structural +category: Structural language: en tags: - Gang of Four diff --git a/front-controller/README.md b/front-controller/README.md index a4d49c968..a1bbb8392 100644 --- a/front-controller/README.md +++ b/front-controller/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Front Controller -folder: front-controller -permalink: /patterns/front-controller/ -categories: Structural +category: Structural language: en tags: - Decoupling diff --git a/game-loop/README.md b/game-loop/README.md index 0632ca70e..25bee89f6 100644 --- a/game-loop/README.md +++ b/game-loop/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Game Loop -folder: game-loop -permalink: /patterns/game-loop/ -categories: Behavioral +category: Behavioral language: en tags: - Game programming diff --git a/guarded-suspension/README.md b/guarded-suspension/README.md index 289b3ba5c..c6c358de3 100644 --- a/guarded-suspension/README.md +++ b/guarded-suspension/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Guarded Suspension -folder: guarded-suspension -permalink: /patterns/guarded-suspension/ -categories: Concurrency +category: Concurrency language: en tags: - Decoupling diff --git a/half-sync-half-async/README.md b/half-sync-half-async/README.md index 45dab2281..322cbbbe5 100644 --- a/half-sync-half-async/README.md +++ b/half-sync-half-async/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Half-Sync/Half-Async -folder: half-sync-half-async -permalink: /patterns/half-sync-half-async/ -categories: Concurrency +category: Concurrency language: en tags: - Performance diff --git a/hexagonal/README.md b/hexagonal/README.md index 1a8453a5c..06219f485 100644 --- a/hexagonal/README.md +++ b/hexagonal/README.md @@ -1,10 +1,6 @@ --- -layout: pattern title: Hexagonal Architecture -folder: hexagonal -permalink: /patterns/hexagonal/ -pumlformat: svg -categories: Architectural +category: Architectural language: en tags: - Decoupling diff --git a/index.md b/index.md new file mode 100644 index 000000000..233145011 --- /dev/null +++ b/index.md @@ -0,0 +1,147 @@ +| Pattern | Category | Tags | +| :--- | :--- | :--- | +| [Abstract Document](abstract-document) | Structural | Extensibility | +| [Abstract Factory](abstract-factory) | Creational | Gang of Four | +| [Active Object](active-object) | Concurrency | Performance | +| [Acyclic Visitor](acyclic-visitor) | Behavioral | Extensibility | +| [Adapter](adapter) | Structural | Gang of Four | +| [Aggregator Microservices](aggregator-microservices) | Architectural | Cloud distributed | +| [Ambassador](ambassador) | Structural | Decoupling | +| [API Gateway](api-gateway) | Architectural | Cloud distributed, Decoupling | +| [Arrange/Act/Assert](arrange-act-assert) | Idiom | Testing | +| [Async Method Invocation](async-method-invocation) | Concurrency | Reactive | +| [Balking](balking) | Concurrency | Decoupling | +| [Bridge](bridge) | Structural | Gang of Four | +| [Builder](builder) | Creational | Gang of Four | +| [Business Delegate](business-delegate) | Structural | Decoupling | +| [Bytecode](bytecode) | Behavioral | Game programming | +| [Caching](caching) | Behavioral | Performance | +| [Callback](callback) | Idiom | Reactive | +| [Chain of Responsibility](chain-of-responsibility) | Behavioral | Gang of Four | +| [Circuit Breaker](circuit-breaker) | Behavioral | Performance, Decoupling | +| [Cloud Static Content Hosting](cloud-static-content-hosting) | Cloud | Cloud distributed | +| [Collection Pipeline](collection-pipeline) | Functional | Reactive | +| [Combinator](combinator) | Idiom | Reactive | +| [Command](command) | Behavioral | Gang of Four | +| [Commander](commander) | Concurrency | Cloud distributed | +| [Composite](composite) | Structural | Gang of Four | +| [Composite Entity](composite-entity) | Structural | Enterprise Integration Pattern | +| [Converter](converter) | Creational | Decoupling | +| [Command Query Responsibility Segregation](command-query-responsibility-segregation) | Architectural | Performance, Cloud distributed | +| [Data Access Object](data-access-object) | Architectural | Data access | +| [Data Bus](data-bus) | Architectural | Decoupling | +| [Data Locality](data-locality) | Behavioral | Performance, Game programming | +| [Data Mapper](data-mapper) | Architectural | Decoupling | +| [Data Transfer Object](data-transfer-object) | Architectural | Performance | +| [Decorator](decorator) | Structural | Gang of Four, Extensibility | +| [Delegation](delegation) | Structural | Decoupling | +| [Dependency Injection](dependency-injection) | Creational | Decoupling | +| [Dirty Flag](dirty-flag) | Behavioral | Performance, Game programming | +| [Double Buffer](double-buffer) | Behavioral | Performance, Game programming | +| [Double Checked Locking](double-checked-locking) | Idiom | Performance | +| [Double Dispatch](double-dispatch) | Idiom | Extensibility | +| [EIP Aggregator](eip-aggregator) | Integration | Enterprise Integration Pattern | +| [EIP Message Channel](eip-message-channel) | Integration | Enterprise Integration Pattern | +| [EIP Publish and Subscribe](eip-publish-and-subscribe) | Integration | Enterprise Integration Pattern | +| [EIP Splitter](eip-splitter) | Integration | Enterprise Integration Pattern | +| [EIP Wire Tap](eip-wire-tap) | Integration | Enterprise Integration Pattern | +| [Event Aggregator](event-aggregator) | Structural | Reactive | +| [Event Based Asynchronous](event-based-asynchronous) | Concurrency | Reactive | +| [Event Driven Architecture](event-driven-architecture) | Architectural | Reactive | +| [Event Queue](event-queue) | Concurrency | Game programming | +| [Event Sourcing](event-sourcing) | Architectural | Performance | +| [Execute Around](execute-around) | Idiom | Extensibility | +| [Extension Objects](extension-objects) | Behavioral | Extensibility | +| [Facade](facade) | Structural | Gang of Four, Decoupling | +| [Factory](factory) | Creational | Gang of Four | +| [Factory kit](factory-kit) | Creational | Extensibility | +| [Factory Method](factory-method) | Creational | Gang of Four, Extensibility | +| [Fan-Out/Fan-In](fanout-fanin) | Integration | Microservices | +| [Feature Toggle](feature-toggle) | Behavioral | Extensibility | +| [Filterer](filterer) | Functional | Extensibility | +| [Fluent Interface](fluent-interface) | Functional | Reactive | +| [Flux](flux) | Structural | Decoupling | +| [Flyweight](flyweight) | Structural | Gang of Four, Performance | +| [Front Controller](front-controller) | Structural | Decoupling | +| [Game Loop](game-loop) | Behavioral | Game programming | +| [Guarded Suspension](guarded-suspension) | Concurrency | Decoupling | +| [Half-Sync Half-Async](half-sync-half-async) | Concurrency | Performance | +| [Hexagonal](hexagonal) | Architectural | Decoupling | +| [Intercepting Filter](intercepting-filter) | Behavioral | Decoupling | +| [Interpreter](interpreter) | Behavioral | Gang of Four | +| [Iterator](iterator) | Behavioral | Gang of Four | +| [Layers](layers) | Architectural | Decoupling | +| [Lazy Loading](lazy-loading) | Idiom | Performance | +| [Leader Election](leader-election) | Behavioral | Cloud distributed | +| [Leader Followers](leader-followers) | Concurrency | Performance | +| [Lockable Object](lockable-object) | Concurrency | Performance | +| [Marker Interface](marker-interface) | Structural | Decoupling | +| [Master Worker](master-worker) | Concurrency | Performance | +| [Mediator](mediator) | Behavioral | Gang of Four, Decoupling | +| [Memento](memento) | Behavioral | Gang of Four | +| [Model View Controller](model-view-controller) | Architectural | Decoupling | +| [Model View Presenter](model-view-presenter) | Architectural | Decoupling | +| [Model View ViewModel](model-view-viewmodel) | Architectural | Decoupling | +| [Module](module) | Structural | Decoupling | +| [Monad](monad) | Functional | Reactive | +| [Monostate](monostate) | Creational | Instantiation | +| [Multiton](multiton) | Creational | Instantiation | +| [Mute Idiom](mute-idiom) | Idiom | Decoupling | +| [Naked Objects](naked-objects) | Architectural | Decoupling | +| [Null Object](null-object) | Behavioral | Extensibility | +| [Object Mother](object-mother) | Creational | Instantiation | +| [Object Pool](object-pool) | Creational | Performance, Game programming | +| [Observer](observer) | Behavioral | Gang of Four, Reactive | +| [Page Object](page-object) | Structural | Decoupling | +| [Parameter Object](parameter-object) | Behavioral | Extensibility | +| [Partial Response](partial-response) | Behavioral | Decoupling | +| [Pipeline](pipeline) | Behavioral | Decoupling | +| [Poison Pill](poison-pill) | Behavioral | Cloud distributed, Reactive | +| [Presentation Model](presentation-model) | Behavioral | Decoupling | +| [Priority Queue](priority-queue) | Behavioral | Decoupling | +| [Private Class Data](private-class-data) | Idiom | Data access | +| [Producer Consumer](producer-consumer) | Concurrency | Reactive | +| [Promise](promise) | Concurrency | Reactive | +| [Property](property) | Creational | Instantiation | +| [Prototype](prototype) | Creational | Gang of Four, Instantiation | +| [Proxy](proxy) | Structural | Gang of Four, Decoupling | +| [Queue Based Load Leveling](queue-based-load-leveling) | Concurrency | Performance, Decoupling | +| [Reactor](reactor) | Concurrency | Performance, Reactive | +| [Reader Writer Lock](reader-writer-lock) | Concurrency | Performance | +| [Registry](registry) | Creational | Instantiation | +| [Repository](repository) | Architectural | Data access | +| [Resource Acquisition Is Initialization](resource-acquisition-is-initialization) | Idiom | Data access | +| [Retry](retry) | Behavioral | Performance | +| [Role Object](role-object) | Structural | Extensibility | +| [Saga](saga) | Concurrency | Cloud distributed | +| [Semaphore](semaphore) | Concurrency | Performance | +| [Separated Interface](separated-interface) | Structural | Decoupling | +| [Servant](servant) | Behavioral | Decoupling | +| [Serverless](serverless) | Architectural | Cloud distributed | +| [Service Layer](service-layer) | Architectural | Data access | +| [Service Locator](service-locator) | Architectural | Performance, Game programming | +| [Sharding](sharding) | Behavioral | Performance, Cloud distributed | +| [Singleton](singleton) | Creational | Gang of Four | +| [Spatial Partition](spatial-partition) | Behavioral | Performance, Game programming | +| [Special Case](special-case) | Behavioral | Extensibility | +| [Specification](specification) | Behavioral | Data access | +| [State](state) | Behavioral | Gang of Four | +| [Step Builder](step-builder) | Creational | Instantiation | +| [Strangler](strangler) | Structural | Cloud distributed, Extensibility | +| [Strategy](strategy) | Behavioral | Gang of Four | +| [Subclass Sandbox](subclass-sandbox) | Behavioral | Game programming | +| [Table Module](table-module) | Structural | Data access | +| [Template Method](table-module) | Behavioral | Gang of Four | +| [Thread Pool](thread-pool) | Concurrency | Performance | +| [Throttling](throttling) | Behavioral | Performance | +| [Thread Local Storage](thread-local-storage) | Idiom | Performance | +| [Tolerant Reader](tolerant-reader) | Integration | Decoupling | +| [Trampoline](trampoline) | Behavioral | Performance | +| [Transaction Script](transaction-script) | Behavioral | Data access | +| [Twin](twin) | Structural | Extensibility | +| [Type Object](type-object) | Behavioral | Game programming, Extensibility | +| [Unit of Work](unit-of-work) | Architectural | Data access | +| [Update Method](update-method) | Behavioral | Game programming | +| [Value Object](value-object) | Creational | Instantiation | +| [Version Number](version-number) | Concurrency | Data access, Microservices | +| [Visitor](visitor) | Behavioral | Gang of Four | diff --git a/intercepting-filter/README.md b/intercepting-filter/README.md index 5514bb5bd..f5aef5d03 100644 --- a/intercepting-filter/README.md +++ b/intercepting-filter/README.md @@ -1,8 +1,5 @@ --- -layout: pattern title: Intercepting Filter -folder: intercepting-filter -permalink: /patterns/intercepting-filter/ categories: Behavioral language: en tags: diff --git a/interpreter/README.md b/interpreter/README.md index 92172c70c..61bf7501a 100644 --- a/interpreter/README.md +++ b/interpreter/README.md @@ -1,8 +1,5 @@ --- -layout: pattern title: Interpreter -folder: interpreter -permalink: /patterns/interpreter/ categories: Behavioral language: en tags: diff --git a/iterator/README.md b/iterator/README.md index 721b313f8..3f36d0070 100644 --- a/iterator/README.md +++ b/iterator/README.md @@ -1,8 +1,5 @@ --- -layout: pattern title: Iterator -folder: iterator -permalink: /patterns/iterator/ categories: Behavioral language: en tags: diff --git a/layers/README.md b/layers/README.md index 954a65923..9f87fc2f8 100644 --- a/layers/README.md +++ b/layers/README.md @@ -1,10 +1,6 @@ --- -layout: pattern title: Layers -folder: layers -permalink: /patterns/layers/ -pumlformat: svg -categories: Architectural +category: Architectural language: en tags: - Decoupling diff --git a/lazy-loading/README.md b/lazy-loading/README.md index 3145d61e6..63f8ea1b8 100644 --- a/lazy-loading/README.md +++ b/lazy-loading/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Lazy Loading -folder: lazy-loading -permalink: /patterns/lazy-loading/ -categories: Idiom +category: Idiom language: en tags: - Performance diff --git a/leader-election/README.md b/leader-election/README.md index 47f063ee5..d7cff88ec 100644 --- a/leader-election/README.md +++ b/leader-election/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Leader Election -folder: leader-election -permalink: /patterns/leader-election/ -categories: Behavioral +category: Behavioral language: en tags: - Cloud distributed diff --git a/leader-followers/README.md b/leader-followers/README.md index b7cce9e53..9266c9e86 100644 --- a/leader-followers/README.md +++ b/leader-followers/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Leader/Followers -folder: leader-followers -permalink: /patterns/leader-followers/ -categories: Concurrency +category: Concurrency language: en tags: - Performance diff --git a/localization/ko/adapter/README.md b/localization/ko/adapter/README.md index d295c25cd..31b9cdc80 100644 --- a/localization/ko/adapter/README.md +++ b/localization/ko/adapter/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Adapter -folder: adapter -permalink: /patterns/adapter/ko -categories: Structural +category: Structural language: ko tags: - Gang of Four @@ -96,7 +93,7 @@ captain.row(); ## 클레스 다이어그램 -![alt text](https://github.com/warp125/java-design-patterns/blob/master/adapter/etc/adapter.urm.png?raw=true) +![alt text](etc/adapter.urm.png) ## 적용 가능성 diff --git a/localization/ko/adapter/etc/adapter.urm.png b/localization/ko/adapter/etc/adapter.urm.png new file mode 100644 index 000000000..341ad6769 Binary files /dev/null and b/localization/ko/adapter/etc/adapter.urm.png differ diff --git a/localization/ko/factory/README.md b/localization/ko/factory/README.md index 8355f8e83..6b7ad4bdc 100644 --- a/localization/ko/factory/README.md +++ b/localization/ko/factory/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Factory -folder: factory -permalink: /patterns/factory/ko -categories: Creational +category: Creational language: ko tags: - Gang of Four @@ -107,7 +104,7 @@ This Ferrari. ## 클래스 다이어그램 -![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/factory/etc/factory.urm.png) +![alt text](etc/factory.urm.png) ## 적용 가능성 diff --git a/localization/ko/factory/etc/factory.urm.png b/localization/ko/factory/etc/factory.urm.png new file mode 100644 index 000000000..4b3420792 Binary files /dev/null and b/localization/ko/factory/etc/factory.urm.png differ diff --git a/localization/ko/observer/README.md b/localization/ko/observer/README.md index 8dd3d17f8..491a245c3 100644 --- a/localization/ko/observer/README.md +++ b/localization/ko/observer/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Observer -folder: observer -permalink: /patterns/observer/ko -categories: Behavioral +category: Behavioral language: ko tags: - Gang Of Four @@ -137,7 +134,7 @@ The hobbits are facing sunny weather now ## 클래스 다이어그램 -![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/observer/etc/observer.png) +![alt text](etc/observer.png) ## 적용 가능성 diff --git a/localization/ko/observer/etc/observer.png b/localization/ko/observer/etc/observer.png new file mode 100644 index 000000000..f2ab0edfe Binary files /dev/null and b/localization/ko/observer/etc/observer.png differ diff --git a/localization/ko/prototype/README.md b/localization/ko/prototype/README.md index f77586bcb..fab9f7417 100644 --- a/localization/ko/prototype/README.md +++ b/localization/ko/prototype/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Prototype -folder: prototype -permalink: /patterns/prototype/ko -categories: Creational +category: Creational language: ko tags: - Gang Of Four @@ -67,7 +64,7 @@ System.out.println(cloned.getName()); // Dolly ## 클래스 다이어그램 -![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/prototype/etc/prototype.urm.png) +![alt text](etc/prototype.urm.png) ## 적용 가능성 diff --git a/localization/ko/prototype/etc/prototype.urm.png b/localization/ko/prototype/etc/prototype.urm.png new file mode 100644 index 000000000..b23c6d1cf Binary files /dev/null and b/localization/ko/prototype/etc/prototype.urm.png differ diff --git a/localization/ko/singleton/README.md b/localization/ko/singleton/README.md index 954156c2f..834d93fc8 100644 --- a/localization/ko/singleton/README.md +++ b/localization/ko/singleton/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Singleton -folder: singleton -permalink: /patterns/singleton/ko -categories: Creational +category: Creational language: ko tags: - Gang of Four @@ -49,7 +46,7 @@ assertEquals(enumIvoryTower1, enumIvoryTower2); // true ## 클래스 다이어그램 -![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/singleton/etc/singleton.urm.png) +![alt text](etc/singleton.urm.png) ## 적용 가능성 diff --git a/localization/ko/singleton/etc/singleton.urm.png b/localization/ko/singleton/etc/singleton.urm.png new file mode 100644 index 000000000..46584af40 Binary files /dev/null and b/localization/ko/singleton/etc/singleton.urm.png differ diff --git a/localization/ko/strategy/README.md b/localization/ko/strategy/README.md index ef45765dd..74fdf3636 100644 --- a/localization/ko/strategy/README.md +++ b/localization/ko/strategy/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Strategy -folder: strategy -permalink: /patterns/strategy/ko -categories: Behavioral +category: Behavioral language: ko tags: - Gang of Four @@ -163,7 +160,7 @@ public class LambdaStrategy { ## 클래스 다이어그램 -![alt text](../../../strategy/etc/strategy_urm.png "Strategy") +![alt text](etc/strategy_urm.png "Strategy") ## 적용 가능성 diff --git a/localization/ko/strategy/etc/strategy_urm.png b/localization/ko/strategy/etc/strategy_urm.png new file mode 100644 index 000000000..67d19acae Binary files /dev/null and b/localization/ko/strategy/etc/strategy_urm.png differ diff --git a/localization/tr/singleton/README.md b/localization/tr/singleton/README.md index c5a769e93..ba690e58b 100644 --- a/localization/tr/singleton/README.md +++ b/localization/tr/singleton/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Singleton -folder: singleton -permalink: /patterns/singleton/tr -categories: Creational +category: Creational language: tr tags: - Gang of Four @@ -51,7 +48,7 @@ assertEquals(enumIvoryTower1, enumIvoryTower2); // true ## Sınıf diagramı -![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/singleton/etc/singleton.urm.png) +![alt text](etc/singleton.urm.png) ## Uygulanabilirlik diff --git a/localization/tr/singleton/etc/singleton.urm.png b/localization/tr/singleton/etc/singleton.urm.png new file mode 100644 index 000000000..46584af40 Binary files /dev/null and b/localization/tr/singleton/etc/singleton.urm.png differ diff --git a/localization/zh/abstract-document/README.md b/localization/zh/abstract-document/README.md index 5bcb5e1e2..195af9b55 100644 --- a/localization/zh/abstract-document/README.md +++ b/localization/zh/abstract-document/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Abstract Document -folder: abstract-document -permalink: /patterns/abstract-document/ -categories: Structural +category: Structural language: zh tags: - Extensibility @@ -166,7 +163,7 @@ public class Car extends AbstractDocument implements HasModel, HasPrice, HasPart ## 类图 -![alt text](../../../abstract-document/etc/abstract-document.png "Abstract Document Traits and Domain") +![alt text](etc/abstract-document.png "Abstract Document Traits and Domain") ## 适用性 diff --git a/localization/zh/abstract-document/etc/abstract-document.png b/localization/zh/abstract-document/etc/abstract-document.png new file mode 100644 index 000000000..6bc0b29a4 Binary files /dev/null and b/localization/zh/abstract-document/etc/abstract-document.png differ diff --git a/localization/zh/abstract-factory/README.md b/localization/zh/abstract-factory/README.md index 0b2b109e4..64e86752d 100644 --- a/localization/zh/abstract-factory/README.md +++ b/localization/zh/abstract-factory/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Abstract Factory -folder: abstract-factory -permalink: /patterns/abstract-factory/ -categories: Creational +category: Creational language: zh tags: - Gang of Four @@ -168,7 +165,7 @@ public static void main(String[] args) { ## 类图 -![alt text](../../../abstract-factory/etc/abstract-factory.urm.png "Abstract Factory class diagram") +![alt text](etc/abstract-factory.urm.png "Abstract Factory class diagram") ## 适用性 diff --git a/localization/zh/abstract-factory/etc/abstract-factory.urm.png b/localization/zh/abstract-factory/etc/abstract-factory.urm.png new file mode 100644 index 000000000..836858a2c Binary files /dev/null and b/localization/zh/abstract-factory/etc/abstract-factory.urm.png differ diff --git a/localization/zh/active-object/README.md b/localization/zh/active-object/README.md index 301e27c1f..0393995d1 100644 --- a/localization/zh/active-object/README.md +++ b/localization/zh/active-object/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Active Object -folder: active-object -permalink: /patterns/active-object/ -categories: Concurrency +category: Concurrency language: zh tags: - Performance @@ -122,4 +119,4 @@ public class Orc extends ActiveCreature { ## 类图 -![alt text](../../../active-object/etc/active-object.urm.png "Active Object class diagram") +![alt text](etc/active-object.urm.png "Active Object class diagram") diff --git a/localization/zh/active-object/etc/active-object.urm.png b/localization/zh/active-object/etc/active-object.urm.png new file mode 100644 index 000000000..c14f66144 Binary files /dev/null and b/localization/zh/active-object/etc/active-object.urm.png differ diff --git a/localization/zh/acyclic-visitor/README.md b/localization/zh/acyclic-visitor/README.md index 965dc7a67..04f534452 100644 --- a/localization/zh/acyclic-visitor/README.md +++ b/localization/zh/acyclic-visitor/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Acyclic Visitor -folder: acyclic-visitor -permalink: /patterns/acyclic-visitor/ -categories: Behavioral +category: Behavioral language: zh tags: - Extensibility @@ -123,7 +120,7 @@ public class ConfigureForUnixVisitor implements ZoomVisitor { ## 类图 -![alt text](../../../acyclic-visitor/etc/acyclic-visitor.png "Acyclic Visitor") +![alt text](etc/acyclic-visitor.png "Acyclic Visitor") ## 适用性 diff --git a/localization/zh/acyclic-visitor/etc/acyclic-visitor.png b/localization/zh/acyclic-visitor/etc/acyclic-visitor.png new file mode 100644 index 000000000..7b4df13d8 Binary files /dev/null and b/localization/zh/acyclic-visitor/etc/acyclic-visitor.png differ diff --git a/localization/zh/adapter/README.md b/localization/zh/adapter/README.md index 6add248fe..f3061537f 100644 --- a/localization/zh/adapter/README.md +++ b/localization/zh/adapter/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Adapter -folder: adapter -permalink: /patterns/adapter/ -categories: Structural +category: Structural language: zh tags: - Gang of Four @@ -94,7 +91,7 @@ captain.row(); ``` ## 类图 -![alt text](../../../adapter/etc/adapter.urm.png "Adapter class diagram") +![alt text](etc/adapter.urm.png "Adapter class diagram") ## 应用 diff --git a/localization/zh/adapter/etc/adapter.urm.png b/localization/zh/adapter/etc/adapter.urm.png new file mode 100644 index 000000000..341ad6769 Binary files /dev/null and b/localization/zh/adapter/etc/adapter.urm.png differ diff --git a/localization/zh/aggregator-microservices/README.md b/localization/zh/aggregator-microservices/README.md index dbca273c1..2d6b722b0 100644 --- a/localization/zh/aggregator-microservices/README.md +++ b/localization/zh/aggregator-microservices/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Aggregator Microservices -folder: aggregator-microservices -permalink: /patterns/aggregator-microservices/ -categories: Architectural +category: Architectural language: zh tags: - Cloud distributed @@ -95,7 +92,7 @@ curl http://localhost:50004/product ## 类图 -![alt text](../../../aggregator-microservices/aggregator-service/etc/aggregator-service.png "Aggregator Microservice") +![alt text](etc/aggregator-service.png "Aggregator Microservice") ## 适用性 diff --git a/localization/zh/aggregator-microservices/etc/aggregator-service.png b/localization/zh/aggregator-microservices/etc/aggregator-service.png new file mode 100644 index 000000000..75ee82328 Binary files /dev/null and b/localization/zh/aggregator-microservices/etc/aggregator-service.png differ diff --git a/localization/zh/ambassador/README.md b/localization/zh/ambassador/README.md index 7b07e7b05..6873f19f3 100644 --- a/localization/zh/ambassador/README.md +++ b/localization/zh/ambassador/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Ambassador -folder: ambassador -permalink: /patterns/ambassador/ -categories: Structural +category: Structural language: zh tags: - Decoupling @@ -167,7 +164,7 @@ Service result: -1 ## 类图 -![alt text](../../../ambassador/etc/ambassador.urm.png "Ambassador class diagram") +![alt text](etc/ambassador.urm.png "Ambassador class diagram") ## 适用性 diff --git a/localization/zh/ambassador/etc/ambassador.urm.png b/localization/zh/ambassador/etc/ambassador.urm.png new file mode 100644 index 000000000..9b50a02ad Binary files /dev/null and b/localization/zh/ambassador/etc/ambassador.urm.png differ diff --git a/localization/zh/api-gateway/README.md b/localization/zh/api-gateway/README.md index 2ce28b0d2..645073717 100644 --- a/localization/zh/api-gateway/README.md +++ b/localization/zh/api-gateway/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: API Gateway -folder: api-gateway -permalink: /patterns/api-gateway/ -categories: Architectural +category: Architectural language: zh tags: - Cloud distributed @@ -123,7 +120,7 @@ public class ApiGateway { ``` ## 类图 -![alt text](../../../api-gateway/etc/api-gateway.png "API Gateway") +![alt text](etc/api-gateway.png "API Gateway") ## 适用性 diff --git a/localization/zh/api-gateway/etc/api-gateway.png b/localization/zh/api-gateway/etc/api-gateway.png new file mode 100644 index 000000000..bb3ec2e2e Binary files /dev/null and b/localization/zh/api-gateway/etc/api-gateway.png differ diff --git a/localization/zh/arrange-act-assert/README.md b/localization/zh/arrange-act-assert/README.md index b4b411206..584ac81c4 100644 --- a/localization/zh/arrange-act-assert/README.md +++ b/localization/zh/arrange-act-assert/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Arrange/Act/Assert -folder: arrange-act-assert -permalink: /patterns/arrange-act-assert/ -categories: Idiom +category: Idiom language: zh tags: - Testing diff --git a/localization/zh/async-method-invocation/README.md b/localization/zh/async-method-invocation/README.md index f5739c1e9..bc05105b0 100644 --- a/localization/zh/async-method-invocation/README.md +++ b/localization/zh/async-method-invocation/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Async Method Invocation -folder: async-method-invocation -permalink: /patterns/async-method-invocation/ -categories: Concurrency +category: Concurrency language: zh tags: - Reactive @@ -142,7 +139,7 @@ public static void main(String[] args) throws Exception { # 类图 -![alt text](../../../async-method-invocation/etc/async-method-invocation.png "Async Method Invocation") +![alt text](etc/async-method-invocation.png "Async Method Invocation") ## 适用性 diff --git a/localization/zh/async-method-invocation/etc/async-method-invocation.png b/localization/zh/async-method-invocation/etc/async-method-invocation.png new file mode 100644 index 000000000..764895d7a Binary files /dev/null and b/localization/zh/async-method-invocation/etc/async-method-invocation.png differ diff --git a/localization/zh/balking/README.md b/localization/zh/balking/README.md index ef1b12e3f..8da81127f 100644 --- a/localization/zh/balking/README.md +++ b/localization/zh/balking/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Balking -folder: balking -permalink: /patterns/balking/ -categories: Concurrency +category: Concurrency language: zh tags: - Decoupling @@ -111,7 +108,7 @@ public interface DelayProvider { ## 类图 -![alt text](../../../balking/etc/balking.png "Balking") +![alt text](etc/balking.png "Balking") ## 适用性 diff --git a/localization/zh/balking/etc/balking.png b/localization/zh/balking/etc/balking.png new file mode 100644 index 000000000..f409eaacb Binary files /dev/null and b/localization/zh/balking/etc/balking.png differ diff --git a/localization/zh/bridge/README.md b/localization/zh/bridge/README.md index b1b770781..0025fe86c 100644 --- a/localization/zh/bridge/README.md +++ b/localization/zh/bridge/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Bridge -folder: bridge -permalink: /patterns/bridge/ -categories: Structural +category: Structural language: zh tags: - Gang of Four @@ -184,7 +181,7 @@ hammer.unwield(); ## 类图 -![alt text](../../../bridge/etc/bridge.urm.png "Bridge class diagram") +![alt text](etc/bridge.urm.png "Bridge class diagram") ## 适用性 diff --git a/localization/zh/bridge/etc/bridge.urm.png b/localization/zh/bridge/etc/bridge.urm.png new file mode 100644 index 000000000..785585bf8 Binary files /dev/null and b/localization/zh/bridge/etc/bridge.urm.png differ diff --git a/localization/zh/builder/README.md b/localization/zh/builder/README.md index 953a2a5ad..f0a8d387f 100644 --- a/localization/zh/builder/README.md +++ b/localization/zh/builder/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Builder -folder: builder -permalink: /patterns/builder/ -categories: Creational +category: Creational language: zh tags: - Gang of Four @@ -114,7 +111,7 @@ var mage = new Hero.Builder(Profession.MAGE, "Riobard").withHairColor(HairColor. ## 类图 -![alt text](../../../builder/etc/builder.urm.png "Builder class diagram") +![alt text](etc/builder.urm.png "Builder class diagram") ## 适用性 diff --git a/localization/zh/builder/etc/builder.urm.png b/localization/zh/builder/etc/builder.urm.png new file mode 100644 index 000000000..d77808d36 Binary files /dev/null and b/localization/zh/builder/etc/builder.urm.png differ diff --git a/localization/zh/business-delegate/README.md b/localization/zh/business-delegate/README.md index bef906987..e813ab92c 100644 --- a/localization/zh/business-delegate/README.md +++ b/localization/zh/business-delegate/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Business Delegate -folder: business-delegate -permalink: /patterns/business-delegate/ -categories: Structural +category: Structural language: zh tags: - Decoupling @@ -132,7 +129,7 @@ public class MobileClient { ## 类图 -![alt text](../../../business-delegate/etc/business-delegate.urm.png "Business Delegate") +![alt text](etc/business-delegate.urm.png "Business Delegate") ## 相关模式 diff --git a/localization/zh/business-delegate/etc/business-delegate.urm.png b/localization/zh/business-delegate/etc/business-delegate.urm.png new file mode 100644 index 000000000..4dca6c263 Binary files /dev/null and b/localization/zh/business-delegate/etc/business-delegate.urm.png differ diff --git a/localization/zh/bytecode/README.md b/localization/zh/bytecode/README.md index 4a280deaa..d6c355c3e 100644 --- a/localization/zh/bytecode/README.md +++ b/localization/zh/bytecode/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Bytecode -folder: bytecode -permalink: /patterns/bytecode/ -categories: Behavioral +category: Behavioral language: zh tags: - Game programming @@ -214,7 +211,7 @@ public class VirtualMachine { ## 类图 -![alt text](../../../bytecode/etc/bytecode.urm.png "Bytecode class diagram") +![alt text](etc/bytecode.urm.png "Bytecode class diagram") ## 适用性 diff --git a/localization/zh/bytecode/etc/bytecode.urm.png b/localization/zh/bytecode/etc/bytecode.urm.png new file mode 100644 index 000000000..51335fa0a Binary files /dev/null and b/localization/zh/bytecode/etc/bytecode.urm.png differ diff --git a/localization/zh/caching/README.md b/localization/zh/caching/README.md index aa2c61941..651eb4337 100644 --- a/localization/zh/caching/README.md +++ b/localization/zh/caching/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Caching -folder: caching -permalink: /patterns/caching/ -categories: Behavioral +category: Behavioral language: zh tags: - Performance @@ -14,7 +11,7 @@ tags: 为了避免昂贵的资源重新获取,方法是在资源使用后不立即释放资源。资源保留其身份,保留在某些快速访问的存储中,并被重新使用,以避免再次获取它们。 ## 类图 -![alt text](../../../caching/etc/caching.png "Caching") +![alt text](etc/caching.png "Caching") ## 适用性 在以下情况下使用缓存模式 diff --git a/localization/zh/caching/etc/caching.png b/localization/zh/caching/etc/caching.png new file mode 100644 index 000000000..b6ed703ab Binary files /dev/null and b/localization/zh/caching/etc/caching.png differ diff --git a/localization/zh/callback/README.md b/localization/zh/callback/README.md index 9665355fb..03f1a139b 100644 --- a/localization/zh/callback/README.md +++ b/localization/zh/callback/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Callback -folder: callback -permalink: /patterns/callback/ -categories: Idiom +category: Idiom language: zh tags: - Reactive @@ -69,7 +66,7 @@ public final class SimpleTask extends Task { task.executeWith(() -> LOGGER.info("I'm done now.")); ``` ## 类图 -![alt text](../../../callback/etc/callback.png "Callback") +![alt text](etc/callback.png "Callback") ## 适用性 使用回调模式当 diff --git a/localization/zh/callback/etc/callback.png b/localization/zh/callback/etc/callback.png new file mode 100644 index 000000000..7b499f79f Binary files /dev/null and b/localization/zh/callback/etc/callback.png differ diff --git a/localization/zh/chain/README.md b/localization/zh/chain/README.md index b4034d32c..a23318120 100644 --- a/localization/zh/chain/README.md +++ b/localization/zh/chain/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Chain of responsibility -folder: chain -permalink: /patterns/chain/ -categories: Behavioral +category: Behavioral language: zh tags: - Gang of Four @@ -139,7 +136,7 @@ king.makeRequest(new Request(RequestType.COLLECT_TAX, "collect tax")); // Orc so ``` ## 类图 -![alt text](../../../chain-of-responsibility/etc/chain-of-responsibility.urm.png "Chain of Responsibility class diagram") +![alt text](etc/chain-of-responsibility.urm.png "Chain of Responsibility class diagram") ## 适用性 使用责任链模式当 diff --git a/localization/zh/chain/etc/chain-of-responsibility.urm.png b/localization/zh/chain/etc/chain-of-responsibility.urm.png new file mode 100644 index 000000000..c3a4c80ba Binary files /dev/null and b/localization/zh/chain/etc/chain-of-responsibility.urm.png differ diff --git a/localization/zh/circuit-breaker/README.md b/localization/zh/circuit-breaker/README.md index e42d3940c..d127994d5 100644 --- a/localization/zh/circuit-breaker/README.md +++ b/localization/zh/circuit-breaker/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Circuit Breaker -folder: circuit-breaker -permalink: /patterns/circuit-breaker/ -categories: Behavioral +category: Behavioral language: zh tags: - Performance @@ -40,7 +37,7 @@ remote calls. 服务架构如下: -![alt text](../../../circuit-breaker/etc/ServiceDiagram.png "Service Diagram") +![alt text](etc/ServiceDiagram.png "Service Diagram") 在代码方面,最终用户应用程序是: @@ -281,7 +278,7 @@ public class DefaultCircuitBreaker implements CircuitBreaker { 上述模式如何防止失败? 让我们通过它实现的这个有限状态机来理解。 -![alt text](../../../circuit-breaker/etc/StateDiagram.png "State Diagram") +![alt text](etc/StateDiagram.png "State Diagram") - 我们使用某些参数初始化断路器对象:`timeout`、`failureThreshold` 和 `retryTimePeriod`,这有助于确定 API 的弹性。 - 最初,我们处于“关闭”状态,没有发生对 API 的远程调用。 @@ -291,7 +288,7 @@ public class DefaultCircuitBreaker implements CircuitBreaker { ## 类图 -![alt text](../../../circuit-breaker/etc/circuit-breaker.urm.png "Circuit Breaker class diagram") +![alt text](etc/circuit-breaker.urm.png "Circuit Breaker class diagram") ## 适用性 diff --git a/localization/zh/circuit-breaker/etc/ServiceDiagram.png b/localization/zh/circuit-breaker/etc/ServiceDiagram.png new file mode 100644 index 000000000..e69de29bb diff --git a/localization/zh/circuit-breaker/etc/StateDiagram.png b/localization/zh/circuit-breaker/etc/StateDiagram.png new file mode 100644 index 000000000..e69de29bb diff --git a/localization/zh/circuit-breaker/etc/circuit-breaker.urm.png b/localization/zh/circuit-breaker/etc/circuit-breaker.urm.png new file mode 100644 index 000000000..fc90318ec Binary files /dev/null and b/localization/zh/circuit-breaker/etc/circuit-breaker.urm.png differ diff --git a/localization/zh/cloud-static-content-hosting/README.md b/localization/zh/cloud-static-content-hosting/README.md index 74bd385e0..f88f7bf3d 100644 --- a/localization/zh/cloud-static-content-hosting/README.md +++ b/localization/zh/cloud-static-content-hosting/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Static Content Hosting -folder: cloud-static-content-hosting -permalink: /patterns/cloud-static-content-hosting/ -categories: Cloud +category: Cloud language: zh tags: - Cloud distributed @@ -30,7 +27,7 @@ tags: **示例** -![alt text](../../../cloud-static-content-hosting/etc/static-content-hosting.png "Static Content Hosting") +![alt text](etc/static-content-hosting.png "Static Content Hosting") 在这个例子中我们使用AWS S3创建一个静态网站,并利用 AWS Cloudfront 在全球范围内分发内容。 diff --git a/localization/zh/cloud-static-content-hosting/etc/static-content-hosting.png b/localization/zh/cloud-static-content-hosting/etc/static-content-hosting.png new file mode 100644 index 000000000..6e0baa95e Binary files /dev/null and b/localization/zh/cloud-static-content-hosting/etc/static-content-hosting.png differ diff --git a/localization/zh/collection-pipeline/README.md b/localization/zh/collection-pipeline/README.md index 9077deae6..5acc734d3 100644 --- a/localization/zh/collection-pipeline/README.md +++ b/localization/zh/collection-pipeline/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Collection Pipeline -folder: collection-pipeline -permalink: /patterns/collection-pipeline/ -categories: Functional +category: Functional language: zh tags: - Reactive @@ -14,7 +11,7 @@ tags: 在函数式编程中,可以通过一系列较小的模块化函数或操作来编排复杂的操作。这一系列函数被称为函数组合。当一个数据集合流经一个函数组合时,它就成为一个集合管道。函数组合和集合管道是函数式编程中经常使用的两种设计模式。 ## 类图 -![alt text](../../../collection-pipeline/etc/collection-pipeline.png "Collection Pipeline") +![alt text](etc/collection-pipeline.png "Collection Pipeline") ## 适用场景 在以下场景适用集合管道模式: diff --git a/localization/zh/collection-pipeline/etc/collection-pipeline.png b/localization/zh/collection-pipeline/etc/collection-pipeline.png new file mode 100644 index 000000000..67d52629c Binary files /dev/null and b/localization/zh/collection-pipeline/etc/collection-pipeline.png differ diff --git a/localization/zh/command/README.md b/localization/zh/command/README.md index a26533931..34f2f8403 100644 --- a/localization/zh/command/README.md +++ b/localization/zh/command/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Command -folder: command -permalink: /patterns/command/ -categories: Behavioral +category: Behavioral language: zh tags: - Gang of Four @@ -222,7 +219,7 @@ goblin.printStatus(); ``` ## 类图 -![alt text](../../../command/etc/command.png "Command") +![alt text](etc/command.png "Command") ## 适用性 使用命令模式当你想 diff --git a/localization/zh/command/etc/command.png b/localization/zh/command/etc/command.png new file mode 100644 index 000000000..0f026464e Binary files /dev/null and b/localization/zh/command/etc/command.png differ diff --git a/localization/zh/composite-entity/README.md b/localization/zh/composite-entity/README.md index d15b64e39..e938047cd 100644 --- a/localization/zh/composite-entity/README.md +++ b/localization/zh/composite-entity/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Composite Entity -folder: composite-entity -permalink: /patterns/composite-entity/ -categories: Structural +category: Structural language: zh tags: - Enterprise Integration Pattern @@ -110,7 +107,7 @@ Arrays.stream(console.getData()).forEach(LOGGER::info); ## 类图 -![alt text](../../../composite-entity/etc/composite_entity.urm.png "Composite Entity Pattern") +![alt text](etc/composite_entity.urm.png "Composite Entity Pattern") ## 适用场景 diff --git a/localization/zh/composite-entity/etc/composite_entity.urm.png b/localization/zh/composite-entity/etc/composite_entity.urm.png new file mode 100644 index 000000000..d6c29a718 Binary files /dev/null and b/localization/zh/composite-entity/etc/composite_entity.urm.png differ diff --git a/localization/zh/composite/README.md b/localization/zh/composite/README.md index 4cfd29cb0..9180c9303 100644 --- a/localization/zh/composite/README.md +++ b/localization/zh/composite/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Composite -folder: composite -permalink: /patterns/composite/ -categories: Structural +category: Structural language: zh tags: - Gang of Four @@ -154,7 +151,7 @@ elfMessage.print(); // Much wind pours from your mouth. ## 类图 -![alt text](../../../composite/etc/composite.urm.png "Composite class diagram") +![alt text](etc/composite.urm.png "Composite class diagram") ## 适用性 diff --git a/localization/zh/composite/etc/composite.urm.png b/localization/zh/composite/etc/composite.urm.png new file mode 100644 index 000000000..93c160f64 Binary files /dev/null and b/localization/zh/composite/etc/composite.urm.png differ diff --git a/localization/zh/converter/README.md b/localization/zh/converter/README.md index 1b8af5912..4d3815af0 100644 --- a/localization/zh/converter/README.md +++ b/localization/zh/converter/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Converter -folder: converter -permalink: /patterns/converter/ -categories: Creational +category: Creational language: zh tags: - Decoupling @@ -86,7 +83,7 @@ var user = userConverter.convertFromDto(dtoUser); ## 类图 -![alt text](../../../converter/etc/converter.png "Converter Pattern") +![alt text](etc/converter.png "Converter Pattern") ## 适用性 diff --git a/localization/zh/converter/etc/converter.png b/localization/zh/converter/etc/converter.png new file mode 100644 index 000000000..01435ef5a Binary files /dev/null and b/localization/zh/converter/etc/converter.png differ diff --git a/localization/zh/dao/README.md b/localization/zh/dao/README.md index c7e4614b6..f660d1b28 100644 --- a/localization/zh/dao/README.md +++ b/localization/zh/dao/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Data Access Object -folder: dao -permalink: /patterns/dao/ -categories: Architectural +category: Architectural language: zh tags: - Data access @@ -149,7 +146,7 @@ customerDao.getAllCustomers(): java.util.stream.ReferencePipeline$Head@6ec8211c ## 类图 -![alt text](../../../dao/etc/dao.png "Data Access Object") +![alt text](etc/dao.png "Data Access Object") ## 适用性 diff --git a/localization/zh/dao/etc/dao.png b/localization/zh/dao/etc/dao.png new file mode 100644 index 000000000..452e72ba1 Binary files /dev/null and b/localization/zh/dao/etc/dao.png differ diff --git a/localization/zh/data-bus/README.md b/localization/zh/data-bus/README.md index d2fa730e7..9e5a10711 100644 --- a/localization/zh/data-bus/README.md +++ b/localization/zh/data-bus/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Data Bus -folder: data-bus -permalink: /patterns/data-bus/ -categories: Architectural +category: Architectural language: zh tags: - Decoupling @@ -14,7 +11,7 @@ tags: 数据总线模式(译者:实际上,就是 Event-Bus 消息总线模式)允许在一个应用程序的组件之间收发消息/事件,而不需要这些组件相互感知,它们只需要知道所发送/接收的消息/事件的类型即可。 ## 类图 -![data bus pattern uml diagram](../../../data-bus/etc/data-bus.urm.png "Data Bus pattern") +![data bus pattern uml diagram](etc/data-bus.urm.png "Data Bus pattern") ## 适用场景 可以在以下场景使用数据总线模式: diff --git a/localization/zh/data-bus/etc/data-bus.urm.png b/localization/zh/data-bus/etc/data-bus.urm.png new file mode 100644 index 000000000..8bd214817 Binary files /dev/null and b/localization/zh/data-bus/etc/data-bus.urm.png differ diff --git a/localization/zh/data-mapper/README.md b/localization/zh/data-mapper/README.md index a2c9ef188..fa9230d5a 100644 --- a/localization/zh/data-mapper/README.md +++ b/localization/zh/data-mapper/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Data Mapper -folder: data-mapper -permalink: /patterns/data-mapper/ -categories: Architectural +category: Architectural language: zh tags: - Decoupling @@ -13,7 +10,7 @@ tags: 一个用于在持久化对象和数据库之间传输数据的映射器,同时保持它们之间和映射器本身的独立性。 ## 类图 -![alt text](../../../data-mapper/etc/data-mapper.png "Data Mapper") +![alt text](etc/data-mapper.png "Data Mapper") ## 适用场景 数据映射器适用于以下场景: diff --git a/localization/zh/data-mapper/etc/data-mapper.png b/localization/zh/data-mapper/etc/data-mapper.png new file mode 100644 index 000000000..bcda8054a Binary files /dev/null and b/localization/zh/data-mapper/etc/data-mapper.png differ diff --git a/localization/zh/data-transfer-object/README.md b/localization/zh/data-transfer-object/README.md index c9e938fde..d10b04e74 100644 --- a/localization/zh/data-transfer-object/README.md +++ b/localization/zh/data-transfer-object/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Data Transfer Object -folder: data-transfer-object -permalink: /patterns/data-transfer-object/ -categories: Architectural +category: Architectural language: zh tags: - Performance @@ -94,7 +91,7 @@ public class CustomerResource { ## 类图 -![alt text](../../../data-transfer-object/etc/data-transfer-object.urm.png "data-transfer-object") +![alt text](etc/data-transfer-object.urm.png "data-transfer-object") ## 适用性 diff --git a/localization/zh/data-transfer-object/etc/data-transfer-object.urm.png b/localization/zh/data-transfer-object/etc/data-transfer-object.urm.png new file mode 100644 index 000000000..46facff8d Binary files /dev/null and b/localization/zh/data-transfer-object/etc/data-transfer-object.urm.png differ diff --git a/localization/zh/decorator/README.md b/localization/zh/decorator/README.md index dcb1ca8fe..108c52281 100644 --- a/localization/zh/decorator/README.md +++ b/localization/zh/decorator/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Decorator -folder: decorator -permalink: /patterns/decorator/ -categories: Structural +category: Structural language: zh tags: - Gang Of Four @@ -106,7 +103,7 @@ clubbedTroll.fleeBattle(); // The troll shrieks in horror and runs away! ``` ## 类图 -![alt text](../../../decorator/etc/decorator.urm.png "Decorator pattern class diagram") +![alt text](etc/decorator.urm.png "Decorator pattern class diagram") ## 适用性 使用装饰者 diff --git a/localization/zh/decorator/etc/decorator.urm.png b/localization/zh/decorator/etc/decorator.urm.png new file mode 100644 index 000000000..141c0563f Binary files /dev/null and b/localization/zh/decorator/etc/decorator.urm.png differ diff --git a/localization/zh/delegation/README.md b/localization/zh/delegation/README.md index 40fb62024..de706a430 100644 --- a/localization/zh/delegation/README.md +++ b/localization/zh/delegation/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Delegation -folder: delegation -permalink: /patterns/delegation/ -categories: Structural +category: Structural language: zh tags: - Decoupling @@ -16,7 +13,7 @@ tags: 它是一种让对象将某种行为向外部表达,但实际上将实现该行为的责任委托给关联对象的技术。 ## 类图 -![alt text](../../../delegation/etc/delegation.png "Delegate") +![alt text](etc/delegation.png "Delegate") ## 适用性 使用委托模式以实现以下目的 diff --git a/localization/zh/delegation/etc/delegation.png b/localization/zh/delegation/etc/delegation.png new file mode 100644 index 000000000..375ef4d6b Binary files /dev/null and b/localization/zh/delegation/etc/delegation.png differ diff --git a/localization/zh/dependency-injection/README.md b/localization/zh/dependency-injection/README.md index 16262fa86..4f6a75593 100644 --- a/localization/zh/dependency-injection/README.md +++ b/localization/zh/dependency-injection/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Dependency Injection -folder: dependency-injection -permalink: /patterns/dependency-injection/ -categories: Creational +category: Creational language: zh tags: - Decoupling @@ -84,7 +81,7 @@ public class AdvancedWizard implements Wizard { ## 类图 -![alt text](../../../dependency-injection/etc/dependency-injection.png "Dependency Injection") +![alt text](etc/dependency-injection.png "Dependency Injection") ## 适用性 diff --git a/localization/zh/dependency-injection/etc/dependency-injection.png b/localization/zh/dependency-injection/etc/dependency-injection.png new file mode 100644 index 000000000..2a92c9eb2 Binary files /dev/null and b/localization/zh/dependency-injection/etc/dependency-injection.png differ diff --git a/localization/zh/dirty-flag/README.md b/localization/zh/dirty-flag/README.md index 12bd1c067..0fef00308 100644 --- a/localization/zh/dirty-flag/README.md +++ b/localization/zh/dirty-flag/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Dirty Flag -folder: dirty-flag -permalink: /patterns/dirty-flag/ -categories: Behavioral +category: Behavioral language: zh tags: - Game programming @@ -17,7 +14,7 @@ tags: 避免昂贵资源的重新获取。资源保留其身份,保留在某些快速访问的存储中,并被重新使用以避免再次获取它们。 ## 类图 -![alt text](../../../dirty-flag/etc/dirty-flag.png "Dirty Flag") +![alt text](etc/dirty-flag.png "Dirty Flag") ## 适用性 在以下情况下使用脏标志模式 diff --git a/localization/zh/dirty-flag/etc/dirty-flag.png b/localization/zh/dirty-flag/etc/dirty-flag.png new file mode 100644 index 000000000..98d4f679d Binary files /dev/null and b/localization/zh/dirty-flag/etc/dirty-flag.png differ diff --git a/localization/zh/double-checked-locking/README.md b/localization/zh/double-checked-locking/README.md index 8a989b9f5..f2adef220 100644 --- a/localization/zh/double-checked-locking/README.md +++ b/localization/zh/double-checked-locking/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Double Checked Locking -folder: double-checked-locking -permalink: /patterns/double-checked-locking/ -categories: Idiom +category: Idiom language: zh tags: - Performance @@ -13,7 +10,7 @@ tags: 通过先测试锁定标准("锁提示")而不实际获取锁的方式来减少获取锁的开销。只有当锁定标准检查表明需要锁定时,才进行实际的锁定逻辑。 ## 类图 -![alt text](../../../double-checked-locking/etc/double_checked_locking_1.png "Double Checked Locking") +![alt text](etc/double_checked_locking_1.png "Double Checked Locking") ## 适用场景 在以下场景适合使用双重锁检查模式: diff --git a/localization/zh/double-checked-locking/etc/double_checked_locking_1.png b/localization/zh/double-checked-locking/etc/double_checked_locking_1.png new file mode 100644 index 000000000..cced091b9 Binary files /dev/null and b/localization/zh/double-checked-locking/etc/double_checked_locking_1.png differ diff --git a/localization/zh/facade/README.md b/localization/zh/facade/README.md index b49a7abd9..c659b8f66 100644 --- a/localization/zh/facade/README.md +++ b/localization/zh/facade/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Facade -folder: facade -permalink: /patterns/facade/ -categories: Structural +category: Structural language: zh tags: - Gang Of Four @@ -189,7 +186,7 @@ facade.endDay(); ``` ## 类图 -![alt text](../../../facade/etc/facade.urm.png "Facade pattern class diagram") +![alt text](etc/facade.urm.png "Facade pattern class diagram") ## 适用性 使用外观模式当 diff --git a/localization/zh/facade/etc/facade.urm.png b/localization/zh/facade/etc/facade.urm.png new file mode 100644 index 000000000..8e3ec7aca Binary files /dev/null and b/localization/zh/facade/etc/facade.urm.png differ diff --git a/localization/zh/factory-kit/README.md b/localization/zh/factory-kit/README.md index c5c7a9884..aef19d9a7 100644 --- a/localization/zh/factory-kit/README.md +++ b/localization/zh/factory-kit/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Factory Kit -folder: factory-kit -permalink: /patterns/factory-kit/ -categories: Creational +category: Creational language: zh tags: - Extensibility @@ -13,7 +10,7 @@ tags: 使用分离的构建器和工厂接口来定义一个不可变内容的工厂。 ## 类图 -![alt text](../../../factory-kit/etc/factory-kit.png "Factory Kit") +![alt text](etc/factory-kit.png "Factory Kit") ## 适用场景 工厂套件模式适用于与以下场景: diff --git a/localization/zh/factory-kit/etc/factory-kit.png b/localization/zh/factory-kit/etc/factory-kit.png new file mode 100644 index 000000000..7093193cb Binary files /dev/null and b/localization/zh/factory-kit/etc/factory-kit.png differ diff --git a/localization/zh/factory-method/README.md b/localization/zh/factory-method/README.md index 123721ba1..81ef18457 100644 --- a/localization/zh/factory-method/README.md +++ b/localization/zh/factory-method/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Factory Method -folder: factory-method -permalink: /patterns/factory-method/ -categories: Creational +category: Creational language: zh tags: - Extensibility @@ -63,7 +60,7 @@ blacksmith.manufactureWeapon(WeaponType.AXE); ``` ## 类图 -![alt text](../../../factory-method/etc/factory-method.urm.png "Factory Method pattern class diagram") +![alt text](etc/factory-method.urm.png "Factory Method pattern class diagram") ## 适用性 使用工厂方法模式当 diff --git a/localization/zh/factory-method/etc/factory-method.urm.png b/localization/zh/factory-method/etc/factory-method.urm.png new file mode 100644 index 000000000..7c97aff91 Binary files /dev/null and b/localization/zh/factory-method/etc/factory-method.urm.png differ diff --git a/localization/zh/factory/README.md b/localization/zh/factory/README.md index 19985c6f7..ec0c3a341 100644 --- a/localization/zh/factory/README.md +++ b/localization/zh/factory/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Factory -folder: factory -permalink: /patterns/factory/ -categories: Creational +category: Creational language: zh tags: - Gang of Four @@ -109,7 +106,7 @@ This is Ferrari. ## 类图 -![alt text](../../../factory/etc/factory.urm.png "Factory pattern class diagram") +![alt text](etc/factory.urm.png "Factory pattern class diagram") ## 适用场景 diff --git a/localization/zh/factory/etc/factory.urm.png b/localization/zh/factory/etc/factory.urm.png new file mode 100644 index 000000000..4b3420792 Binary files /dev/null and b/localization/zh/factory/etc/factory.urm.png differ diff --git a/localization/zh/index.md b/localization/zh/index.md new file mode 100644 index 000000000..d4f8141e4 --- /dev/null +++ b/localization/zh/index.md @@ -0,0 +1,52 @@ +| Pattern | Category | Tags | +| :--- | :--- | :--- | +| [Abstract Document](abstract-document) | Structural | Extensibility | +| [Abstract Factory](abstract-factory) | Creational | Gang of Four | +| [Active Object](active-object) | Concurrency | Performance | +| [Acyclic Visitor](acyclic-visitor) | Behavioral | Extensibility | +| [Adapter](adapter) | Structural | Gang of Four | +| [Aggregator Microservices](aggregator-microservices) | Architectural | Cloud distributed | +| [Ambassador](ambassador) | Structural | Decoupling | +| [API Gateway](api-gateway) | Architectural | Cloud distributed, Decoupling | +| [Arrange/Act/Assert](arrange-act-assert) | Idiom | Testing | +| [Async Method Invocation](async-method-invocation) | Concurrency | Reactive | +| [Balking](balking) | Concurrency | Decoupling | +| [Bridge](bridge) | Structural | Gang of Four | +| [Builder](builder) | Creational | Gang of Four | +| [Business Delegate](business-delegate) | Structural | Decoupling | +| [Bytecode](bytecode) | Behavioral | Game programming | +| [Caching](caching) | Behavioral | Performance | +| [Callback](callback) | Idiom | Reactive | +| [Chain of Responsibility](chain-of-responsibility) | Behavioral | Gang of Four | +| [Circuit Breaker](circuit-breaker) | Behavioral | Performance, Decoupling | +| [Cloud Static Content Hosting](cloud-static-content-hosting) | Cloud | Cloud distributed | +| [Collection Pipeline](collection-pipeline) | Functional | Reactive | +| [Command](command) | Behavioral | Gang of Four | +| [Composite](composite) | Structural | Gang of Four | +| [Composite Entity](composite-entity) | Structural | Enterprise Integration Pattern | +| [Converter](converter) | Creational | Decoupling | +| [Data Access Object](data-access-object) | Architectural | Data access | +| [Data Bus](data-bus) | Architectural | Decoupling | +| [Data Mapper](data-mapper) | Architectural | Decoupling | +| [Data Transfer Object](data-transfer-object) | Architectural | Performance | +| [Decorator](decorator) | Structural | Gang of Four, Extensibility | +| [Delegation](delegation) | Structural | Decoupling | +| [Dependency Injection](dependency-injection) | Creational | Decoupling | +| [Dirty Flag](dirty-flag) | Behavioral | Performance, Game programming | +| [Double Checked Locking](double-checked-locking) | Idiom | Performance | +| [Facade](facade) | Structural | Gang of Four, Decoupling | +| [Factory](factory) | Creational | Gang of Four | +| [Factory kit](factory-kit) | Creational | Extensibility | +| [Factory Method](factory-method) | Creational | Gang of Four, Extensibility | +| [Interpreter](interpreter) | Behavioral | Gang of Four | +| [Iterator](iterator) | Behavioral | Gang of Four | +| [Observer](observer) | Behavioral | Gang of Four, Reactive | +| [Private Class Data](private-class-data) | Idiom | Data access | +| [Producer Consumer](producer-consumer) | Concurrency | Reactive | +| [Proxy](proxy) | Structural | Gang of Four, Decoupling | +| [Sharding](sharding) | Behavioral | Performance, Cloud distributed | +| [State](state) | Behavioral | Gang of Four | +| [Strategy](strategy) | Behavioral | Gang of Four | +| [Template Method](table-module) | Behavioral | Gang of Four | +| [Version Number](version-number) | Concurrency | Data access, Microservices | +| [Visitor](visitor) | Behavioral | Gang of Four | diff --git a/localization/zh/interpreter/README.md b/localization/zh/interpreter/README.md index 126a70b79..802b3be13 100644 --- a/localization/zh/interpreter/README.md +++ b/localization/zh/interpreter/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Interpreter -folder: interpreter -permalink: /patterns/interpreter/ -categories: Behavioral +category: Behavioral language: zh tags: - Gang of Four @@ -13,7 +10,7 @@ tags: 给定一种语言,请定义其语法的表示形式,以及使用该表示形式来解释该语言中的句子的解释器。 ## 类图 -![alt text](../../../interpreter/etc/interpreter_1.png "Interpreter") +![alt text](etc/interpreter_1.png "Interpreter") ## 适用性 有一种要解释的语言时,请使用解释器模式,并且可以将语言中的语句表示为抽象语法树。解释器模式在以下情况下效果最佳 diff --git a/localization/zh/interpreter/etc/interpreter_1.png b/localization/zh/interpreter/etc/interpreter_1.png new file mode 100644 index 000000000..f10342a1d Binary files /dev/null and b/localization/zh/interpreter/etc/interpreter_1.png differ diff --git a/localization/zh/iterator/README.md b/localization/zh/iterator/README.md index c7b6f0fad..2e12b2da3 100644 --- a/localization/zh/iterator/README.md +++ b/localization/zh/iterator/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Iterator -folder: iterator -permalink: /patterns/iterator/ -categories: Behavioral +category: Behavioral language: zh tags: - Gang of Four @@ -115,7 +112,7 @@ while (itemIterator.hasNext()) { ``` ## 类图 -![alt text](../../../iterator/etc/iterator_1.png "Iterator") +![alt text](etc/iterator_1.png "Iterator") ## 适用性 以下情况使用迭代器模式 diff --git a/localization/zh/iterator/etc/iterator_1.png b/localization/zh/iterator/etc/iterator_1.png new file mode 100644 index 000000000..d8313bc58 Binary files /dev/null and b/localization/zh/iterator/etc/iterator_1.png differ diff --git a/localization/zh/observer/README.md b/localization/zh/observer/README.md index e2417d4ff..c37bf1fc2 100644 --- a/localization/zh/observer/README.md +++ b/localization/zh/observer/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Observer -folder: observer -permalink: /patterns/observer/ -categories: Behavioral +category: Behavioral language: zh tags: - Gang Of Four @@ -129,7 +126,7 @@ public class Weather { ``` ## Class diagram -![alt text](../../../observer/etc/observer.png "Observer") +![alt text](etc/observer.png "Observer") ## 应用 在下面任何一种情况下都可以使用观察者模式 diff --git a/localization/zh/observer/etc/observer.png b/localization/zh/observer/etc/observer.png new file mode 100644 index 000000000..f2ab0edfe Binary files /dev/null and b/localization/zh/observer/etc/observer.png differ diff --git a/localization/zh/private-class-data/README.md b/localization/zh/private-class-data/README.md index 6eb32a70f..cdf635a15 100644 --- a/localization/zh/private-class-data/README.md +++ b/localization/zh/private-class-data/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Private Class Data -folder: private-class-data -permalink: /patterns/private-class-data/ -categories: Idiom +category: Idiom language: zh tags: - Data access @@ -120,7 +117,7 @@ immutableStew.mix(); // Mixing the immutable stew we find: 2 potatoes, 4 carrot ## 类图 -![alt text](../../../private-class-data/etc/private-class-data.png "Private Class Data") +![alt text](etc/private-class-data.png "Private Class Data") ## 适用性 diff --git a/localization/zh/private-class-data/etc/private-class-data.png b/localization/zh/private-class-data/etc/private-class-data.png new file mode 100644 index 000000000..65c343a5f Binary files /dev/null and b/localization/zh/private-class-data/etc/private-class-data.png differ diff --git a/localization/zh/producer-consumer/README.md b/localization/zh/producer-consumer/README.md index 8cda270b1..dc276e11e 100644 --- a/localization/zh/producer-consumer/README.md +++ b/localization/zh/producer-consumer/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Producer Consumer -folder: producer-consumer -permalink: /patterns/producer-consumer/ -categories: Concurrency +category: Concurrency language: zh tags: - Reactive @@ -13,7 +10,7 @@ tags: 生产者消费者设计模式是一种经典的并发模式,通过将工作与执行工作任务分开来减少生产者与消费者之间的耦合。 ## 类图 -![alt text](../../../producer-consumer/etc/producer-consumer.png "Producer Consumer") +![alt text](etc/producer-consumer.png "Producer Consumer") ## 适用性 在以下情况下使用生产者消费者 diff --git a/localization/zh/producer-consumer/etc/producer-consumer.png b/localization/zh/producer-consumer/etc/producer-consumer.png new file mode 100644 index 000000000..e8bc573b3 Binary files /dev/null and b/localization/zh/producer-consumer/etc/producer-consumer.png differ diff --git a/localization/zh/proxy/README.md b/localization/zh/proxy/README.md index 808b16505..7a803aed7 100644 --- a/localization/zh/proxy/README.md +++ b/localization/zh/proxy/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Proxy -folder: proxy -permalink: /patterns/proxy/ -categories: Structural +category: Structural language: zh tags: - Gang Of Four @@ -123,7 +120,7 @@ Brown wizard is not allowed to enter! ## 类图 -![alt text](../../../proxy/etc/proxy.urm.png "Proxy pattern class diagram") +![alt text](etc/proxy.urm.png "Proxy pattern class diagram") ## 适用性 diff --git a/localization/zh/proxy/etc/proxy.urm.png b/localization/zh/proxy/etc/proxy.urm.png new file mode 100644 index 000000000..a0c94fc7c Binary files /dev/null and b/localization/zh/proxy/etc/proxy.urm.png differ diff --git a/localization/zh/sharding/README.md b/localization/zh/sharding/README.md index 71552bc48..9e6a3fa94 100644 --- a/localization/zh/sharding/README.md +++ b/localization/zh/sharding/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Sharding -folder: sharding -permalink: /patterns/sharding/ -categories: Behavioral +category: Behavioral language: zh tags: - Performance @@ -16,7 +13,7 @@ tags: 一个分片本身就是一个数据存储(它可以包含许多不同类型的实体的数据),运行在作为存储节点的服务器上。 ## 类图 -![alt text](../../../sharding/etc/sharding.urm.png "Sharding pattern class diagram") +![alt text](etc/sharding.urm.png "Sharding pattern class diagram") ## 适用场景 这种设计模式提供了一下的好处: diff --git a/localization/zh/sharding/etc/sharding.urm.png b/localization/zh/sharding/etc/sharding.urm.png new file mode 100644 index 000000000..e7f412af3 Binary files /dev/null and b/localization/zh/sharding/etc/sharding.urm.png differ diff --git a/localization/zh/state/README.md b/localization/zh/state/README.md index ba2d555d2..2defd6f7f 100644 --- a/localization/zh/state/README.md +++ b/localization/zh/state/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: State -folder: state -permalink: /patterns/state/ -categories: Behavioral +category: Behavioral language: zh tags: - Gang of Four @@ -135,7 +132,7 @@ public class Mammoth { ``` ## 类图 -![alt text](../../../state/etc/state_urm.png "State") +![alt text](etc/state_urm.png "State") ## 适用性 diff --git a/localization/zh/state/etc/state_urm.png b/localization/zh/state/etc/state_urm.png new file mode 100644 index 000000000..c2cf9f562 Binary files /dev/null and b/localization/zh/state/etc/state_urm.png differ diff --git a/localization/zh/strategy/README.md b/localization/zh/strategy/README.md index aee867b0a..2467cda0d 100644 --- a/localization/zh/strategy/README.md +++ b/localization/zh/strategy/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Strategy -folder: strategy -permalink: /patterns/strategy/ -categories: Behavioral +category: Behavioral language: zh tags: - Gang of Four @@ -112,7 +109,7 @@ public class DragonSlayer { ``` ## 类图 -![alt text](../../../strategy/etc/strategy_urm.png "Strategy") +![alt text](etc/strategy_urm.png "Strategy") ## 应用 使用策略模式当 diff --git a/localization/zh/strategy/etc/strategy_urm.png b/localization/zh/strategy/etc/strategy_urm.png new file mode 100644 index 000000000..67d19acae Binary files /dev/null and b/localization/zh/strategy/etc/strategy_urm.png differ diff --git a/localization/zh/template-method/README.md b/localization/zh/template-method/README.md index 6bd40f032..ce9568eaa 100644 --- a/localization/zh/template-method/README.md +++ b/localization/zh/template-method/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Template method -folder: template-method -permalink: /patterns/template-method/ -categories: Behavioral +category: Behavioral language: zh tags: - Gang of Four @@ -119,7 +116,7 @@ public class HalflingThief { ``` ## 类图 -![alt text](../../../template-method/etc/template_method_urm.png "Template Method") +![alt text](etc/template_method_urm.png "Template Method") ## 适用性 diff --git a/localization/zh/template-method/etc/template_method_urm.png b/localization/zh/template-method/etc/template_method_urm.png new file mode 100644 index 000000000..b7babccff Binary files /dev/null and b/localization/zh/template-method/etc/template_method_urm.png differ diff --git a/localization/zh/version-number/README.md b/localization/zh/version-number/README.md index f5985ab66..5faf854a5 100644 --- a/localization/zh/version-number/README.md +++ b/localization/zh/version-number/README.md @@ -1,13 +1,6 @@ --- -layout: pattern title: Version Number -folder: versionnumber -permalink: /patterns/versionnumber/ -description: Entity versioning with version number - -categories: - - Concurrency - +category: Concurrency language: zh tags: - Data access @@ -135,7 +128,7 @@ Exception: Tried to update stale version 0 while actual version is 1 ## 类图 -![alt text](../../../version-number/etc/version-number.urm.png "Version Number pattern class diagram") +![alt text](etc/version-number.urm.png "Version Number pattern class diagram") ## 适用性 diff --git a/localization/zh/version-number/etc/version-number.urm.png b/localization/zh/version-number/etc/version-number.urm.png new file mode 100644 index 000000000..95a5819b4 Binary files /dev/null and b/localization/zh/version-number/etc/version-number.urm.png differ diff --git a/localization/zh/visitor/README.md b/localization/zh/visitor/README.md index 2454032f0..ce5284977 100644 --- a/localization/zh/visitor/README.md +++ b/localization/zh/visitor/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Visitor -folder: visitor -permalink: /patterns/visitor/ -categories: Behavioral +category: Behavioral language: zh tags: - Gang of Four @@ -201,7 +198,7 @@ Good to see you commander ## Class diagram -![alt text](../../../visitor/etc/visitor_1.png "Visitor") +![alt text](etc/visitor_1.png "Visitor") ## 适用性 diff --git a/localization/zh/visitor/etc/visitor_1.png b/localization/zh/visitor/etc/visitor_1.png new file mode 100644 index 000000000..de5285d7f Binary files /dev/null and b/localization/zh/visitor/etc/visitor_1.png differ diff --git a/lockable-object/README.md b/lockable-object/README.md index 8757dfd2a..d8c6390d7 100644 --- a/lockable-object/README.md +++ b/lockable-object/README.md @@ -1,10 +1,7 @@ --- -layout: pattern title: Lockable Object -folder: lockable-object -permalink: /patterns/lockable-object/ +category: Concurrency language: en -categories: Concurrency tags: - Performance --- diff --git a/marker/README.md b/marker/README.md index 865e5d2da..9a2ec54a5 100644 --- a/marker/README.md +++ b/marker/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Marker Interface -folder: marker -permalink: /patterns/marker/ -categories: Structural +category: Structural language: en tags: - Decoupling diff --git a/master-worker-pattern/README.md b/master-worker-pattern/README.md index 005c3dc64..eeb419a20 100644 --- a/master-worker-pattern/README.md +++ b/master-worker-pattern/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Master-Worker -folder: master-worker-pattern -permalink: /patterns/master-worker-pattern/ -categories: Concurrency +category: Concurrency language: en tags: - Performance diff --git a/mediator/README.md b/mediator/README.md index 627de4e28..79517e6f9 100644 --- a/mediator/README.md +++ b/mediator/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Mediator -folder: mediator -permalink: /patterns/mediator/ -categories: Behavioral +category: Behavioral language: en tags: - Gang Of Four diff --git a/memento/README.md b/memento/README.md index 699c4ae50..d6aea7ccc 100644 --- a/memento/README.md +++ b/memento/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Memento -folder: memento -permalink: /patterns/memento/ -categories: Behavioral +category: Behavioral language: en tags: - Gang of Four diff --git a/metadata-mapping/README.md b/metadata-mapping/README.md index 5dcd932a7..76686a22b 100644 --- a/metadata-mapping/README.md +++ b/metadata-mapping/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Metadata Mapping -folder: metadata-mapping -permalink: /patterns/metadata-mapping/ -categories: Architectural +category: Architectural language: en tags: - Data access diff --git a/model-view-controller/README.md b/model-view-controller/README.md index 690e1541b..a94fb56c1 100644 --- a/model-view-controller/README.md +++ b/model-view-controller/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Model-View-Controller -folder: model-view-controller -permalink: /patterns/model-view-controller/ -categories: Architectural +category: Architectural language: en tags: - Decoupling diff --git a/model-view-presenter/README.md b/model-view-presenter/README.md index d7a9fa135..68b944e25 100644 --- a/model-view-presenter/README.md +++ b/model-view-presenter/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Model-View-Presenter -folder: model-view-presenter -permalink: /patterns/model-view-presenter/ -categories: Architectural +category: Architectural language: en tags: - Decoupling diff --git a/model-view-viewmodel/README.md b/model-view-viewmodel/README.md index da961bf16..82e2c5eb4 100644 --- a/model-view-viewmodel/README.md +++ b/model-view-viewmodel/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Model-View-ViewModel -folder: model-view-viewmodel -permalink: /patterns/model-view-viewmodel/ -categories: Architectural +category: Architectural language: en tags: - Decoupling diff --git a/module/README.md b/module/README.md index 9acb15b7e..369b15ec7 100644 --- a/module/README.md +++ b/module/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Module -folder: module -permalink: /patterns/module/ -categories: Structural +category: Structural language: en tags: - Decoupling diff --git a/monad/README.md b/monad/README.md index e9ef4ee8c..b565c4ce7 100644 --- a/monad/README.md +++ b/monad/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Monad -folder: monad -permalink: /patterns/monad/ -categories: Functional +category: Functional language: en tags: - Reactive diff --git a/monitor/README.md b/monitor/README.md index 59eb2ba0c..0d8d8c20f 100644 --- a/monitor/README.md +++ b/monitor/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Monitor -folder: monitor -permalink: /patterns/monitor/ -categories: Concurrency +category: Concurrency language: en tags: - Performance diff --git a/monostate/README.md b/monostate/README.md index ae91f59ea..1a5ef8897 100644 --- a/monostate/README.md +++ b/monostate/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: MonoState -folder: monostate -permalink: /patterns/monostate/ -categories: Creational +category: Creational language: en tags: - Instantiation diff --git a/multiton/README.md b/multiton/README.md index 6daaa4a9b..c46f44ee8 100644 --- a/multiton/README.md +++ b/multiton/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Multiton -folder: multiton -permalink: /patterns/multiton/ -categories: Creational +category: Creational language: en tags: - Instantiation diff --git a/mute-idiom/README.md b/mute-idiom/README.md index 1f62bbd89..c537f1aca 100644 --- a/mute-idiom/README.md +++ b/mute-idiom/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Mute Idiom -folder: mute-idiom -permalink: /patterns/mute-idiom/ -categories: Idiom +category: Idiom language: en tags: - Decoupling diff --git a/naked-objects/README.md b/naked-objects/README.md index 9305e5971..c591d2261 100644 --- a/naked-objects/README.md +++ b/naked-objects/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Naked Objects -folder: naked-objects -permalink: /patterns/naked-objects/ -categories: Architectural +category: Architectural language: en tags: - Decoupling diff --git a/null-object/README.md b/null-object/README.md index 2a352a136..437cfc20b 100644 --- a/null-object/README.md +++ b/null-object/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Null Object -folder: null-object -permalink: /patterns/null-object/ -categories: Behavioral +category: Behavioral language: en tags: - Extensibility diff --git a/object-mother/README.md b/object-mother/README.md index 8400d497f..b8ecfbc8b 100644 --- a/object-mother/README.md +++ b/object-mother/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Object Mother -folder: object-mother -permalink: /patterns/object-mother/ -categories: Creational +category: Creational language: en tags: - Instantiation diff --git a/object-pool/README.md b/object-pool/README.md index f82832091..1c932adc1 100644 --- a/object-pool/README.md +++ b/object-pool/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Object Pool -folder: object-pool -permalink: /patterns/object-pool/ -categories: Creational +category: Creational language: en tags: - Game programming diff --git a/observer/README.md b/observer/README.md index b87ce469d..3ca93a344 100644 --- a/observer/README.md +++ b/observer/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Observer -folder: observer -permalink: /patterns/observer/ -categories: Behavioral +category: Behavioral language: en tags: - Gang Of Four diff --git a/page-object/README.md b/page-object/README.md index 9d0f7e316..ccc0d574e 100644 --- a/page-object/README.md +++ b/page-object/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Page Object -folder: page-object -permalink: /patterns/page-object/ -categories: Structural +category: Structural language: en tags: - Decoupling diff --git a/parameter-object/README.md b/parameter-object/README.md index 0767e058c..974384a27 100644 --- a/parameter-object/README.md +++ b/parameter-object/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Parameter Object -folder: parameter-object -permalink: /patterns/parameter-object/ -categories: Behavioral +category: Behavioral language: en tags: - Extensibility diff --git a/partial-response/README.md b/partial-response/README.md index 7a52dc844..dc1a6e3b4 100644 --- a/partial-response/README.md +++ b/partial-response/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Partial Response -folder: partial-response -permalink: /patterns/partial-response/ -categories: Behavioral +category: Behavioral language: en tags: - Decoupling diff --git a/pipeline/README.md b/pipeline/README.md index bd687f0c0..04b55f5a9 100644 --- a/pipeline/README.md +++ b/pipeline/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Pipeline -folder: pipeline -permalink: /patterns/pipeline/ -categories: Behavioral +category: Behavioral language: en tags: - Decoupling diff --git a/poison-pill/README.md b/poison-pill/README.md index e3444bbeb..afb08fdb3 100644 --- a/poison-pill/README.md +++ b/poison-pill/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Poison Pill -folder: poison-pill -permalink: /patterns/poison-pill/ -categories: Behavioral +category: Behavioral language: en tags: - Cloud distributed diff --git a/presentation/README.md b/presentation/README.md index 918275f7b..d10d53430 100644 --- a/presentation/README.md +++ b/presentation/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Presentation -folder: presentation -permalink: /patterns/presentation/ -categories: Behavioral +category: Behavioral language: en tags: - Decoupling diff --git a/priority-queue/README.md b/priority-queue/README.md index 1cd72b154..3a7ed6ee1 100644 --- a/priority-queue/README.md +++ b/priority-queue/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Priority Queue Pattern -folder: priority-queue -permalink: /patterns/priority-queue/ -categories: Behavioral +category: Behavioral language: en tags: - Decoupling diff --git a/private-class-data/README.md b/private-class-data/README.md index 74e6794e6..c8cb575a6 100644 --- a/private-class-data/README.md +++ b/private-class-data/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Private Class Data -folder: private-class-data -permalink: /patterns/private-class-data/ -categories: Idiom +category: Idiom language: en tags: - Data access diff --git a/producer-consumer/README.md b/producer-consumer/README.md index 3d97b50fc..abd335f42 100644 --- a/producer-consumer/README.md +++ b/producer-consumer/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Producer Consumer -folder: producer-consumer -permalink: /patterns/producer-consumer/ -categories: Concurrency +category: Concurrency language: en tags: - Reactive diff --git a/promise/README.md b/promise/README.md index 1f8935fef..01dfac8d5 100644 --- a/promise/README.md +++ b/promise/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Promise -folder: promise -permalink: /patterns/promise/ -categories: Concurrency +category: Concurrency language: en tags: - Reactive diff --git a/property/README.md b/property/README.md index 43d1d1ab1..42cedb117 100644 --- a/property/README.md +++ b/property/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Property -folder: property -permalink: /patterns/property/ -categories: Creational +category: Creational language: en tags: - Instantiation diff --git a/prototype/README.md b/prototype/README.md index 855d4d073..0f8cfa601 100644 --- a/prototype/README.md +++ b/prototype/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Prototype -folder: prototype -permalink: /patterns/prototype/ -categories: Creational +category: Creational language: en tags: - Gang Of Four diff --git a/proxy/README.md b/proxy/README.md index 7b07e2e7a..0d085d5cd 100644 --- a/proxy/README.md +++ b/proxy/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Proxy -folder: proxy -permalink: /patterns/proxy/ -categories: Structural +category: Structural language: en tags: - Gang Of Four diff --git a/queue-load-leveling/README.md b/queue-load-leveling/README.md index 024c117d4..7997c6653 100644 --- a/queue-load-leveling/README.md +++ b/queue-load-leveling/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Queue based load leveling -folder: queue-load-leveling -permalink: /patterns/queue-load-leveling/ -categories: Concurrency +category: Concurrency language: en tags: - Decoupling diff --git a/reactor/README.md b/reactor/README.md index 67a6f4dad..40f0ae47d 100644 --- a/reactor/README.md +++ b/reactor/README.md @@ -1,10 +1,6 @@ --- -layout: pattern title: Reactor -folder: reactor -permalink: /patterns/reactor/ -pumlformat: svg -categories: Concurrency +category: Concurrency language: en tags: - Performance diff --git a/reader-writer-lock/README.md b/reader-writer-lock/README.md index 94fb22fd6..317c6d5bb 100644 --- a/reader-writer-lock/README.md +++ b/reader-writer-lock/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Reader Writer Lock -folder: reader-writer-lock -permalink: /patterns/reader-writer-lock/ -categories: Concurrency +category: Concurrency language: en tags: - Performance diff --git a/registry/README.md b/registry/README.md index 3744bb3b8..fe01e3c34 100644 --- a/registry/README.md +++ b/registry/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Registry -folder: registry -permalink: /patterns/registry/ -categories: Creational +category: Creational language: en tags: - Instantiation diff --git a/repository/README.md b/repository/README.md index aa929d8eb..f4cca466b 100644 --- a/repository/README.md +++ b/repository/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Repository -folder: repository -permalink: /patterns/repository/ -categories: Architectural +category: Architectural language: en tags: - Data access diff --git a/resource-acquisition-is-initialization/README.md b/resource-acquisition-is-initialization/README.md index afa780792..e82f2bef0 100644 --- a/resource-acquisition-is-initialization/README.md +++ b/resource-acquisition-is-initialization/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Resource Acquisition Is Initialization -folder: resource-acquisition-is-initialization -permalink: /patterns/resource-acquisition-is-initialization/ -categories: Idiom +category: Idiom language: en tags: - Data access diff --git a/retry/README.md b/retry/README.md index 8ae689aa2..d269a8be9 100644 --- a/retry/README.md +++ b/retry/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Retry -folder: retry -permalink: /patterns/retry/ -categories: Behavioral +category: Behavioral language: en tags: - Performance diff --git a/role-object/README.md b/role-object/README.md index e58c4b427..29a38e27e 100644 --- a/role-object/README.md +++ b/role-object/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Role Object -folder: role-object -permalink: /patterns/role-object/ -categories: Structural +category: Structural language: en tags: - Extensibility diff --git a/saga/README.md b/saga/README.md index 761357bde..76ce3ffed 100644 --- a/saga/README.md +++ b/saga/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Saga -folder: saga -permalink: /patterns/saga/ -categories: Concurrency +category: Concurrency language: en tags: - Cloud distributed diff --git a/separated-interface/README.md b/separated-interface/README.md index 1813bc989..0c2aac259 100644 --- a/separated-interface/README.md +++ b/separated-interface/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Separated Interface -folder: separated-interface -permalink: /patterns/separated-interface/ -categories: Structural +category: Structural language: en tags: - Decoupling diff --git a/servant/README.md b/servant/README.md index ae19e2f62..ca4b2bfe9 100644 --- a/servant/README.md +++ b/servant/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Servant -folder: servant -permalink: /patterns/servant/ -categories: Behavioral +category: Behavioral language: en tags: - Decoupling diff --git a/serverless/README.md b/serverless/README.md index 0e31a7e24..5162c79ac 100644 --- a/serverless/README.md +++ b/serverless/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Serverless -folder: serverless -permalink: /patterns/serverless/ -categories: Architectural +category: Architectural language: en tags: - Cloud distributed diff --git a/service-layer/README.md b/service-layer/README.md index d57e84239..b8549f4b6 100644 --- a/service-layer/README.md +++ b/service-layer/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Service Layer -folder: service-layer -permalink: /patterns/service-layer/ -categories: Architectural +category: Architectural language: en tags: - Data access diff --git a/service-locator/README.md b/service-locator/README.md index 8e39335a8..7770c4970 100644 --- a/service-locator/README.md +++ b/service-locator/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Service Locator -folder: service-locator -permalink: /patterns/service-locator/ -categories: Architectural +category: Architectural language: en tags: - Game programming diff --git a/service-to-worker/README.md b/service-to-worker/README.md index db25ac69f..48ecbc56c 100644 --- a/service-to-worker/README.md +++ b/service-to-worker/README.md @@ -1,9 +1,7 @@ --- -layout: pattern title: Service to Worker -folder: service-to-worker -permalink: /patterns/service-to-worker/ -categories: Architectural +category: Architectural +language: en tags: - Decoupling --- diff --git a/service-to-worker/etc/service-to-worker.urm.puml b/service-to-worker/etc/service-to-worker.urm.puml new file mode 100644 index 000000000..eca0acc0a --- /dev/null +++ b/service-to-worker/etc/service-to-worker.urm.puml @@ -0,0 +1,134 @@ +@startuml +package com.iluwatar.servicetoworker { + class Action { + + giant : GiantModel + + Action(giant : GiantModel) + + setFatigue(fatigue : Fatigue) + + setHealth(health : Health) + + setNourishment(nourishment : Nourishment) + + updateModel(command : Command) + } + class App { + + App() + + main(args : String[]) {static} + } + class Command { + - fatigue : Fatigue + - health : Health + - nourishment : Nourishment + + Command(fatigue : Fatigue, health : Health, nourishment : Nourishment) + + getFatigue() : Fatigue + + getHealth() : Health + + getNourishment() : Nourishment + } + class Dispatcher { + - actions : List + - giantView : GiantView + + Dispatcher(giantView : GiantView) + ~ addAction(action : Action) + + getGiantView() : GiantView + + performAction(s : Command, actionIndex : int) + + updateView(giantModel : GiantModel) + } + class GiantController { + + dispatcher : Dispatcher + + GiantController(dispatcher : Dispatcher) + + setCommand(s : Command, index : int) + + updateView(giantModel : GiantModel) + } + class GiantModel { + - model : GiantModel + - name : String + ~ GiantModel(name : String, health : Health, fatigue : Fatigue, nourishment : Nourishment) + ~ getFatigue() : Fatigue + ~ getHealth() : Health + + getName() : String + ~ getNourishment() : Nourishment + ~ setFatigue(fatigue : Fatigue) + ~ setHealth(health : Health) + ~ setNourishment(nourishment : Nourishment) + + toString() : String + } + class GiantView { + - LOGGER : Logger {static} + + GiantView() + + displayGiant(giant : GiantModel) + } +} +package com.iluwatar.model.view.controller { + class App { + + App() + + main(args : String[]) {static} + } + enum Fatigue { + + ALERT {static} + + SLEEPING {static} + + TIRED {static} + - title : String + + toString() : String + + valueOf(name : String) : Fatigue {static} + + values() : Fatigue[] {static} + } + class GiantController { + - giant : GiantModel + - view : GiantView + + GiantController(giant : GiantModel, view : GiantView) + + getFatigue() : Fatigue + + getHealth() : Health + + getNourishment() : Nourishment + + setFatigue(fatigue : Fatigue) + + setHealth(health : Health) + + setNourishment(nourishment : Nourishment) + + updateView() + } + class GiantModel { + - fatigue : Fatigue + - health : Health + - nourishment : Nourishment + + GiantModel(health : Health, fatigue : Fatigue, nourishment : Nourishment) + + getFatigue() : Fatigue + + getHealth() : Health + + getNourishment() : Nourishment + + setFatigue(fatigue : Fatigue) + + setHealth(health : Health) + + setNourishment(nourishment : Nourishment) + + toString() : String + } + class GiantView { + - LOGGER : Logger {static} + + GiantView() + + displayGiant(giant : GiantModel) + } + enum Health { + + DEAD {static} + + HEALTHY {static} + + WOUNDED {static} + - title : String + + toString() : String + + valueOf(name : String) : Health {static} + + values() : Health[] {static} + } + enum Nourishment { + + HUNGRY {static} + + SATURATED {static} + + STARVING {static} + - title : String + + toString() : String + + valueOf(name : String) : Nourishment {static} + + values() : Nourishment[] {static} + } +} +Command --> "-nourishment" Nourishment +GiantModel --> "-nourishment" Nourishment +GiantController --> "-giant" GiantModel +GiantController --> "-dispatcher" Dispatcher +GiantModel --> "-fatigue" Fatigue +Dispatcher --> "-actions" Action +GiantModel --> "-health" Health +GiantModel --> "-model" GiantModel +Command --> "-fatigue" Fatigue +Command --> "-health" Health +GiantController --> "-view" GiantView +Action --> "-giant" GiantModel +Dispatcher --> "-giantView" GiantView +@enduml \ No newline at end of file diff --git a/sharding/README.md b/sharding/README.md index e51668dca..d39920a57 100644 --- a/sharding/README.md +++ b/sharding/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Sharding -folder: sharding -permalink: /patterns/sharding/ -categories: Behavioral +category: Behavioral language: en tags: - Performance diff --git a/singleton/README.md b/singleton/README.md index ffff61e15..7a6f842e6 100644 --- a/singleton/README.md +++ b/singleton/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Singleton -folder: singleton -permalink: /patterns/singleton/ -categories: Creational +category: Creational language: en tags: - Gang of Four diff --git a/spatial-partition/README.md b/spatial-partition/README.md index 2ea9eb21e..7ebe3d588 100644 --- a/spatial-partition/README.md +++ b/spatial-partition/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Spatial Partition -folder: spatial-partition -permalink: /patterns/spatial-partition/ -categories: Behavioral +category: Behavioral language: en tags: - Performance diff --git a/special-case/README.md b/special-case/README.md index 654bc60d8..71c511fe3 100644 --- a/special-case/README.md +++ b/special-case/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Special Case -folder: special-case -permalink: /patterns/special-case/ -categories: Behavioral +category: Behavioral language: en tags: - Extensibility diff --git a/specification/README.md b/specification/README.md index 47429edbf..dd6af17a3 100644 --- a/specification/README.md +++ b/specification/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Specification -folder: specification -permalink: /patterns/specification/ -categories: Behavioral +category: Behavioral language: en tags: - Data access diff --git a/state/README.md b/state/README.md index c6f07e7b6..b77a6cb65 100644 --- a/state/README.md +++ b/state/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: State -folder: state -permalink: /patterns/state/ -categories: Behavioral +category: Behavioral language: en tags: - Gang of Four diff --git a/step-builder/README.md b/step-builder/README.md index 7491650b4..05a5bcbf1 100644 --- a/step-builder/README.md +++ b/step-builder/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Step Builder -folder: step-builder -permalink: /patterns/step-builder/ -categories: Creational +category: Creational language: en tags: - Instantiation diff --git a/strangler/README.md b/strangler/README.md index cee7d5619..10e18fe9d 100644 --- a/strangler/README.md +++ b/strangler/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Strangler -folder: strangler -permalink: /patterns/strangler/ -categories: Structural +category: Structural language: en tags: - Extensibility diff --git a/strategy/README.md b/strategy/README.md index 83774fba8..c47ce42c0 100644 --- a/strategy/README.md +++ b/strategy/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Strategy -folder: strategy -permalink: /patterns/strategy/ -categories: Behavioral +category: Behavioral language: en tags: - Gang of Four diff --git a/subclass-sandbox/README.md b/subclass-sandbox/README.md index 760b23dcb..ccbd13675 100644 --- a/subclass-sandbox/README.md +++ b/subclass-sandbox/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Subclass Sandbox -folder: subclass-sandbox -permalink: /patterns/subclass-sandbox/ -categories: Behavioral +category: Behavioral language: en tags: - Game programming diff --git a/table-module/README.md b/table-module/README.md index dca8d4dc2..0b4788641 100644 --- a/table-module/README.md +++ b/table-module/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Table Module -folder: table-module -permalink: /patterns/table-module/ -categories: Structural +category: Structural language: en tags: - Data access diff --git a/template-method/README.md b/template-method/README.md index ba34441e0..8169553d7 100644 --- a/template-method/README.md +++ b/template-method/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Template method -folder: template-method -permalink: /patterns/template-method/ -categories: Behavioral +category: Behavioral language: en tags: - Gang of Four diff --git a/thread-pool/README.md b/thread-pool/README.md index 248c3a5d4..231d8f485 100644 --- a/thread-pool/README.md +++ b/thread-pool/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Thread Pool -folder: thread-pool -permalink: /patterns/thread-pool/ -categories: Concurrency +category: Concurrency language: en tags: - Performance diff --git a/throttling/README.md b/throttling/README.md index 333b714f1..ab61f9232 100644 --- a/throttling/README.md +++ b/throttling/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Throttling -folder: throttling -permalink: /patterns/throttling/ -categories: Behavioral +category: Behavioral language: en tags: - Performance diff --git a/tls/README.md b/tls/README.md index a31e70761..0dec2d936 100644 --- a/tls/README.md +++ b/tls/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Thread Local Storage -folder: tls -permalink: /patterns/tls/ -categories: Idiom +category: Idiom language: en tags: - Performance diff --git a/tolerant-reader/README.md b/tolerant-reader/README.md index b675401d0..287cdf045 100644 --- a/tolerant-reader/README.md +++ b/tolerant-reader/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Tolerant Reader -folder: tolerant-reader -permalink: /patterns/tolerant-reader/ -categories: Integration +category: Integration language: en tags: - Decoupling diff --git a/trampoline/README.md b/trampoline/README.md index eceaf3f1f..f13535564 100644 --- a/trampoline/README.md +++ b/trampoline/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Trampoline -folder: trampoline -permalink: /patterns/trampoline/ -categories: Behavioral +category: Behavioral language: en tags: - Performance diff --git a/transaction-script/README.md b/transaction-script/README.md index d97369e68..38ed2d294 100644 --- a/transaction-script/README.md +++ b/transaction-script/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Transaction Script -folder: transaction-script -permalink: /patterns/transaction-script/ -categories: Behavioral +category: Behavioral language: en tags: - Data access diff --git a/twin/README.md b/twin/README.md index 905ea19f3..794b3e480 100644 --- a/twin/README.md +++ b/twin/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Twin -folder: twin -permalink: /patterns/twin/ -categories: Structural +category: Structural language: en tags: - Extensibility diff --git a/typeobjectpattern/README.md b/typeobjectpattern/README.md index c7dea418a..d2ef2f99c 100644 --- a/typeobjectpattern/README.md +++ b/typeobjectpattern/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Type-Object -folder: typeobjectpattern -permalink: /patterns/typeobjectpattern/ -categories: Behavioral +category: Behavioral language: en tags: - Game programming diff --git a/unit-of-work/README.md b/unit-of-work/README.md index f60667810..2e0e897de 100644 --- a/unit-of-work/README.md +++ b/unit-of-work/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Unit Of Work -folder: unit-of-work -permalink: /patterns/unit-of-work/ -categories: Architectural +category: Architectural language: en tags: - Data access diff --git a/update-method/README.md b/update-method/README.md index e8a68a1ac..dd5ae16af 100644 --- a/update-method/README.md +++ b/update-method/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Update Method -folder: update-method -permalink: /patterns/update-method/ -categories: Behavioral +category: Behavioral language: en tags: - Game programming diff --git a/value-object/README.md b/value-object/README.md index c98674381..934367d97 100644 --- a/value-object/README.md +++ b/value-object/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Value Object -folder: value-object -permalink: /patterns/value-object/ -categories: Creational +category: Creational language: en tags: - Instantiation diff --git a/version-number/README.md b/version-number/README.md index 027540516..3d7ae325b 100644 --- a/version-number/README.md +++ b/version-number/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Version Number -folder: version-number -permalink: /patterns/version-number/ -categories: Concurrency +category: Concurrency language: en tags: - Data access diff --git a/visitor/README.md b/visitor/README.md index dae82966b..6d812fb96 100644 --- a/visitor/README.md +++ b/visitor/README.md @@ -1,9 +1,6 @@ --- -layout: pattern title: Visitor -folder: visitor -permalink: /patterns/visitor/ -categories: Behavioral +category: Behavioral language: en tags: - Gang of Four