Populate the index.md for the delegate module #324
This commit is contained in:
parent
483db04cef
commit
6d516d5124
@ -1,28 +1,26 @@
|
|||||||
--- # this is so called 'Yaml Front Matter', read up on it here: http://jekyllrb.com/docs/frontmatter/
|
---
|
||||||
layout: pattern # layout must allways be pattern
|
layout: pattern
|
||||||
title: Best Pattern Ever # the properly formatted title
|
title: Delegation
|
||||||
folder: best-pattern-ever # the folder name in which this pattern lies
|
folder: delegation
|
||||||
permalink: /patterns/best-pattern-ever/ # the permalink to the pattern, to keep this uniform please stick to /patterns/FOLDER/
|
permalink: /patterns/delegation/
|
||||||
|
categories: Behavioral
|
||||||
# both categories and tags are Yaml Lists
|
tags:
|
||||||
# you can either just pick one or write a list with '-'s
|
- Java
|
||||||
# usable categories and tags are listed here: https://github.com/iluwatar/java-design-patterns/blob/gh-pages/_config.yml
|
- Difficulty-Beginner
|
||||||
categories: creational # categories of the pattern
|
|
||||||
tags: # tags of the pattern
|
|
||||||
- best
|
|
||||||
- ever
|
|
||||||
- awesome
|
|
||||||
---
|
---
|
||||||
|
|
||||||
**Intent:** Makes your code awesome
|
**Also known as:** Proxy Chains
|
||||||
|
|
||||||

|
**Intent:** It is a technique where an object expresses certain behavior to the outside but in
|
||||||
|
reality delegates responsibility for implementing that behaviour to an associated object.
|
||||||
|
|
||||||
**Applicability:** Use the Best Pattern Ever pattern when
|

|
||||||
|
|
||||||
* you want to be the best
|
**Applicability:** Use the Delegate pattern in order to achieve the following
|
||||||
* you need to ...
|
|
||||||
|
|
||||||
**Real world examples:**
|
* Reduce the coupling of methods to their class
|
||||||
|
* Components that behave identically, but realize that this situation can change in the future.
|
||||||
|
|
||||||
* [Nowhere](http://no.where.com)
|
**Credits**
|
||||||
|
|
||||||
|
* [Design Patterns: Elements of Reusable Object-Oriented Software](http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user