What design pattern should I used for this? Bridge, Adapter, Facade, or something else?

It consists of 3 parts.....

a- A database with past MLB baseball scores
b- [Program to be built, middle man between a and c]
c- Several apps that contain picks

Program "c" will call program "b" with a pick.
Program "b" will check in the database "a" if that pick was a winner
Program "b" returns to program "c" the result

Other info: I'm building this in C# using .net framework 2.0
silentthread2kSenior Software EngineerAsked:
Who is Participating?
 
Kevin CrossConnect With a Mentor Chief Technology OfficerCommented:
Unless I misunderstood and program A represents your database layer (Adapter) already, then program B may be a Facade or a simplication of the interface to something like checkPick(...) that can be utilized easily across your different applications.  

Hope that helps.  I figure this is homework or learning of some kind, so hopefully I explained a enough --- if not, please feel free to ask and we can try to guide you through, so that you have a good understading...
0
 
Kevin CrossChief Technology OfficerCommented:
If I remember my design patterns correctly, you want the Adapter pattern here.  You are creating a data abstraction layer basically.  
0
 
Carlos VillegasConnect With a Mentor Full Stack .NET DeveloperCommented:
Well, I think that it is a Three-tier architecture:
Data, Application and Presentation

Check Wikipedia:
http://en.wikipedia.org/wiki/3-tier_architecture
0
 
silentthread2kSenior Software EngineerAuthor Commented:
.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.