Re: Transaction Oriented Architecture (TOA)
- From: Thomas Gagne <tgagne@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Dec 2006 21:48:35 -0500
topmind wrote:
Thomas Gagne wrote:If you change any DDL you're going to explore for SQL. I doubt that if SQL has leaked into the application you'll only be visiting two places. You'll visit every place SQL was affected by the DDL change--if you can find them.
<snip>
In that case then SQL separation is "bad" because it often forces you
to visit 2 different places to make changes: the app code and the SQL
area. If they are together in the same module, then you don't have to
do the Separation Texas Two Step. No hopping around = saved time.
What is the alleged bad scenario that separation protects us from?
<snip>I'm not concerned about single fields like SSN. I'm more concerned with a mapping of an Account class to an account table and their fields. If the account table changes or some of its lesser-used columns moved to another table then I have a maintenance problem. It matters little to me if I'm editing XML configs, Java code, or anything else. Any update that can be localized to the DB only, the happier I am--especially if I don't have to build/ship/system-test a bunch of software.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.
Can you present a specific scenario? If you don't meta-tize the
elements (such as in a data or field dictionary table, or the ugly fad
of XML configs), then such would often be needed if one is dealing with
the same thing. If the Social Security Number (SSN) is stored in the
database, but the app also uses the SSN, then there is likely to be an
unavoidable coupling there.
--
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
- Re: Transaction Oriented Architecture (TOA)
- From: Thomas Gagne
- Re: Transaction Oriented Architecture (TOA)
- From: topmind
- Transaction Oriented Architecture (TOA)
- Prev by Date: Re: Transaction Oriented Architecture (TOA)
- Next by Date: book recommendation for UML
- Previous by thread: Re: Transaction Oriented Architecture (TOA)
- Next by thread: Re: Transaction Oriented Architecture (TOA)
- Index(es):
Relevant Pages
|