From: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
---|---|
To: | josh(at)agliodbs(dot)com |
Cc: | pgsql-hackers(at)postgresql(dot)org, Andrew Hammond <andrew(dot)george(dot)hammond(at)gmail(dot)com> |
Subject: | Re: My honours project - databases using dynamically attached entity-properties |
Date: | 2007-03-12 23:34:01 |
Message-ID: | 45F5E369.20504@commandprompt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Josh Berkus wrote:
> Amdrew,
>
>> I have yet to encounter one, but
>> Josh has more experience, and more varied experience than I do. To me,
>> EAV is a perfect example of ignoring the YAGNI principal.
>
> I've done plenty of applications where part of the specification for the
> application was "User Defined Fields" allowing the users to customize the
> data structure at runtime. This is a very, very common thing; of the 15
> or so commercial applications I implemented from scratch as a consultant
> probably 10 of them had it.
Just to add a note from YAJ, custom fields are unfortunately a
requirement in most apps I have seen, from a CMS to Quickbooks. The
reality is, you don't know everything the person wants to know about a
particular set of data.
Joshua D. Drake
>
> I really don't see any way you could implement UDFs other than EAV that
> wouldn't be immensely awkward, or result in executing DDL at runtime.
>
--
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2007-03-12 23:43:08 | Re: My honours project - databases using dynamically attached entity-properties |
Previous Message | Josh Berkus | 2007-03-12 23:26:55 | Re: My honours project - databases using dynamically attached entity-properties |