This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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
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