• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Facade pattern

 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i have being going through the post, and some people have tried or implemented facade pattern for the client gui. i went and read through the design patterns book and got the idea for facade pattern. I feel that its an interesting prospect to implement Facade Pattern for the clinet GUI part.
But can anyone tell me as to what have they done to implement that. i mean some design idea.
so that i can have a start at that
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well we know we have an interface that has all the public methods of the Data class, so we could make a class that takes an instance of this interface in it's constructor. Then we can make really nice methods that calls the interface methods to do our "Booking", "Searching", et al. So now all the client needs is an instance of this new class, which will have a reference to an interface, which might end up being either local or remote mode. But the client never has to know this.
Hope that leads you down the path.
Mark
 
Siddharth Mehrotra
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi mark,
Thanks buddy, I had to wait very long for some sight on this matter.
I just need one last favour from you.
i have posted my design also on this board.
I would like to have some reviews from you on it.
http://www.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=25&t=002165

It will be a great help.
Thanking you in anticipation.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic