Re: Custom Fields Database Architecture

From: Richard Broersma <richard(dot)broersma(at)gmail(dot)com>
To: Sim Zacks <sim(at)compulab(dot)co(dot)il>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Custom Fields Database Architecture
Date: 2009-06-16 14:51:24
Message-ID: 396486430906160751k7a2eefbeve250a37f12d9307c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Jun 15, 2009 at 10:21 PM, Sim Zacks<sim(at)compulab(dot)co(dot)il> wrote:

> From the user's perspective: If you design an application for me and I
> want to add a new data field or a new form, should I have to call you
> back and pay your exorbitant consulting fees? I would prefer to pay a
> little bit more at the beginning and be able to add what I want into the
> framework that was already built.

The problem with this approach is that it becomes a "slippery slope"
for the client. We have no control over what they do with this
design. So you give the client an EAV which they overuse. They call
you back anyway because they amassed redundant attributes keys many
have nearly identical key names. The client no long knows which of
the keys is the "most" correct key holding the data they want. And in
the keys they do have, the values have non-nonsensical data.

It is much easier to fix the former problem. It extremely painful to
fix the latter.

--
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2009-06-16 14:52:55 Re: pg_relation_size, relation does not exist
Previous Message Frank Heikens 2009-06-16 14:26:09 Re: pg_relation_size, relation does not exist