Re: Object-relational impedence

From: topmind <topmind_at_technologist.com>
Date: Mon, 3 Mar 2008 10:46:09 -0800 (PST)
Message-ID: <83963b67-a294-445f-bb59-ecba13d52024_at_h11g2000prf.googlegroups.com>


On Mar 3, 9:27 am, "Roy Hann" <specia..._at_processed.almost.meat> wrote:
> "JOG" <j..._at_cs.nott.ac.uk> wrote in message
>
> news:0cd61579-0f26-422c-9aec-908ffdea59ff_at_i7g2000prf.googlegroups.com...
>
> > On Mar 3, 2:07 pm, Thomas Gagne <tga..._at_wide-open-west.com> wrote:
> > One thing I would like to avoid
> > (outside of almost flames of course), is the notion that database
> > technology is merely a persistence layer (do people still actually
> > think that?)
>
> Are you kidding?!! You will grow old and die before you find someone not on
> c.d.t. who DOESN'T think that. In the real world you will be thought some
> kind of simpleton/troll/nutcase if you suggest it isn't just a persistence
> layer.
>
> Roy

As the girls say, "It depends on how you use it".

It depends on how you use the DB. In Robert Martin's version of the payroll application, the DB is almost reduced to a dumb filing system ("persistence layer") because the app code does all the work. However, in my version:

http://www.geocities.com/tablizer/payroll2.htm

I *leveraged* the DB so that much if not most of the work is done by the database and queries *instead* of the app code. There's more attribute setup work, but noticeably less app code than Martin's. One "programs" largely by putting attributes in tables instead of writing app code.

One can choose to use the features available from RDBMS, or they can choose to manually program it in app code. Your perspective on what DB's are "for" largely depends on which route you take.

-T- Received on Mon Mar 03 2008 - 19:46:09 CET

Original text of this message