Click here to Skip to main content
16,005,121 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: The best architecture solution for working with multiple data sources Pin
Urs Enzler1-Jul-07 23:35
Urs Enzler1-Jul-07 23:35 
GeneralRe: The best architecture solution for working with multiple data sources Pin
rokford2-Jul-07 2:40
rokford2-Jul-07 2:40 
GeneralRe: The best architecture solution for working with multiple data sources Pin
Urs Enzler2-Jul-07 3:09
Urs Enzler2-Jul-07 3:09 
GeneralRe: The best architecture solution for working with multiple data sources Pin
rokford2-Jul-07 15:03
rokford2-Jul-07 15:03 
GeneralRe: The best architecture solution for working with multiple data sources Pin
Urs Enzler2-Jul-07 21:09
Urs Enzler2-Jul-07 21:09 
GeneralRe: The best architecture solution for working with multiple data sources Pin
rokford5-Jul-07 13:01
rokford5-Jul-07 13:01 
GeneralRe: The best architecture solution for working with multiple data sources Pin
Urs Enzler8-Jul-07 2:59
Urs Enzler8-Jul-07 2:59 
AnswerRe: The best architecture solution for working with multiple data sources Pin
nitikin2-Jul-07 0:58
nitikin2-Jul-07 0:58 
The way I think:

You need a data provider factory, which returns an IDataSource. Any new DataSource provider would be implement the IDataSource. Once you have a default implemention (base class) of the the IDataSource, you could effectively use the provider pattern to return the datasource.

Effectively, the client would talk with the factory to return the appropriate data source provider.

Now, how you talk with the factory host, could be decided on the performance, deployment plans, ease of applying updates etc. A simple webservice hosting the above mentioned factory should get your started ?

But again, it does not sound like a good idea to have one webservice datasource provider for all the applications you use unless its the same datasource which is being used.



namaste,
Nitin Koshy
http://devwaves.blogspot.com
...and I thought I knew

GeneralRe: The best architecture solution for working with multiple data sources Pin
rokford2-Jul-07 2:44
rokford2-Jul-07 2:44 
AnswerRe: The best architecture solution for working with multiple data sources Pin
led mike2-Jul-07 4:55
led mike2-Jul-07 4:55 
GeneralRe: The best architecture solution for working with multiple data sources Pin
rokford2-Jul-07 15:06
rokford2-Jul-07 15:06 
AnswerRe: The best architecture solution for working with multiple data sources Pin
Pete O'Hanlon2-Jul-07 9:49
mvePete O'Hanlon2-Jul-07 9:49 
GeneralRe: The best architecture solution for working with multiple data sources Pin
rokford2-Jul-07 17:32
rokford2-Jul-07 17:32 
GeneralRe: The best architecture solution for working with multiple data sources Pin
Pete O'Hanlon2-Jul-07 22:43
mvePete O'Hanlon2-Jul-07 22:43 
GeneralRe: The best architecture solution for working with multiple data sources Pin
rokford4-Jul-07 1:46
rokford4-Jul-07 1:46 
GeneralRe: The best architecture solution for working with multiple data sources Pin
led mike3-Jul-07 4:50
led mike3-Jul-07 4:50 
GeneralRe: The best architecture solution for working with multiple data sources Pin
rokford4-Jul-07 1:15
rokford4-Jul-07 1:15 
QuestionWhat is the best possible Design Pattern Pin
JoeContreras27-Jun-07 13:01
JoeContreras27-Jun-07 13:01 
AnswerRe: What is the best possible Design Pattern Pin
nitikin2-Jul-07 1:05
nitikin2-Jul-07 1:05 
GeneralRe: What is the best possible Design Pattern Pin
JoeContreras2-Jul-07 7:07
JoeContreras2-Jul-07 7:07 
QuestionLibrary Architecture for Multiple Applications and Multiple Developers [modified] Pin
brmorris26-Jun-07 15:42
brmorris26-Jun-07 15:42 
AnswerRe: Library Architecture for Multiple Applications and Multiple Developers Pin
Chris-Kaiser10-Jul-07 16:40
Chris-Kaiser10-Jul-07 16:40 
Questionvirtual functions Pin
tom groezer25-Jun-07 9:42
tom groezer25-Jun-07 9:42 
AnswerRe: virtual functions Pin
Pete O'Hanlon25-Jun-07 10:24
mvePete O'Hanlon25-Jun-07 10:24 
GeneralRe: virtual functions Pin
nitikin2-Jul-07 1:23
nitikin2-Jul-07 1:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.