phenam Posted November 10, 2010 Share Posted November 10, 2010 Hi all, another question I was hoping you vets could give me some tips on. I have an object which has 3 different sources (SQL, cURL, XML). I usually use a datamapper to retrieve data from the SQL DB, so it was simple. With 3 sources, should I pack them all into the 1 datamapper, or should there be 3 datamappers with some sort of layer over them, so that the controller just needs to make one call to get an array of objects with data from all 3 sources? Thanks! Link to comment https://forums.phpfreaks.com/topic/218261-datamapper-with-multiple-data-sources/ Share on other sites More sharing options...
littledave Posted September 29, 2011 Share Posted September 29, 2011 I would be interested if you ever found/got an answer to this question. If you did, how do you deal with sorting the data? Regards Dave Link to comment https://forums.phpfreaks.com/topic/218261-datamapper-with-multiple-data-sources/#findComment-1274112 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.