Proxy pattern grammar fixes
This commit is contained in:
parent
11efae38f2
commit
ebcc857664
@ -20,7 +20,7 @@ Provide a surrogate or placeholder for another object to control access to it.
|
|||||||
|
|
||||||
## Explanation
|
## Explanation
|
||||||
|
|
||||||
Real world example
|
Real-world example
|
||||||
|
|
||||||
> Imagine a tower where the local wizards go to study their spells. The ivory tower can only be
|
> Imagine a tower where the local wizards go to study their spells. The ivory tower can only be
|
||||||
> accessed through a proxy which ensures that only the first three wizards can enter. Here the proxy
|
> accessed through a proxy which ensures that only the first three wizards can enter. Here the proxy
|
||||||
@ -142,7 +142,7 @@ applicable.
|
|||||||
* Protection proxy controls access to the original object. Protection proxies are useful when
|
* Protection proxy controls access to the original object. Protection proxies are useful when
|
||||||
objects should have different access rights.
|
objects should have different access rights.
|
||||||
|
|
||||||
## Typical Use Case
|
Typically, the proxy pattern is used to
|
||||||
|
|
||||||
* Control access to another object
|
* Control access to another object
|
||||||
* Lazy initialization
|
* Lazy initialization
|
||||||
|
Loading…
x
Reference in New Issue
Block a user