Re: My honours project - databases using dynamically attached entity-properties

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: My honours project - databases using dynamically attached entity-properties
Дата
Msg-id 45F5E369.20504@commandprompt.com
обсуждение исходный текст
Ответ на Re: My honours project - databases using dynamically attached entity-properties  (Josh Berkus <josh@agliodbs.com>)
Список 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/



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: My honours project - databases using dynamically attached entity-properties
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: My honours project - databases using dynamically attached entity-properties