Re: OOP/OOD Philosophy
- From: "Alvin Ryder" <alvin321@xxxxxxxxxxx>
- Date: 10 Jul 2005 18:21:06 -0700
frebe wrote:
> > 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.
Back in the 80s I thought it was reasonable to assume all the database
vendors would have standardized date functions ... 20+ years later is
still hasn't happened.
I was also hoping for standardized primary key generation (sequences),
nope, still waiting ...
Now what were you saying about regular expressions?
> 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.
>
That's strange, in my experience every database is so different I'm
still worrying about everything.
Cheers.
.
- Follow-Ups:
- Re: OOP/OOD Philosophy
- From: frebe
- Re: OOP/OOD Philosophy
- References:
- 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
- From: frebe
- 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
|