Winston Gutkowski wrote:
was there something specific about the pattern that you wanted clarified?
Winston
Yes need to confirm if i am understanding the facade pattern with someone.
Ok... here is what i understand so far
What i understand is that a facade class uses only a part of the system or use it in a particular way
For example a system have the following class:
Class A has method1 and method2
Class B has method3 and method4
If i want to use only part of it... i will use a facade class like this
class facade will have for example
1.method2 of class A and
2.method41 (which uses a method 4 of class B and method 1 of class A)
So am i getting it right?