Re: OOP/OOD Philosophy
- From: "frebe" <fredrik_bertilsson@xxxxxxxxxxx>
- Date: 9 Jul 2005 23:12:33 -0700
> So you are saying that the paradigm can couple out to the other modules,
It is almost impossible to decouple the database paradigm from the
other modules, because changes in paradigm moves the border between
the modules. If you have a high-level pardigm (relational) and switch
to a low-level (hierachical) it is possible, because you know where the
borders are and you know what type of logic that should be classified
as "business" and "persistence". But the opposite is much harder.
For example, it is resonable to think that the next generation of
databases would have more (standardized) support for data validation
using regular expressions etc. Now we classify validation as "business"
logic. But in the future it would most likely be classified as
"persistence" logic. Do you put your validation code in the persistence
layer today, in an attempt to be prepared for the future?
> even when the actual technology is insulated.
The actual technology is not insulated. By using interfaces like JDBC
you don't need to have any idea about the underlying technology. It may
be everything from text files to DB2.
When you do software development you can't decouple from everything. I
would say that os independence is much more important than database
paradigm independence. But do you discourage people from using C# in
the same way as you discourage people from writing coupled SQL
statements? And if we choose java, we are still coupled to Sun. Every
decision about decoupling have to be resonable.
Fredrik Bertilsson
http://butler.sourceforge.net
.
- Follow-Ups:
- Re: OOP/OOD Philosophy
- From: Alvin Ryder
- Re: OOP/OOD Philosophy
- From: Michael Feathers
- Re: OOP/OOD Philosophy
- From: Phlip
- Re: OOP/OOD Philosophy
- References:
- Re: OOP/OOD Philosophy
- From: Nick Malik [Microsoft]
- Re: OOP/OOD Philosophy
- From: topmind
- Re: OOP/OOD Philosophy
- From: Robert C . Martin
- Re: OOP/OOD Philosophy
- From: topmind
- Re: OOP/OOD Philosophy
- From: Robert C . Martin
- Re: OOP/OOD Philosophy
- From: frebe
- Re: OOP/OOD Philosophy
- From: Robert C . Martin
- Re: OOP/OOD Philosophy
- From: frebe
- Re: OOP/OOD Philosophy
- From: Michael Feathers
- Re: OOP/OOD Philosophy
- From: frebe
- Re: OOP/OOD Philosophy
- From: Phlip
- Re: OOP/OOD Philosophy
- From: Michael Feathers
- Re: OOP/OOD Philosophy
- From: frebe
- Re: OOP/OOD Philosophy
- From: Phlip
- Re: OOP/OOD Philosophy
- From: frebe
- Re: OOP/OOD Philosophy
- From: Phlip
- Re: OOP/OOD Philosophy
- Prev by Date: Re: OOP/OOD Philosophy
- Next by Date: Re: OO Design induces an existential crisis
- Previous by thread: Re: OOP/OOD Philosophy
- Next by thread: Re: OOP/OOD Philosophy
- Index(es):
Relevant Pages
|