[TYPO3-team-core-v5] RFC: Open question on support for associative array properties in persistence
Bastian Waidelich
bastian at typo3.org
Sun Nov 16 16:35:24 CET 2008
Bastian Waidelich wrote:
> Ok, lets I have 3 Blogs
..."lets say" I meant.
> Let's take a common example, a user with one or more images.
Well, that was probably not the best example cause you wouldn't want to
lazy-load the images. But that brings me to another point:
I think it would be great if the querying of sub-elements would be the
same no matter if they are in memory or on the database.
Or the other way around: $user->groups['xyz'] would load the
corresponding group from db - if not already done - and return it and
unset($user->groups['xyz']) would remove the relation..
My thoughts are based on blatant half knowledge, but I hope you can put
shed some light on it ;)
Bastian
btw: I'm surprised that there are no more reactions to your post but
maybe this topic is still a bit abstract for others too!?
More information about the TYPO3-team-core-v5
mailing list