Re: Managing multiple instances



H. S. Lahman wrote:
Responding to Stocks...

When other parts of the application need to access a particular
instance of a specific object they request the object by a type
enumeration and provide the instance number of that object that is
requested. Multiple instances of the same object may be kept in the
data structure. I did not design this and don't believe in "all the
core application classes should inherit from X and they all should be
stored in the SAME data structure" but I have to work with it. So an
object is stored and retrieved according to a class identifier and the
instance number of objects with that class identifer.

OK, but that means you have a fundamental architectural problem. You are going to have to decide whether to change the architecture or bandage the symptoms. Changing the architecture is probably going to result in a substantial "shotgun refactoring".


changing architecture is not a refactoring - its rewriting.
.



Relevant Pages

  • How to find MidTier url from DB tier
    ... In my architecture, I have a mechanism to route user's request for any ... midtier user's request is coming. ...
    (comp.databases.oracle.server)
  • Re: Limit IRP I/O request size
    ... virtual disk but for the moment I just make application architecture and ... Then just split this huge request to small ones in your own code. ... I can't fount what is it. ...
    (microsoft.public.development.device.drivers)
  • Re: Limit IRP I/O request size
    ... virtual disk but for the moment I just make application architecture and ... Then just split this huge request to small ones in your own code. ... Maxim Shatskih, Windows DDK MVP ...
    (microsoft.public.development.device.drivers)
  • Re: Sum query on Organizations
    ... I'll repeat my request ... ... if you want me to offer better advice, ... better idea of your data structure. ...
    (microsoft.public.access.queries)
  • how are requests processed
    ... request executed? ... what is the architecture behind the request from client to ...
    (microsoft.public.sharepoint.portalserver)