• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

facade pattern examples?

 
agape jurose
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
im learning about facade pattern and could anyone tell me where do we see examples ? examples using uml ? what are pro and cons ? thanks
 
Jelle Klap
Bartender
Posts: 1952
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's really quite a simple pattern to grasp and to implement. A Facade provides a simple API that shields its user from the complexities of a more fine grained API, or set of APIs, which are more difficult to use. The advantage is ease of use, because the Facade's API is coarse grained. That is, however, also the main drawback: loss of flexibility / fine grained control over the shielded API(s). Code samples are easy to find using good ol'Google, but the Wikipedia entry does an okay job.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic