CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Facade Pattern

  1. #1
    Join Date
    Aug 2005
    Posts
    98

    Facade Pattern

    http://www.allapplabs.com/java_desig...de_pattern.htm

    Code:
    package structural.facade;
    
    public class FinishedGoodsStore implements Store {
      	public Goods getGoods() {
    FinishedGoods finishedGoods = new FinishedGoods();
    return finishedGoods;
    }
    }// End of class
    What is finishedgoods here?
    if it is a class,Why it doesn't define in that page:
    http://www.allapplabs.com/java_desig...de_pattern.htm


    Please explain about facade pattern by an simply example thanks

  2. #2
    Join Date
    Apr 2002
    Location
    Egypt
    Posts
    2,210

    Re: Facade Pattern

    finishedgoods here is just a class in that implements Goods interface as explained in the article. The author of the article did not show the code of this class because it does not matter in the context of explaining the pattern itself.
    check this Wikipedia article. It may help.
    Hesham A. Amin
    My blog , Articles


    <a rel=https://twitter.com/HeshamAmin" border="0" /> @HeshamAmin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured