[TYPO3-team-core-v5] RFC: Open question on support for associative array properties in persistence

Karsten Dambekalns karsten at typo3.org
Mon Nov 24 12:30:04 CET 2008


Hi.

Bastian Waidelich wrote:
>> Well, lazy loading should be applied only if needed, not the other way 
>> around. :)
> 
> Ok, lets I have 3 Blogs with 10000 posts each. I _do_ need lazy loading. 
> How do I apply it?

Currently you don't. Anyone wants to implement it? ;)

> ok, but DDD apart.. What if you want to display all comments from author 
> x of posts tagged with "PHP" in Blog y?

Strictly following DDD this would mean some more repositories and 
inter-aggregate linking.

> But now that I think about it.. wouldn't that be nice:

Hm. I don't know, sounds a little too magic right now. Anyway, before we 
can do that, we need to have some more of the basic stuff working...

> But back to the actual question (sorry, I got carried away ;) If you 
> store an object with an array-property in the CR i would preserve keys 
> unless stated differently.

Ok.


Regards,
Karsten


More information about the TYPO3-team-core-v5 mailing list