Skip to content

Commit 3dc6b81

Browse files
committed
Merge pull request iluwatar#191 from mafagafogigante/readme-check
Fixed several typos in the README.
2 parents 185f296 + 8a4911a commit 3dc6b81

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Structural patterns are concerned with how classes and objects are composed to f
4747

4848
### Behavioral Patterns
4949

50-
Behavioral patterns are concerned with algorithms and the assignment of responsibilites between objects.
50+
Behavioral patterns are concerned with algorithms and the assignment of responsibilities between objects.
5151

5252
* [Chain of responsibility](#chain-of-responsibility)
5353
* [Command](#command)
@@ -228,7 +228,7 @@ A programming idiom is a means of expressing a recurring construct in one or mor
228228
**Applicability:** Use Decorator
229229
* to add responsibilities to individual objects dynamically and transparently, that is, without affecting other objects
230230
* for responsibilities that can be withdrawn
231-
* when extension by subclassing is impractical. Sometimes a large number of independent extensions are possible and would produce an explosion of sublasses to support every combination. Or a class definition may be hidden or otherwise unavailable for subclassing
231+
* when extension by subclassing is impractical. Sometimes a large number of independent extensions are possible and would produce an explosion of subclasses to support every combination. Or a class definition may be hidden or otherwise unavailable for subclassing
232232

233233
## <a name="facade">Facade</a> [&#8593;](#list-of-design-patterns)
234234
**Intent:** Provide a unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier to use.
@@ -283,7 +283,7 @@ A programming idiom is a means of expressing a recurring construct in one or mor
283283

284284
![alt text](./service-locator/etc/service-locator.png "Proxy")
285285

286-
**Applicability:** The service locator pattern is applicable whenever we want to locate/fetch various services using JNDI which, typically, is a redundant and expensive lookup. The service Locator pattern addresses this expensive lookup by making use of caching techniques ie. for the very first time a particular service is requested, the service Locator looks up in JNDI, fetched the relavant service and then finally caches this service object. Now, further lookups of the same service via Service Locator is done in its cache which improves the performance of application to great extent.
286+
**Applicability:** The service locator pattern is applicable whenever we want to locate/fetch various services using JNDI which, typically, is a redundant and expensive lookup. The service Locator pattern addresses this expensive lookup by making use of caching techniques ie. for the very first time a particular service is requested, the service Locator looks up in JNDI, fetched the relevant service and then finally caches this service object. Now, further lookups of the same service via Service Locator is done in its cache which improves the performance of application to great extent.
287287

288288
**Typical Use Case:**
289289

@@ -686,7 +686,7 @@ validation and for building to order
686686
**Applicability:** Use the Front Controller pattern when
687687
* you want to encapsulate common request handling functionality in single place
688688
* you want to implements dynamic request handling i.e. change routing without modifying code
689-
* make web server configution portable, you only need to register the handler web server specific way
689+
* make web server configuration portable, you only need to register the handler web server specific way
690690

691691
**Real world examples:**
692692
* [Apache Struts](https://struts.apache.org/)
@@ -711,7 +711,7 @@ validation and for building to order
711711
![alt text](./business-delegate/etc/business-delegate.png "Business Delegate")
712712

713713
**Applicability:** Use the Business Delegate pattern when
714-
* you want loose couping between presentation and business tiers
714+
* you want loose coupling between presentation and business tiers
715715
* you want to orchestrate calls to multiple business services
716716
* you want to encapsulate service lookups and service calls
717717

0 commit comments

Comments
 (0)