View Single Post
  #1 (permalink)  
Old 04-07-2008, 11:48 AM
spikey spikey is offline
Member
 
Join Date: Apr 2008
Posts: 2
spikey is on a distinguished road
Opinions on best approach for objects
Hi Guys

First post... yay!

I have a 3rd party API that returns objects according to its own model. I also have my own model to encapsulate the 3rd party objects from the rest of the app... what do people normally do to convert these objects into their own domain?

I was thinking an adapter pattern, wrapping the 3rd party object.

Cheers in advance!
Reply With Quote
Sponsored Links