Re: question about component integration or assembly



Responding to Liongster...

I am still new to this component concept.
At this stage, I have a question about the concept and the
implementation of the components when they are combined or integrated
or assemblied with other components.

Which component concept is that? B-) Alas, component engineering is taking on as many different methodological views as OOA/D.


If we are a developer of a client application and wants to use
component X and Y.
The definition of component allows components be connected to each
other. I could understand how my client application would be connected
to component X and Y. However how could we connect X to Y, if don't
have the source code of X and Y?

The short answer is that you don't. The component is a module with a particular semantic responsibility that is abstracted by its interface for various clients to use. That interface encapsulates its implementation so that it is none of the clients' business how it delivers on its advertised semantics. So if X needs to talk to Y, then that is a problem for the implementer of X, not the user of X.

IOW, it is best to think of components as a bunch of standalone black boxes that provide logically indivisible services. All the client cares about is the service that the particular component is responsible for providing. So if the client needs the services of both X and Y in some particular sequence, the client should invoke those services directly from both in the proper sequence.


--
There is nothing wrong with me that could
not be cured by a capful of Drano.

H. S. Lahman
hsl@xxxxxxxxxxxxxxxxx
Pathfinder Solutions
http://www.pathfindermda.com
blog: http://pathfinderpeople.blogs.com/hslahman
"Model-Based Translation: The Next Step in Agile Development". Email
info@xxxxxxxxxxxxxxxxx for your copy.
Pathfinder is hiring: http://www.pathfindermda.com/about_us/careers_pos3.php.
(888)OOA-PATH
.



Relevant Pages

  • Re: A/B split testing on PHP built website
    ... responding. ... Ah well,prior to programming, I had quite a lengthy spell in Marketing ... However, if he wants to do something like that, a random A/B split is ... And randomly changing between two sites is even worse - it looks like your client can't make up his mind which he wants. ...
    (comp.lang.php)
  • Re: Trial delays: discovery? Usual thing?
    ... arrested on premises at three am when we were responding to the silent ... His client immediately stated, "But I _am_ guilty. ... Once I was on a jury where the defendant had been witnessed by ... That was why the desperate defense. ...
    (rec.arts.mystery)
  • Re: Retrospect 525 Error
    ... Norm wrote: ... It sometimes says it is Responding ... number of the Client and says "found backup client" ... believe I set it to Never sleep the computer but set a time for Display ...
    (comp.sys.mac.apps)
  • Re: Can you reset a client connecting to a remote Site DC back to
    ... Thanks for responding, but your response doesn't answer the questions. ... However, if the local Site DC's don't respond within 100ms, but responds ... Finally - going back to the original post - is there a way to force a client ... > As to the cache length, this would be only tied to the local DNS cache as it ...
    (microsoft.public.win2000.active_directory)
  • Re: table data link - "add extra field" vs "new table with a key"
    ... "David Gugick" wrote: ... >> thanks for responding. ... a client can have zero or more contact numbers of ...
    (microsoft.public.sqlserver.programming)