Re: design question( the app is written in c# ;) )
- From: "Cowboy \(Gregory A. Beamer\)" <NoSpamMgbworld@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Feb 2008 12:17:23 -0600
If you want to replace a complete component, then separation will work well.
If you can put things together in a single library, then it need not be (ie,
add classes). Plug and play is certainly easier if interafaces are in a
different project. For deploying, you might still wish to compile the
interface assembly into the other assembly when you get close to deploying.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box!
|
*************************************************
"parez" <psawant@xxxxxxxxx> wrote in message
news:dec6be63-5016-4b03-a19a-dd1a8fbd145b@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Feb 28, 10:12 am, "Cowboy \(Gregory A. Beamer\)"
<NoSpamMgbwo...@xxxxxxxxxxxxxxxxxx> wrote:
The extraction of interfaces is most useful if you are going to create a
completely different layer B for other applications. If you are simply
going
to version with additional "providers", you can do that in the same
library.
It really depends on where you are going with this one.
One time it is a great idea to move out into its own library is a case
where
you have multiple clients who each need a slightly different version of
the
library, but do not want to ship other client's implementations with the
library. You will generally go to a config driven provider model in this
case, however, so you can test multiple implementations with simple
configuration changes.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box!
|
*************************************************"parez"
<psaw...@xxxxxxxxx> wrote in message
news:53c3bd44-ebd0-4d82-a6cd-00b2c0d95211@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Layer A is on top on Layer B.
Layer A talks to layer B using the interfaces defined in B. For input
and return values.
My question is should i take out the interfaces from B and put it in a
separate project?
I am trying to make component B resusable and also replaceable if need
be.
1)If I use interfaces defined in B then it will make it resusable.
2)If i separate the interfaces in to a different project then it will
make B replacable by a component C which uses the same interafaces..
Correct me if i am wrong.
so 2 should be the way to go.
.
- References:
- design question( the app is written in c# ;) )
- From: parez
- Re: design question( the app is written in c# ;) )
- From: Cowboy \(Gregory A. Beamer\)
- Re: design question( the app is written in c# ;) )
- From: parez
- design question( the app is written in c# ;) )
- Prev by Date: Re: Saving linq entity object in C: drive
- Next by Date: Re: Webbrowser mht file
- Previous by thread: Re: design question( the app is written in c# ;) )
- Next by thread: Re: design question( the app is written in c# ;) )
- Index(es):
Relevant Pages
|