On 11/16/06, Jon Rothlander <[EMAIL PROTECTED]> wrote:
Here's a real life example that I modified to fit the FullName sample from previous posts... The original code was ported into VB.Net, so the code below is VB. I modified it to remove the code not needed to show how it works, then I modified it to work with our FullName example using a class with properties to give the effect of a data structure.
It would actually be more interesting to see the code that's using this code. We still don't know anything about what the clients look like. You say that the data has to be preserved because of real time interaction with the legacy system -- what's the nature of that communication? Presumably, you have a well-defined interface between the old code and the new code. What the people on this mailing list are suggesting is that you design the new code without regard for the requirements of the old code, and then create transformation classes to handle the details of the actual conversion. -- Curt Hagenlocher [EMAIL PROTECTED] =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com