Ivan Sugerman Wed Aug 22 11:03:12 -0400 2012

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)


Ivan Sugerman Wed Aug 22 23:24:31 -0400 2012

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)