Re: Transaction Oriented Architecture (TOA)
- From: Thomas Gagne <tgagne@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Dec 2006 07:02:25 -0500
topmind wrote:
H. S. Lahman wrote:Eliminating SQL in the application in TOA/TOP isn't about database vendor independence, its about good design and maintainability.
Responding to Gagne...
It seems to me the article was most of the way there when it proposes
things like isolating SQL so it is not embedded in the problem solution
I have to disagree with such advice. Isolating SQL is oversold. One
does not swap database vendors often enough to make it worthwhile.
Maybe if you sell a product that is designed to be used by multiple
DB's, such makes sense; but not for most custom apps. It creates more
work and more red-tape. (We have spent gazillion messages on this topic
before.)
Coupling is a relative term, not subjective--similar to a noise ratio. Coupling describes the interdependence between two related objects. Low coupling is realized when significant changes can be made to one object without affecting the other. High coupling indicates changes can not be made to one without requiring changes to another. In the case of OO and DB, when a mapping exists between the two, the nearer that mapping approaches 1:1 the more tightly coupled the application and DB are. In a 1:1 mapping nothing in the DB can be changed without affecting the application, nor can anything be changed in the application data model without affecting change in the DB.
and emphasizing low coupling between modules.
I've found "coupling" to be a rather subjective property such that it
is a nearly useless catch-phrase these days. (That is until the point
somebody defines it clearly and not tied to subjective criteria, such
as what app part is more likely to change.)
--
Visit <http://blogs.instreamfinancial.com/anything.php> to read my rants on technology and the finance industry.
.
- Follow-Ups:
- Re: Transaction Oriented Architecture (TOA)
- From: topmind
- Re: Transaction Oriented Architecture (TOA)
- References:
- Transaction Oriented Architecture (TOA)
- From: Thomas Gagne
- Re: Transaction Oriented Architecture (TOA)
- From: H. S. Lahman
- Re: Transaction Oriented Architecture (TOA)
- From: topmind
- Transaction Oriented Architecture (TOA)
- Prev by Date: Re: Transaction Oriented Architecture (TOA)
- Next by Date: Re: Transaction Oriented Architecture (TOA)
- Previous by thread: Re: Transaction Oriented Architecture (TOA)
- Next by thread: Re: Transaction Oriented Architecture (TOA)
- Index(es):