Subject: Model Setup for EAV structure
What is the best way to link tables in an EAV table structure so I can retrieve the entity and all of its attributes/values?
The table structure is something like. person (entity) personAttributes (attributes) personAttributeVarchar (attribute values) personAttributeText (attribute values) personAttributeInt (attribute values)
I found this example using a Ruby active record with EAV pattern. Can this be replicated using php active record?
https://github.com/kostyantyn/example_active_record_as_eav/tree/master/app/models
(1-1/1)
June 27 2010
July 20, 2014
Subject: Model Setup for EAV structure
What is the best way to link tables in an EAV table structure so I can retrieve the entity and all of its attributes/values?
The table structure is something like.
person (entity)
personAttributes (attributes)
personAttributeVarchar (attribute values)
personAttributeText (attribute values)
personAttributeInt (attribute values)