Pattern Question
- From: russell@xxxxxxxxxxxxx
- Date: 27 Nov 2006 08:33:11 -0800
I am having a discussion with someone in my office about two patterns.
plug-in and registry.
What we are building is a global definition of what type to use in a
particular implementation. This makes it sound like a good match to
plug-in but here is my problem. The way we are doing it allows for the
particular implementations to inherit from each other. In fact core
product types can be replaced via this definition for a particular
implmentation.
My concern with plug-in is that it in the Patterns book I am using
(Martin Fowler's Patterns of Enterprise Application Architecture) talks
about a plug-in pattern as Linking types at configuration time not
compile time. What we are doing does not support the abstraction of
no compile time linking. Is that big enough to though it out of the
pattern?
Registry somewhat imples that you are accessing existing instances of
types. If we are mainly building new instances does that violate that
pattern too.
What you would call the application component defined above?
.
- Follow-Ups:
- Re: Pattern Question
- From: Nick Malik [Microsoft]
- Re: Pattern Question
- From: raxitsheth2000
- Re: Pattern Question
- Prev by Date: Re: Delta
- Next by Date: Re: Auto selection
- Previous by thread: Half user config and half client prog implemented
- Next by thread: Re: Pattern Question
- Index(es):
Relevant Pages
|