[TYPO3-mvc] How to load a list of value objects?

François Suter fsu-lists at cobweb.ch
Mon Apr 18 12:04:43 CEST 2011


Hi Franz,

> I know that there's a statement that any model having a repository has
> to be a aggregate root, but I can't second this. This might be the case
> in theory, but there are so many cases where you have to fill select
> boxes for forms/filters etc. where it's quite handy to have a repository
> for those models. And as long as there is no other resources friendly
> way to directly fetch all available valueObjects from the aggregate
> roots (looping over thousands of aggregate roots and collecting the
> valueObjects is not really an option on larger projects) I'll create my
> repository, no matter what others say.

That's my feeling too ;-)

I still would have found interesting to have opinions from the 
"creators". Now maybe this question should be asked in a FLOW3 ML.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-project-typo3v4mvc mailing list