[FLOW3-general] Finding inherited objects in a repository

Peter Beernink p.beernink at drecomm.nl
Thu Feb 10 12:56:03 CET 2011


Hi Thomas,

On 6-2-2011 22:57, Thomas "Thasmo" Deinhamer wrote
> [...]
>
> Not sure if FLOW3 can do this also with multiple tables.

No, FLOW3 has a very different setup. There all objects are stored in 
about 4 tables (don't have a installation at hand right now).
One of the table (I believe it's 'entities') is used to store all object 
types, with parent objects. The values of all properties are stored in 
an other table, which has a field per datatype.

My guess is that using a XxxxRepository, the part before Repository is 
used to determine which records should be fetched from the entities 
table. So if that is indeed the case I need to make the repository (or 
the underlying code) smarted by checking which objects are child objects.

I think I'll wait till the Doctrine2 integration becomes stable as it 
looks like they have support for it.

Peter


More information about the FLOW3-general mailing list