Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OOP Design
Message
From
18/03/1999 08:15:04
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00198504
Message ID:
00199134
Views:
17
>Hi -
>
>I am working on (struggling thru!) my first real abstract OOP project. I have a 'mediator' that controls 3 processes. Everything was humming along fine until I realized that in the last process (called Updator - where various tables and fields get updated) there are *multiple* items to be updated. These items are not necessarily in the same table, or even in the same *type* of table (could be Access, Oracle etc.) I could need to connect to these tables via VFP, ODBC, ADO etc.
>
>I'm not sure design-wise what is the best way to generically handle this situation. At this point, my stumbling block is not the fact that there are different types of data that I am dealing with, but the fact that I have to go thru the update process MULTIPLE times. I'm not sure generically how to set this up.
>

As for the different types of data you have to access you can use a facade and/or strategy design patterns

as for the "updator" how do you get the multiple items there in the first place?

Arnon
Previous
Reply
Map
View

Click here to load this message in the networking platform