|
|
|
|
|
by arethuza
4481 days ago
|
|
I've also seen applications basically just assign a fixed number of additional columns on the relevant tables for custom fields - although this approach doesn't win any awards for elegance it can be pretty straightforward. From what I've seen, applications that use EAV tend to evolve to suffer from bad cases of the "inner platform effect": http://en.wikipedia.org/wiki/Inner-platform_effect NB There is nothing "wrong" with using EAV - just that it seems prone to misuse (a bit like XML). |
|
EAV is a sort of inner platform thing I agree, but the correct solution i.e a document store with full field level indexing that works with enterprise loads doesn't exist (yet). CouchDB was promising on that front but didn't go all the way.
XML is fine. Just don't stick it in database columns (my favourite chunk of pain!)