[TYPO3-mvc] ValueObject against Entity
Stefan Frömken
firma at sfroemken.de
Tue Sep 4 17:18:41 CEST 2012
Hi Claus,
hmmm...works perfect in my sample extension. I have only one domainmodel
registered as value object in my extension and marked it as
AggregateRoot. It works without any problems.
Stefan
Am 04.09.2012 17:05, schrieb Claus Due:
> Hi Stefan,
>
> Main difference:
>
> ValueObjects cannot function as aggregate roots.
>
> Cheers,
> Claus
>
> On Sep 4, 2012, at 5:00 PM, Stefan Frömken <firma at sfroemken.de> wrote:
>
>> Hello MVC-Team,
>>
>> I have to write a documentation for your/our Extbase-Team. But I
have a problem to give the user a helping hand when he has to use entity
or a value object.
>> OK...there is a difference regarding the identity, but in my sample
extension I just have created a new domain model based on a value object
and all links have a GET-Parameter keeping the UID of the current
record. So a value object has an identity, too.
>>
>> So...what is the difference?
>>
>> Stefan
>> _______________________________________________
>> TYPO3-project-typo3v4mvc mailing list
>> TYPO3-project-typo3v4mvc at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>
More information about the TYPO3-project-typo3v4mvc
mailing list