Re: Searching OO Associations with RDBMS Persistence Models
- From: frebe73@xxxxxxxxx
- Date: 29 May 2006 10:36:57 -0700
What if we replace the database vendor? Must we rewrite allWhat if we replace application programming language. Must we rewrite
the business rules?
all the business rules? Currently changes in programming languages are
more frequent than changes in database vendor. Nothing last for ever.
Besides there are a high level of standardization between database
vendors.
a DBMS is a bucket of bits with some low level rules to manage those bits.How do you define low level? Lets say we have a business rule saying
that the customer name must be unique. Implementing this rule in a RDB
would need less lines of code than implementing the same thing in the
application. Normally something that takes few lines of codes is
considered high level, and something that takes a lot of lines of code
is considered low level.
We can completely eliminate the DBMS and replace it withOf course, but it would take a lot more lines of code. The same could
another of an entirely different form (non Relational for example) and
still have all the business behavior we need.
be said about programming languages or software engineering
philosofies. We can completely eliminate it and replace it with another
of an entirely differnt form (non OO for example) and still have all
the business behavior we need.
that the database is the heart of the system. This is flawed. The heart of theSometing the databse is indeed the heart of the system. Sometimes it is
system is the application code
not.
The database is a detail to be decided at the last possible moment and kept in aWhy does the database need to be in a flexible position? Why does it
position so flexible that it can be swapped out for another at a whim.
need to be swapped out at a whim?
Fredrik Bertilsson
http://frebe.php0h.com
.
- Follow-Ups:
- Re: Searching OO Associations with RDBMS Persistence Models
- From: Robert Martin
- Re: Searching OO Associations with RDBMS Persistence Models
- References:
- Searching OO Associations with RDBMS Persistence Models
- From: Richie
- Re: Searching OO Associations with RDBMS Persistence Models
- From: frebe73
- Re: Searching OO Associations with RDBMS Persistence Models
- From: Robert Martin
- Re: Searching OO Associations with RDBMS Persistence Models
- From: Alfredo Novoa
- Re: Searching OO Associations with RDBMS Persistence Models
- From: Robert Martin
- Searching OO Associations with RDBMS Persistence Models
- Prev by Date: Re: sequence diagram for observer pattern
- Next by Date: Re: Difference between Design and Architecture
- Previous by thread: Re: Searching OO Associations with RDBMS Persistence Models
- Next by thread: Re: Searching OO Associations with RDBMS Persistence Models
- Index(es):
Relevant Pages
|