[TYPO3-mvc] How to load a list of value objects?
Henjo Hoeksma
me at henjohoeksma.nl
Wed Apr 13 16:35:40 CEST 2011
On 2011-04-13 12:10:21 +0200, François Suter said:
> Hi Henjo,
>
>> If you really need to create lists of value object wouldn't they
>> actually be entities?
>>
>> Usually when I need to display 'value objects' without the relation to
>> an object I approach them as being entities.
>
> Thanks for your input.
>
> However Extbase clearly makes a difference between entities and value
> objects. Furthermore I read a book on Domain-Driven Design which
> clearly explains the difference and it seems that this was duly
> considered by the brains behind FLOW3/Extbase. So I would quite like to
> hear from them how value objects are supposed to be handled properly :-)
>
> Cheers
Fully agree on that. If I recall correctly I read something Jochen
wrote on 'no problem on creating a repo for Value objects' - although
please don't pin me to it!
+1 for more info on the Value objects. Have some issues myself
+1 on sticking to proper domain modeling.
H.
More information about the TYPO3-project-typo3v4mvc
mailing list