silentthread2k
asked on
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
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
If I remember my design patterns correctly, you want the Adapter pattern here. You are creating a data abstraction layer basically.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
.